![]() |
NANO100_BSP V3.04.002
The Board Support Package for Nano100BN Series
|
NuEdu-Basic01_I2C_EEPROM driver source file for NuEdu-SDK-Nano130. More...
Go to the source code of this file.
Functions | |
__INLINE void | I2C_PIN_Init (void) |
Open GPIO port for I2C interface and enable this I2C controller clock and reset it. More... | |
void | I2C1_IRQHandler (void) |
I2C interrupt handler. Checks the I2C interrupt flag, clears the corresponding event flag and calls the related handler subroutine. More... | |
void | I2C_EEPROM_Init (uint8_t u8Divider) |
This function initializes the I2C module, bit-rate = 100 kHz and enable the corresponding interrupt. More... | |
void | I2C_MasterRx (uint32_t u32Status) |
This function checks the status of I2C, sets the related control bit and data if needed when this I2C module is master receiver. More... | |
void | I2C_MasterTx (uint32_t u32Status) |
This function checks the status of I2C, sets the related control bit and data if needed when this I2C module is master transmitter. More... | |
void | I2C_EEPROM_Write (uint16_t u16Address, uint8_t u8Data) |
This function do the I2C data writing to EEPROM device. More... | |
uint8_t | I2C_EEPROM_Read (uint16_t u16Address) |
This function do the I2C data reading from EEPROM device. More... | |
NuEdu-Basic01_I2C_EEPROM driver source file for NuEdu-SDK-Nano130.
Definition in file NuEdu-Basic01_I2C_EEPROM.c.