![]() |
MySensors Library & Examples
2.3.2
|
extEEPROM class
Definition at line 87 of file extEEPROM.h.
#include <extEEPROM.h>
Inheritance diagram for extEEPROM:
Collaboration diagram for extEEPROM:Public Types | |
| enum | twiClockFreq_t { twiClock100kHz = 100000, twiClock400kHz = 400000 } |
Public Member Functions | |
| extEEPROM (eeprom_size_t deviceCapacity, byte nDevice, unsigned int pageSize, byte eepromAddr=0x50) | |
| Constructor. More... | |
| byte | begin (twiClockFreq_t twiFreq=twiClock100kHz, TwoWire *_comm=&Wire) |
| begin() | |
| byte | write (unsigned long addr, byte *values, unsigned int nBytes) |
| write() | |
| byte | write (unsigned long addr, byte value) |
| write() | |
| byte | read (unsigned long addr, byte *values, unsigned int nBytes) |
| read() | |
| int | read (unsigned long addr) |
| read() | |
| byte | update (unsigned long addr, byte *values, unsigned int nBytes) |
| update() | |
| byte | update (unsigned long addr, byte value) |
| update() | |
| unsigned long | length () |
| length() | |
I2C clock frequencies
| Enumerator | |
|---|---|
| twiClock100kHz | twiClock100kHz |
| twiClock400kHz | twiClock400kHz |
Definition at line 97 of file extEEPROM.h.
| extEEPROM::extEEPROM | ( | eeprom_size_t | deviceCapacity, |
| byte | nDevice, | ||
| unsigned int | pageSize, | ||
| byte | eepromAddr = 0x50 |
||
| ) |
Constructor.
| deviceCapacity | |
| nDevice | |
| pageSize | |
| eepromAddr |