Constants for various I2C EEPROM devices. More...
Constants for various I2C EEPROM devices.
All the devices listed below are accessible as pseudomodules.
Definition in file at24cxxx_defines.h.
#include "kernel_defines.h"
 Include dependency graph for at24cxxx_defines.h:
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| #define | AT24CXXX_POLL_DELAY_US (1000UL) | 
| Delay between two poll attempts.   | |
| #define | AT24CXXX_CLEAR_BYTE (0x00) | 
| Clear byte.   | |
| #define | AT24CXXX_DEF_DEV_ADDR (0x50) | 
| AT24CXXX default device address.   | |
AT24C01A constants | |
| #define | AT24C01A_EEPROM_SIZE (128U) | 
| 128 byte memory   | |
| #define | AT24C01A_PAGE_SIZE (8U) | 
| 16 pages of 8 bytes each   | |
| #define | AT24C01A_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24C01A_MAX_POLLS | 
| Number of poll attempts.   | |
AT24C02 constants | |
| #define | AT24C02_EEPROM_SIZE (256U) | 
| 256 byte memory   | |
| #define | AT24C02_PAGE_SIZE (8U) | 
| 32 pages of 8 bytes   | |
| #define | AT24C02_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24C02_MAX_POLLS | 
| Number of poll attempts.   | |
AT24C04 constants | |
| #define | AT24C04_EEPROM_SIZE (512U) | 
| 512 byte memory   | |
| #define | AT24C04_PAGE_SIZE (16U) | 
| 32 pages of 16 bytes each   | |
| #define | AT24C04_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24C04_MAX_POLLS | 
| Number of poll attempts.   | |
AT24C08A constants | |
| #define | AT24C08A_EEPROM_SIZE (1024U) | 
| 1 kiB memory   | |
| #define | AT24C08A_PAGE_SIZE (16U) | 
| 64 pages of 16 bytes each   | |
| #define | AT24C08A_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24C08A_MAX_POLLS | 
| Number of poll attempts.   | |
AT24C16A constants | |
| #define | AT24C16A_EEPROM_SIZE (2048U) | 
| 2 kiB memory   | |
| #define | AT24C16A_PAGE_SIZE (16U) | 
| 128 pages of 16 bytes each   | |
| #define | AT24C16A_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24C16A_MAX_POLLS | 
| Number of poll attempts.   | |
AT24C32 constants | |
| #define | AT24C32_EEPROM_SIZE (4096U) | 
| 4 kiB memory   | |
| #define | AT24C32_PAGE_SIZE (32U) | 
| 256 pages of 32 bytes each   | |
| #define | AT24C32_PAGE_WRITE_DELAY_US (10000U) | 
| Delay to complete write operation.   | |
| #define | AT24C32_MAX_POLLS | 
| Number of poll attempts.   | |
AT24C64 constants | |
| #define | AT24C64_EEPROM_SIZE (8192U) | 
| 8 kiB memory   | |
| #define | AT24C64_PAGE_SIZE (32U) | 
| 256 pages of 32 bytes each   | |
| #define | AT24C64_PAGE_WRITE_DELAY_US (10000U) | 
| Delay to complete write operation.   | |
| #define | AT24C64_MAX_POLLS | 
| Number of poll attempts.   | |
AT24C128 constants | |
| #define | AT24C128_EEPROM_SIZE (16384U) | 
| 16 kiB memory   | |
| #define | AT24C128_PAGE_SIZE (64U) | 
| 256 pages of 64 bytes each   | |
| #define | AT24C128_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24C128_MAX_POLLS | 
| Number of poll attempts.   | |
AT24C256 constants | |
| #define | AT24C256_EEPROM_SIZE (32768U) | 
| 32 kiB memory   | |
| #define | AT24C256_PAGE_SIZE (64U) | 
| 512 pages of 64 bytes each   | |
| #define | AT24C256_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24C256_MAX_POLLS | 
| Number of poll attempts.   | |
AT24C512 constants | |
| #define | AT24C512_EEPROM_SIZE (65536U) | 
| 64 kiB memory   | |
| #define | AT24C512_PAGE_SIZE (128U) | 
| 512 pages of 128 bytes each   | |
| #define | AT24C512_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24C512_MAX_POLLS | 
| Number of poll attempts.   | |
AT24CS04 constants | |
| #define | AT24CS04_EEPROM_SIZE (512U) | 
| 512 Byte memory   | |
| #define | AT24CS04_PAGE_SIZE (16U) | 
| 32 pages of 16 bytes each   | |
| #define | AT24CS04_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24CS04_MAX_POLLS | 
| Number of poll attempts.   | |
AT24CS08 constants | |
| #define | AT24CS08_EEPROM_SIZE (1024U) | 
| 1 kiB memory   | |
| #define | AT24CS08_PAGE_SIZE (16U) | 
| 64 pages of 16 bytes each   | |
| #define | AT24CS08_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24CS08_MAX_POLLS | 
| Number of poll attempts.   | |
AT24C1024 constants | |
| #define | AT24C1024_EEPROM_SIZE (131072U) | 
| 128 kiB memory   | |
| #define | AT24C1024_PAGE_SIZE (256U) | 
| 512 pages of 256 bytes each   | |
| #define | AT24C1024_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24C1024_MAX_POLLS | 
| Number of poll attempts.   | |
AT24MAC402/602 constants | |
| #define | AT24MAC_EEPROM_SIZE (256U) | 
| 256 byte memory   | |
| #define | AT24MAC_PAGE_SIZE (16U) | 
| 16 pages of 16 bytes each   | |
| #define | AT24MAC_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | AT24MAC_MAX_POLLS | 
| Number of poll attempts.   | |
M24C01 constants | |
| #define | M24C01_EEPROM_SIZE (128U) | 
| 128 byte memory   | |
| #define | M24C01_PAGE_SIZE (16U) | 
| 16 pages of 16 bytes each   | |
| #define | M24C01_PAGE_WRITE_DELAY_US (5000U) | 
| Delay to complete write operation.   | |
| #define | M24C01_MAX_POLLS | 
| Number of poll attempts.   | |
Set constants depending on module | |
| #define | AT24CXXX_EEPROM_SIZE (128U) | 
| EEPROM size.   | |
| #define | AT24CXXX_PAGE_SIZE (4U) | 
| page size   | |
| #define | AT24CXXX_MAX_POLLS (6U) | 
| maximum poll attempts   | |
| #define AT24C01A_EEPROM_SIZE (128U) | 
128 byte memory
Definition at line 59 of file at24cxxx_defines.h.
| #define AT24C01A_MAX_POLLS | 
Number of poll attempts.
Definition at line 71 of file at24cxxx_defines.h.
| #define AT24C01A_PAGE_SIZE (8U) | 
16 pages of 8 bytes each
Definition at line 63 of file at24cxxx_defines.h.
| #define AT24C01A_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 67 of file at24cxxx_defines.h.
| #define AT24C02_EEPROM_SIZE (256U) | 
256 byte memory
Definition at line 82 of file at24cxxx_defines.h.
| #define AT24C02_MAX_POLLS | 
Number of poll attempts.
Definition at line 94 of file at24cxxx_defines.h.
| #define AT24C02_PAGE_SIZE (8U) | 
32 pages of 8 bytes
Definition at line 86 of file at24cxxx_defines.h.
| #define AT24C02_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 90 of file at24cxxx_defines.h.
| #define AT24C04_EEPROM_SIZE (512U) | 
512 byte memory
Definition at line 105 of file at24cxxx_defines.h.
| #define AT24C04_MAX_POLLS | 
Number of poll attempts.
Definition at line 117 of file at24cxxx_defines.h.
| #define AT24C04_PAGE_SIZE (16U) | 
32 pages of 16 bytes each
Definition at line 109 of file at24cxxx_defines.h.
| #define AT24C04_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 113 of file at24cxxx_defines.h.
| #define AT24C08A_EEPROM_SIZE (1024U) | 
1 kiB memory
Definition at line 128 of file at24cxxx_defines.h.
| #define AT24C08A_MAX_POLLS | 
Number of poll attempts.
Definition at line 140 of file at24cxxx_defines.h.
| #define AT24C08A_PAGE_SIZE (16U) | 
64 pages of 16 bytes each
Definition at line 132 of file at24cxxx_defines.h.
| #define AT24C08A_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 136 of file at24cxxx_defines.h.
| #define AT24C1024_EEPROM_SIZE (131072U) | 
128 kiB memory
Definition at line 335 of file at24cxxx_defines.h.
| #define AT24C1024_MAX_POLLS | 
Number of poll attempts.
Definition at line 347 of file at24cxxx_defines.h.
| #define AT24C1024_PAGE_SIZE (256U) | 
512 pages of 256 bytes each
Definition at line 339 of file at24cxxx_defines.h.
| #define AT24C1024_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 343 of file at24cxxx_defines.h.
| #define AT24C128_EEPROM_SIZE (16384U) | 
16 kiB memory
Definition at line 220 of file at24cxxx_defines.h.
| #define AT24C128_MAX_POLLS | 
Number of poll attempts.
Definition at line 232 of file at24cxxx_defines.h.
| #define AT24C128_PAGE_SIZE (64U) | 
256 pages of 64 bytes each
Definition at line 224 of file at24cxxx_defines.h.
| #define AT24C128_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 228 of file at24cxxx_defines.h.
| #define AT24C16A_EEPROM_SIZE (2048U) | 
2 kiB memory
Definition at line 151 of file at24cxxx_defines.h.
| #define AT24C16A_MAX_POLLS | 
Number of poll attempts.
Definition at line 163 of file at24cxxx_defines.h.
| #define AT24C16A_PAGE_SIZE (16U) | 
128 pages of 16 bytes each
Definition at line 155 of file at24cxxx_defines.h.
| #define AT24C16A_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 159 of file at24cxxx_defines.h.
| #define AT24C256_EEPROM_SIZE (32768U) | 
32 kiB memory
Definition at line 243 of file at24cxxx_defines.h.
| #define AT24C256_MAX_POLLS | 
Number of poll attempts.
Definition at line 255 of file at24cxxx_defines.h.
| #define AT24C256_PAGE_SIZE (64U) | 
512 pages of 64 bytes each
Definition at line 247 of file at24cxxx_defines.h.
| #define AT24C256_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 251 of file at24cxxx_defines.h.
| #define AT24C32_EEPROM_SIZE (4096U) | 
4 kiB memory
Definition at line 174 of file at24cxxx_defines.h.
| #define AT24C32_MAX_POLLS | 
Number of poll attempts.
Definition at line 186 of file at24cxxx_defines.h.
| #define AT24C32_PAGE_SIZE (32U) | 
256 pages of 32 bytes each
Definition at line 178 of file at24cxxx_defines.h.
| #define AT24C32_PAGE_WRITE_DELAY_US (10000U) | 
Delay to complete write operation.
Definition at line 182 of file at24cxxx_defines.h.
| #define AT24C512_EEPROM_SIZE (65536U) | 
64 kiB memory
Definition at line 266 of file at24cxxx_defines.h.
| #define AT24C512_MAX_POLLS | 
Number of poll attempts.
Definition at line 278 of file at24cxxx_defines.h.
| #define AT24C512_PAGE_SIZE (128U) | 
512 pages of 128 bytes each
Definition at line 270 of file at24cxxx_defines.h.
| #define AT24C512_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 274 of file at24cxxx_defines.h.
| #define AT24C64_EEPROM_SIZE (8192U) | 
8 kiB memory
Definition at line 197 of file at24cxxx_defines.h.
| #define AT24C64_MAX_POLLS | 
Number of poll attempts.
Definition at line 209 of file at24cxxx_defines.h.
| #define AT24C64_PAGE_SIZE (32U) | 
256 pages of 32 bytes each
Definition at line 201 of file at24cxxx_defines.h.
| #define AT24C64_PAGE_WRITE_DELAY_US (10000U) | 
Delay to complete write operation.
Definition at line 205 of file at24cxxx_defines.h.
| #define AT24CS04_EEPROM_SIZE (512U) | 
512 Byte memory
Definition at line 289 of file at24cxxx_defines.h.
| #define AT24CS04_MAX_POLLS | 
Number of poll attempts.
Definition at line 301 of file at24cxxx_defines.h.
| #define AT24CS04_PAGE_SIZE (16U) | 
32 pages of 16 bytes each
Definition at line 293 of file at24cxxx_defines.h.
| #define AT24CS04_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 297 of file at24cxxx_defines.h.
| #define AT24CS08_EEPROM_SIZE (1024U) | 
1 kiB memory
Definition at line 312 of file at24cxxx_defines.h.
| #define AT24CS08_MAX_POLLS | 
Number of poll attempts.
Definition at line 324 of file at24cxxx_defines.h.
| #define AT24CS08_PAGE_SIZE (16U) | 
64 pages of 16 bytes each
Definition at line 316 of file at24cxxx_defines.h.
| #define AT24CS08_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 320 of file at24cxxx_defines.h.
| #define AT24CXXX_CLEAR_BYTE (0x00) | 
Clear byte.
Definition at line 39 of file at24cxxx_defines.h.
| #define AT24CXXX_DEF_DEV_ADDR (0x50) | 
AT24CXXX default device address.
Different AT24CXXX types may have a different address byte format. Some may include a portion of the data word address. Some may have a 0, 1, 2 or 3 bit wide address space. But all types have a 7 bit I2C address which starts with
Definition at line 50 of file at24cxxx_defines.h.
| #define AT24CXXX_EEPROM_SIZE (128U) | 
EEPROM size.
Definition at line 462 of file at24cxxx_defines.h.
| #define AT24CXXX_MAX_POLLS (6U) | 
maximum poll attempts
Definition at line 464 of file at24cxxx_defines.h.
| #define AT24CXXX_PAGE_SIZE (4U) | 
page size
Definition at line 463 of file at24cxxx_defines.h.
| #define AT24CXXX_POLL_DELAY_US (1000UL) | 
Delay between two poll attempts.
Definition at line 35 of file at24cxxx_defines.h.
| #define AT24MAC_EEPROM_SIZE (256U) | 
256 byte memory
Definition at line 358 of file at24cxxx_defines.h.
| #define AT24MAC_MAX_POLLS | 
Number of poll attempts.
Definition at line 370 of file at24cxxx_defines.h.
| #define AT24MAC_PAGE_SIZE (16U) | 
16 pages of 16 bytes each
Definition at line 362 of file at24cxxx_defines.h.
| #define AT24MAC_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 366 of file at24cxxx_defines.h.
| #define M24C01_EEPROM_SIZE (128U) | 
128 byte memory
Definition at line 381 of file at24cxxx_defines.h.
| #define M24C01_MAX_POLLS | 
Number of poll attempts.
Definition at line 393 of file at24cxxx_defines.h.
| #define M24C01_PAGE_SIZE (16U) | 
16 pages of 16 bytes each
Definition at line 385 of file at24cxxx_defines.h.
| #define M24C01_PAGE_WRITE_DELAY_US (5000U) | 
Delay to complete write operation.
Definition at line 389 of file at24cxxx_defines.h.