Declaration api of eeprom loader.
Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
Data Structures | |
struct | HW_EepromParams_t |
eeprom access control structure More... | |
Functions | |
void | eepromFlushPage (void) |
Flush unloaded data before exit from bootloader. More... | |
void | eepromPacketToPage (void) |
Load received date to the flash. More... | |
uint8_t | eepromReadData (uint16_t address) |
Reads data from the EEPROM. More... | |
void eepromFlushPage | ( | void | ) |
Flush unloaded data before exit from bootloader.
Referenced by srecProtocol().
void eepromPacketToPage | ( | void | ) |
Load received date to the flash.
References HW_EepromParams_t::address, BootBuffer_t::address, HW_EepromParams_t::data, BootBuffer_t::data, BootBuffer_t::dataSize, EEPROM_ADDRESS_MASK, hwFlashWriteEepromPage(), and HW_EepromParams_t::length.
Referenced by srecProtocol().
uint8_t eepromReadData | ( | uint16_t | address | ) |
Reads data from the EEPROM.
[in] | address | - address of data byte. |
References hwFlashRead().