SPRADL4 January 2025 F29H850TU , F29H859TU-Q1
The EEPROM_Write_Page() function provides the functionality for programming the data to Flash. It leverages the Flash API directly and makes several function calls within to prepare for data programming. The functions called are listed below:
Each of the above functions are described in detail in their respective sections. To begin, the current EEPROM bank and page are found. Then the previous page is marked as used and the EEPROM bank status is updated if the bank changed. Finally, the data is programmed during the EEPROM page data update.
EEPROM_GetValidBank(0);
EEPROM_UpdatePageStatus();
EEPROM_UpdateBankStatus();
EEPROM_UpdatePageData(Write_Buffer);