16 #ifndef PAL_PLAT_FLASH_H_    17 #define PAL_PLAT_FLASH_H_ palStatus_t pal_plat_internalFlashDeInit(void)
This function deinitializes the flash module. 
palStatus_t pal_plat_internalFlashWrite(const size_t size, const uint32_t address, const uint32_t *buffer)
This function writes to the internal flash. 
size_t pal_plat_internalFlashGetSectorSize(uint32_t address)
This function returns the sector size. 
palStatus_t pal_plat_internalFlashErase(uint32_t address, size_t size)
This function erases a sector. 
Definition: pal_types.h:71
palStatus_t pal_plat_internalFlashRead(const size_t size, const uint32_t address, uint32_t *buffer)
This function copies the memory data into the user given buffer. 
palStatus_t pal_plat_internalFlashGetAreaInfo(uint8_t section, palSotpAreaData_t *data)
This function return the SOTP section data. 
size_t pal_plat_internalFlashGetPageSize(void)
This function returns the minimum size of the writing unit when writing to the flash. 
int32_t palStatus_t
Definition: pal_types.h:55
palStatus_t pal_plat_internalFlashInit(void)
This function initialized the flash API module, And should be called prior to flash API calls...