Hi.
I have make a structure i eeprom
like:
eeprom struct eeprom_structure {
char stid[32]; // 16 holder register
int add;
int copw;
int powi;
int prot;
char SIP[4]; // 4 holder register
int prpo;
int funk;
int lock;
}IOG;
it is not finish , I have 320 holding register
to init every value is easy.
but I want read data from a pointer
like
temp = (*IOG_pointer + 10), mean I read the value of adresse + 10
It is easy to do with a buffer [320] .. but I can not see how with a structure
I use Codevision but it is not a question of compiler.
Thank you
Thierry