148
Libraries
© 2008 Conrad Electronic
I2C_Write(data);
// write Data
I2C_Stop();
AbsDelay(
5
);
// delay for EEPROM Write Cycle
// read data from 24C64 (8k x 8) EEPROM
I2C_Start();
I2C_Write(
0xA0
);
// DEVICE ADDRESS : A0
I2C_Write(address>>
8
);
// HIGH WORD ADDRESS
I2C_Write(address);
// LOW WORD ADDRESS
I2C_Start();
// RESTART
I2C_Write(
0xA1
);
// DEVICE ADDRESS : A1
EEPROM_data=I2C_Read_NACK();
I2C_Stop();
Msg_WriteHex(EEPROM_data);
}
6.9
Interrupt
The Controller provides a multitude of interrupts. Some of them are used for system functions and
are thus not available to the user. The following interrupts can be utilized by the user.
Table: Interrupts
Содержание C-Control Pro Mega Series
Страница 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Страница 9: ...VIII Inhalt 2008 Conrad Electronic ...
Страница 10: ...Part 1 ...
Страница 17: ...Part 2 ...
Страница 23: ...Part 3 ...
Страница 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Страница 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Страница 58: ...Part 4 ...
Страница 91: ...82 IDE 2008 Conrad Electronic ...
Страница 92: ...Part 5 ...
Страница 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Страница 136: ...Part 6 ...
Страница 231: ...Part 7 ...
Страница 240: ......