• Question about structs and unions
    Hello there, I've faced a problem that I couldn't solve. I hope you people can help me. I want to memcpy to a struct the datum in an array. I've done it before, and it goes like this: memcpy...
  • Extern struct
    Hi all: I am trying to use data from a structure in different modules ( extern struct), with no success. Here's what I am doing: main.c: #include "main.h" struct my_struct new_struct; void...
  • Extern STRUCT..
    Hi, I have a big problem. I have a multyple file included into the project, and in the main.c i've declared a struct like this: struct{ unsigned char x; unsigned char y; unsigned char z; }prova;...
  • about structs
    Hi, I am new to C and Keil, However I wish to know more about the c programming in keil especially developing programs for STM32. My question is about USART1. I see that in file named stm32f10x_map...
  • Define struct on external EEPROM
    Hello all, I'm facing a little understanding problem. At my design I use the AT89C51RD2 micro and also two external memory devices – SRAM and parallel EEPROM. At my code I have several structs that...