Contains the i2c variants of the EepromAbstraction. More...
Go to the source code of this file.
Classes | |
| class | I2cAt24Eeprom | 
Enumerations | |
| enum | At24EepromType {  PAGESIZE_AT24C01 , PAGESIZE_AT24C02 , PAGESIZE_AT24C04 , PAGESIZE_AT24C08 , PAGESIZE_AT24C16 , PAGESIZE_AT24C32 , PAGESIZE_AT24C64 , PAGESIZE_AT24C128 , PAGESIZE_AT24C256 , PAGESIZE_AT24C512 }  | 
Functions | |
| size_t | at24ActualSizeFromRomSize (At24EepromType size) | 
| uint8_t | at24PageFromRomSize (At24EepromType size) | 
Contains the i2c variants of the EepromAbstraction.
| enum At24EepromType | 
Defines all the variants of the chip that we can pass to the I2cAt24Eeprom constructor. From this we can determine both the size and page size of a given EEPROM.
| size_t at24ActualSizeFromRomSize | ( | At24EepromType | size | ) | 
Given an eeprom type enum value this returns the actual size of the rom in bytes
| size | the eeprom type | 
| uint8_t at24PageFromRomSize | ( | At24EepromType | size | ) | 
Given the eeprom type enum value this returns the page size to use for the device.
| size | the eeprom type |