2.3.2.1 BL_EEPROMRead()

bl_mem_result_t BL_EEPROMRead (eeprom_address_t address, eeprom_data_t * buffer, size_t length)

Wrapper to the NVM Read EEPROM function which reads multiple bytes from the desired address in EEPROM.

Parameters:
in address

- Starting address for the EEPROM read operation

in buffer

- Storage buffer for the read EEPROM bytes

in length

- Total number of bytes to be read from EEPROM

Returns:

BL_MEM_PASS - EEPROM read succeeded  

BL_MEM_FAIL - EEPROM read failed  

BL_MEM_INVALID_ARG - An invalid argument is passed to the function