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"
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 60 of file at24cxxx_defines.h.
#define AT24C01A_MAX_POLLS |
Number of poll attempts.
Definition at line 72 of file at24cxxx_defines.h.
#define AT24C01A_PAGE_SIZE (8U) |
16 pages of 8 bytes each
Definition at line 64 of file at24cxxx_defines.h.
#define AT24C01A_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 68 of file at24cxxx_defines.h.
#define AT24C02_EEPROM_SIZE (256U) |
256 byte memory
Definition at line 83 of file at24cxxx_defines.h.
#define AT24C02_MAX_POLLS |
Number of poll attempts.
Definition at line 95 of file at24cxxx_defines.h.
#define AT24C02_PAGE_SIZE (8U) |
32 pages of 8 bytes
Definition at line 87 of file at24cxxx_defines.h.
#define AT24C02_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 91 of file at24cxxx_defines.h.
#define AT24C04_EEPROM_SIZE (512U) |
512 byte memory
Definition at line 106 of file at24cxxx_defines.h.
#define AT24C04_MAX_POLLS |
Number of poll attempts.
Definition at line 118 of file at24cxxx_defines.h.
#define AT24C04_PAGE_SIZE (16U) |
32 pages of 16 bytes each
Definition at line 110 of file at24cxxx_defines.h.
#define AT24C04_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 114 of file at24cxxx_defines.h.
#define AT24C08A_EEPROM_SIZE (1024U) |
1 kiB memory
Definition at line 129 of file at24cxxx_defines.h.
#define AT24C08A_MAX_POLLS |
Number of poll attempts.
Definition at line 141 of file at24cxxx_defines.h.
#define AT24C08A_PAGE_SIZE (16U) |
64 pages of 16 bytes each
Definition at line 133 of file at24cxxx_defines.h.
#define AT24C08A_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 137 of file at24cxxx_defines.h.
#define AT24C1024_EEPROM_SIZE (131072U) |
128 kiB memory
Definition at line 336 of file at24cxxx_defines.h.
#define AT24C1024_MAX_POLLS |
Number of poll attempts.
Definition at line 348 of file at24cxxx_defines.h.
#define AT24C1024_PAGE_SIZE (256U) |
512 pages of 256 bytes each
Definition at line 340 of file at24cxxx_defines.h.
#define AT24C1024_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 344 of file at24cxxx_defines.h.
#define AT24C128_EEPROM_SIZE (16384U) |
16 kiB memory
Definition at line 221 of file at24cxxx_defines.h.
#define AT24C128_MAX_POLLS |
Number of poll attempts.
Definition at line 233 of file at24cxxx_defines.h.
#define AT24C128_PAGE_SIZE (64U) |
256 pages of 64 bytes each
Definition at line 225 of file at24cxxx_defines.h.
#define AT24C128_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 229 of file at24cxxx_defines.h.
#define AT24C16A_EEPROM_SIZE (2048U) |
2 kiB memory
Definition at line 152 of file at24cxxx_defines.h.
#define AT24C16A_MAX_POLLS |
Number of poll attempts.
Definition at line 164 of file at24cxxx_defines.h.
#define AT24C16A_PAGE_SIZE (16U) |
128 pages of 16 bytes each
Definition at line 156 of file at24cxxx_defines.h.
#define AT24C16A_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 160 of file at24cxxx_defines.h.
#define AT24C256_EEPROM_SIZE (32768U) |
32 kiB memory
Definition at line 244 of file at24cxxx_defines.h.
#define AT24C256_MAX_POLLS |
Number of poll attempts.
Definition at line 256 of file at24cxxx_defines.h.
#define AT24C256_PAGE_SIZE (64U) |
512 pages of 64 bytes each
Definition at line 248 of file at24cxxx_defines.h.
#define AT24C256_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 252 of file at24cxxx_defines.h.
#define AT24C32_EEPROM_SIZE (4096U) |
4 kiB memory
Definition at line 175 of file at24cxxx_defines.h.
#define AT24C32_MAX_POLLS |
Number of poll attempts.
Definition at line 187 of file at24cxxx_defines.h.
#define AT24C32_PAGE_SIZE (32U) |
256 pages of 32 bytes each
Definition at line 179 of file at24cxxx_defines.h.
#define AT24C32_PAGE_WRITE_DELAY_US (10000U) |
Delay to complete write operation.
Definition at line 183 of file at24cxxx_defines.h.
#define AT24C512_EEPROM_SIZE (65536U) |
64 kiB memory
Definition at line 267 of file at24cxxx_defines.h.
#define AT24C512_MAX_POLLS |
Number of poll attempts.
Definition at line 279 of file at24cxxx_defines.h.
#define AT24C512_PAGE_SIZE (128U) |
512 pages of 128 bytes each
Definition at line 271 of file at24cxxx_defines.h.
#define AT24C512_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 275 of file at24cxxx_defines.h.
#define AT24C64_EEPROM_SIZE (8192U) |
8 kiB memory
Definition at line 198 of file at24cxxx_defines.h.
#define AT24C64_MAX_POLLS |
Number of poll attempts.
Definition at line 210 of file at24cxxx_defines.h.
#define AT24C64_PAGE_SIZE (32U) |
256 pages of 32 bytes each
Definition at line 202 of file at24cxxx_defines.h.
#define AT24C64_PAGE_WRITE_DELAY_US (10000U) |
Delay to complete write operation.
Definition at line 206 of file at24cxxx_defines.h.
#define AT24CS04_EEPROM_SIZE (512U) |
512 Byte memory
Definition at line 290 of file at24cxxx_defines.h.
#define AT24CS04_MAX_POLLS |
Number of poll attempts.
Definition at line 302 of file at24cxxx_defines.h.
#define AT24CS04_PAGE_SIZE (16U) |
32 pages of 16 bytes each
Definition at line 294 of file at24cxxx_defines.h.
#define AT24CS04_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 298 of file at24cxxx_defines.h.
#define AT24CS08_EEPROM_SIZE (1024U) |
1 kiB memory
Definition at line 313 of file at24cxxx_defines.h.
#define AT24CS08_MAX_POLLS |
Number of poll attempts.
Definition at line 325 of file at24cxxx_defines.h.
#define AT24CS08_PAGE_SIZE (16U) |
64 pages of 16 bytes each
Definition at line 317 of file at24cxxx_defines.h.
#define AT24CS08_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 321 of file at24cxxx_defines.h.
#define AT24CXXX_CLEAR_BYTE (0x00) |
Clear byte.
Definition at line 40 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 51 of file at24cxxx_defines.h.
#define AT24CXXX_EEPROM_SIZE (128U) |
EEPROM size.
Definition at line 463 of file at24cxxx_defines.h.
#define AT24CXXX_MAX_POLLS (6U) |
maximum poll attempts
Definition at line 465 of file at24cxxx_defines.h.
#define AT24CXXX_PAGE_SIZE (4U) |
page size
Definition at line 464 of file at24cxxx_defines.h.
#define AT24CXXX_POLL_DELAY_US (1000UL) |
Delay between two poll attempts.
Definition at line 36 of file at24cxxx_defines.h.
#define AT24MAC_EEPROM_SIZE (256U) |
256 byte memory
Definition at line 359 of file at24cxxx_defines.h.
#define AT24MAC_MAX_POLLS |
Number of poll attempts.
Definition at line 371 of file at24cxxx_defines.h.
#define AT24MAC_PAGE_SIZE (16U) |
16 pages of 16 bytes each
Definition at line 363 of file at24cxxx_defines.h.
#define AT24MAC_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 367 of file at24cxxx_defines.h.
#define M24C01_EEPROM_SIZE (128U) |
128 byte memory
Definition at line 382 of file at24cxxx_defines.h.
#define M24C01_MAX_POLLS |
Number of poll attempts.
Definition at line 394 of file at24cxxx_defines.h.
#define M24C01_PAGE_SIZE (16U) |
16 pages of 16 bytes each
Definition at line 386 of file at24cxxx_defines.h.
#define M24C01_PAGE_WRITE_DELAY_US (5000U) |
Delay to complete write operation.
Definition at line 390 of file at24cxxx_defines.h.