| Mini51 BSP V3.02.002 The Board Support Package for Mini51 Series

eeprom_24lc64.h
Go to the documentation of this file.
1 /**************************************************************************/
13 #ifndef __EEPROM_24LC64_H__
14 #define __EEPROM_24LC64_H__
15
16 /*---------------------------------------------------------------------------------------------------------*/
17 /* Define functions prototype */
18 /*---------------------------------------------------------------------------------------------------------*/
19 extern void EEPROM_Init(void);
20 extern void EEPROM_Write(uint32_t address, uint8_t data);
21 extern uint8_t EEPROM_Read(uint32_t address);
22 extern void EEPROM_PageWrite(uint32_t u32Addr, uint8_t *pu8Buf);
23 extern uint8_t EEPROM_SequentialRead(uint32_t u32Addr, uint8_t *pu8Buf, uint32_t u32Size);
24
25 #endif
EEPROM_SequentialRead
uint8_t EEPROM_SequentialRead(uint32_t u32Addr, uint8_t *pu8Buf, uint32_t u32Size)
Read data from EEPROM using sequential read method.
Definition: eeprom_24lc64.c:269
EEPROM_PageWrite
void EEPROM_PageWrite(uint32_t u32Addr, uint8_t *pu8Buf)
Write page data to EEPROM.
Definition: eeprom_24lc64.c:396
EEPROM_Write
void EEPROM_Write(uint32_t address, uint8_t data)
Write data to EEPROM.
Definition: eeprom_24lc64.c:37
EEPROM_Init
void EEPROM_Init(void)
Open I2C interface to access EEPROM.
Definition: eeprom_24lc64.c:25
EEPROM_Read
uint8_t EEPROM_Read(uint32_t address)
Read data from EEPROM.
Definition: eeprom_24lc64.c:137