30 #if !defined(__FLASH_MEMORY_INTERFACE_H__) 31 #define __FLASH_MEMORY_INTERFACE_H__ 33 #include "memory/memory.h" 39 #define BL_IS_FLASH_SECTION_PROGRAMMING_ENABLED \ 40 (BL_FEATURE_ENABLE_FLASH_PROGRAM_SECTION && FSL_FEATURE_FLASH_HAS_PROGRAM_SECTION_CMD) 46 #if defined(__cplusplus) 58 status_t flash_mem_read(uint32_t address, uint32_t length, uint8_t *restrict buffer);
61 status_t flash_mem_write(uint32_t address, uint32_t length,
const uint8_t *buffer);
64 status_t flash_mem_fill(uint32_t address, uint32_t length, uint32_t pattern);
74 #if defined(__cplusplus) 78 #endif // __FLASH_MEMORY_INTERFACE_H__ status_t flash_mem_erase(uint32_t address, uint32_t length)
Erase memory.
Definition: flash_memory.c:509
int32_t status_t
Type used for all status and error return values.
Definition: fsl_common.h:121