4 #include <twr_common.h>
bool twr_eeprom_async_write(uint32_t address, const void *buffer, size_t length, void(*event_handler)(twr_eepromc_event_t, void *), void *event_param)
Async write buffer to EEPROM area and verify it.
bool twr_eeprom_read(uint32_t address, void *buffer, size_t length)
Read buffer from EEPROM area.
size_t twr_eeprom_get_size(void)
Return size of EEPROM area.
bool twr_eeprom_write(uint32_t address, const void *buffer, size_t length)
Write buffer to EEPROM area and verify it.
void twr_eeprom_async_cancel(void)
Cancel async write.
@ TWR_EEPROM_EVENT_ASYNC_WRITE_ERROR
EEPROM event sync write error.
@ TWR_EEPROM_EVENT_ASYNC_WRITE_DONE
EEPROM event sync write done.