Definition at line 53 of file roboot_if_flash.h.
#include <roboot_if_flash.h>
Data Fields | |
uint32_t(* | FlashUnlock )(uint32_t page_address) |
void(* | FlashLock )(uint32_t page_address) |
uint32_t(* | FlashErasePage )(uint32_t page_address) |
uint32_t(* | FlashWriteData )(uint32_t write_addr, const uint8_t *chunk, uint32_t chunk_len) |
uint32_t(* ROBOOT_FLASH_Operations_T::FlashUnlock)(uint32_t page_address) |
Unlocks FLASH memory for subsequent erase (once) and write (many) operations. This function is called ONCE before erasing and writing of the FLASH content for a given page (sector).
page_address | address of FLASH region for requested unlock operation |
Referenced by ROBOOT_InitProcessing().
void(* ROBOOT_FLASH_Operations_T::FlashLock)(uint32_t page_address) |
Locks FLASH memory after bootloader finished erase and write operations. This function is called ONCE after erasing and writing of the FLASH content is completed for a given page (sector).
page_address | address of FLASH region for requested lock operation |
Referenced by ROBOOT_InitProcessing().
uint32_t(* ROBOOT_FLASH_Operations_T::FlashErasePage)(uint32_t page_address) |
Erases a FLASH page (sector) at the specified address.
page_address | address of FLASH page (sector) for requested erase operation |
Referenced by ROBOOT_InitProcessing().
uint32_t(* ROBOOT_FLASH_Operations_T::FlashWriteData)(uint32_t write_addr, const uint8_t *chunk, uint32_t chunk_len) |
Writes a supplied buffer content into FLASH at the specified address. This function should check (verify) if written data is equal to requested one.
write_addr | address of FLASH page for requested write operation | |
chunk | content to write | |
chunk_len | length (in bytes) of the content requested for write |
Referenced by ROBOOT_InitProcessing().