6 #ifndef IOABSTRACTION_EEPROMABSTRACTIONWIRE_H_
7 #define IOABSTRACTION_EEPROMABSTRACTIONWIRE_H_
14 #include "PlatformDeterminationWire.h"
16 #include <TaskManager.h>
95 uint8_t findMaximumInPage(uint16_t romDest, uint8_t len)
const;
98 void writeAddressWire(uint16_t memAddr,
const uint8_t* data =
nullptr,
int len = 0);
Wraps up EEPROM support in a way that is compatible between implementations. For example presently th...
uint16_t EepromPosition
Definition: EepromAbstraction.h:26
uint8_t at24PageFromRomSize(At24EepromType size)
Definition: EepromAbstractionWire.cpp:18
At24EepromType
Definition: EepromAbstractionWire.h:22
size_t at24ActualSizeFromRomSize(At24EepromType size)
Definition: EepromAbstractionWire.cpp:35
Definition: EepromAbstraction.h:33
Definition: EepromAbstractionWire.h:63
bool hasErrorOccurred() override
Definition: EepromAbstractionWire.cpp:60
void writeArrayToRom(EepromPosition romDest, const uint8_t *memSrc, uint8_t len) override
Definition: EepromAbstractionWire.cpp:177
I2cAt24Eeprom(uint8_t address, At24EepromType ty, WireType wireImpl=defaultWireTypePtr)
Definition: EepromAbstractionWire.cpp:52
void write8(EepromPosition position, uint8_t val) override
Definition: EepromAbstractionWire.cpp:81
void write16(EepromPosition position, uint16_t val) override
Definition: EepromAbstractionWire.cpp:92
void write32(EepromPosition position, uint32_t val) override
Definition: EepromAbstractionWire.cpp:109
uint8_t read8(EepromPosition position) override
Definition: EepromAbstractionWire.cpp:77
uint32_t read32(EepromPosition position) override
Definition: EepromAbstractionWire.cpp:101
uint16_t read16(EepromPosition position) override
Definition: EepromAbstractionWire.cpp:86
void readIntoMemArray(uint8_t *memDest, EepromPosition romSrc, uint8_t len) override
Definition: EepromAbstractionWire.cpp:165