下面列出了实现所需的所有函数,均包含在 F29H85x_EEPROM_PingPong.c 或 F29H85x_EEPROM_PingPong_Example.c 文件中。
初始化和设置函数
- Configure_Device()
- EEPROM_Config_Check()
页面模式函数
- EEPROM_GetValidBank(uint8_t ReadFlag)
- EEPROM_UpdateBankStatus()
- EEPROM_UpdatePageStatus()
- EEPROM_UpdatePageData(uint8_t* Write_Buffer)
- EEPROM_Write_Page(uint8_t* Write_Buffer)
64 位模式函数
- EEPROM_64_Bit_Mode_Check_EOS()
- EEPROM_Write_64_Bits(uint8_t Num_Bytes, uint8_t* Write_Buffer)
同时使用
- EEPROM_Erase_Inactive_Unit()
- EEPROM_Read()
- EEPROM_Erase_All()
实用功能
- EEPROM_Write_Buffer(uint8_t* address, uint8_t* write_buffer)
- Erase_Bank()
- Configure_Protection_Masks(uint32_t* Sector_Numbers, uint32_t Num_EEPROM_Sectors)
- Set_Protection_Masks()
- Fill_Buffer()
- ClearFSMStatus(uint32_t u32StartAddress, uint32_t u32UserFlashConfig)
后续小节中会详细介绍上述每个函数。