[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
Или почти все, а может еще больше запутает. Вобщем если что спрашивай.
typedef struct{
char c;
int i;
char abc[10];
}t_one;
void main(){
t_one two, five;
char i;
two.c=1;
two.i=2;
two.abc[5]=5;
WriteBlock((char*)&two, sizeof(t_one);
ReadBlock((char*)&five, sizeof(t_one);
i=five.abc[1];
}
и т д
т.е. EEPROM это просто массив памяти который приводиться к типу.
Всего, Иван.
E-mail: info@telesys.ru