2.3.2.2 BL_EEPROMWrite()

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

Wrapper to the NVM Write EEPROM function which writes multiple bytes to the desired address in EEPROM.

Parameters:
in address

- Starting address for the EEPROM write operation

in buffer

- Storage buffer for the EEPROM bytes to be written

in length

- Total number of bytes to be written to EEPROM

Returns:

BL_MEM_PASS - EEPROM write succeeded  

BL_MEM_FAIL - EEPROM write failed  

BL_MEM_INVALID_ARG - An invalid argument is passed to the function