enum
status_code error_code = rww_eeprom_emulator_init();
Config BOD to give an early warning to prevent data loss.else
if
(error_code != STATUS_OK) {
/* Erase the emulated EEPROM memory (assume it is unformatted or * irrecoverably corrupt) */
rww_eeprom_emulator_erase_memory();
rww_eeprom_emulator_init();
}
configure_bod();