2.3.2.3 BL_FlashRead()
bl_mem_result_t BL_FlashRead (flash_address_t address, flash_data_t * buffer, size_t length)
Wrapper to the NVM Read Flash function which reads multiple bytes from the desired address in program Flash.
in | address |
- Starting address for the Flash read operation |
in | buffer |
- Storage buffer for the read Flash bytes |
in | length |
- Total number of bytes to be read from Flash |
BL_MEM_PASS - Flash read succeeded BL_MEM_FAIL - Flash read failed BL_MEM_INVALID_ARG - An invalid argument is passed to the function |