28 #error "Please do not include this file directly, use pal.h instead" 33 #define PAL_INT_FLASH_BLANK_VAL 0xFF palStatus_t pal_internalFlashDeInit(void)
This function deinitializes the flash API module.
size_t pal_internalFlashGetPageSize(void)
This function returns the minimum writing unit to the flash.
palStatus_t pal_internalFlashErase(uint32_t address, size_t size)
This function Erase the sector.
palStatus_t pal_internalFlashInit(void)
This function initializes the flash API module, and must be called prior to any flash API calls...
palStatus_t pal_internalFlashGetAreaInfo(uint8_t section, palSotpAreaData_t *data)
This function return the SOTP section data.
Definition: pal_types.h:71
palStatus_t pal_internalFlashWrite(const size_t size, const uint32_t address, const uint32_t *buffer)
This function writes to the internal flash.
size_t pal_internalFlashGetSectorSize(uint32_t address)
This function returns the sector size for the given address.
palStatus_t pal_internalFlashRead(const size_t size, const uint32_t address, uint32_t *buffer)
This function copies the memory data into the user-given buffer.
int32_t palStatus_t
Definition: pal_types.h:55