Tweet

Replying to @josecastillo

The hardware implementation of those functions is here, and it’s a good example of working with the EEPROM emulation area on @MicrochipMakes SAM D/L microcontrollers. Cribbed a bit from their NVM driver code, but it’s actually much simpler than I imagined. https://github.com/joeycastillo/Sensor-Watch/blob/ed526355f69a931d51a6ebff1b45c70988e7b255/watch-library/hardware/watch/watch_storage.c

(original)