[riot-notifications] [RIOT-OS/RIOT] [WIP, RFC] drivers/eeprom: Common API to access EEPROM memory (#12091)
notifications at github.com
Tue Sep 10 09:25:15 CEST 2019
maribu commented on this pull request.
> + int (*write)(void *handle, eeprom_off_t pos, const void *data, size_t len);
+ * @brief Erase the whole EEPROM
+ * @param[in,out] handle Device handle of the EEPROM to erase
+ * @retval 0 Success
+ * @retval -EIO I/O error occurred during erase
+ * If `0` is returned a subsequent read for any valid address must return
+ * @ref eeprom_driver_t::clear_byte. If `-EIO` is returned, the whole
+ * content of the EEPROM is undefined.
+ * This function is optional to implement by the driver. If the function
+ * pointer is `NULL`, a fallback implementation that calls
+ * @ref eeprom_driver_t::set is used instead.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications