| Nano100BN Series BSP V3.03.002 The Board Support Package for Nano100BN Series

NuEdu-Basic01_EEPROM.h
Go to the documentation of this file.
1 /**************************************************************************/
12 #ifndef __NuEdu_Basic01_EEPROM_H__
13 #define __NuEdu_Basic01_EEPROM_H__
14
15 #ifdef __cplusplus
16 extern "C"
17 {
18 #endif
19
20
33 void I2C_EEPROM_Init(uint8_t u8Divider);
34 void I2C_EEPROM_Write(uint16_t u16Address, uint8_t u8Data);
35 uint8_t I2C_EEPROM_Read(uint16_t u16Address);
36
37 /* end of group Nano130_Basic01_FUNCTIONS EEPROM Exported Functions */
39 /* end of group NuEdu-SDK-Nano130_Basic01 Nano130_Basic01 Library */
41 /* end of group NANO100_Library NANO100 Library */
43
44
45 #ifdef __cplusplus
46 }
47 #endif
48
49 #endif //__NuEdu_Basic01_EEPROM_H__
50
51 /*** (C) COPYRIGHT 2013-2014 Nuvoton Technology Corp. ***/
I2C_EEPROM_Read
uint8_t I2C_EEPROM_Read(uint16_t u16Address)
This function do the I2C data reading from EEPROM device.
Definition: NuEdu-Basic01_I2C_EEPROM.c:260
I2C_EEPROM_Write
void I2C_EEPROM_Write(uint16_t u16Address, uint8_t u8Data)
This function do the I2C data writing to EEPROM device.
Definition: NuEdu-Basic01_I2C_EEPROM.c:234
I2C_EEPROM_Init
void I2C_EEPROM_Init(uint8_t u8Divider)
This function initializes the I2C module, bit-rate = 100 kHz and enable the corresponding interrupt.
Definition: NuEdu-Basic01_I2C_EEPROM.c:99