Default configuration for the AT24CXXX driver. More...
Default configuration for the AT24CXXX driver.
Definition in file at24cxxx_params.h.
Go to the source code of this file.
Macros | |
#define | AT24CXXX_NUMOF ARRAY_SIZE(at24cxxx_params) |
Number of configured AT24CXXX EEPROM devices. | |
Variables | |
static const at24cxxx_params_t | at24cxxx_params [] |
AT24CXXX configuration. | |
Set default configuration parameters for the AT24CXXX driver | |
#define | AT24CXXX_PARAM_I2C (I2C_DEV(0)) |
I2C bus the EEPROM is connected to. | |
#define | AT24CXXX_PARAM_ADDR (AT24CXXX_DEF_DEV_ADDR) |
I2C address of the EEPROM device. | |
#define | AT24CXXX_PARAM_PIN_WP (GPIO_UNDEF) |
EEPROM write protect pin. | |
#define | AT24CXXX_PARAM_EEPROM_SIZE (AT24CXXX_EEPROM_SIZE) |
EEPROM size. | |
#define | AT24CXXX_PARAM_PAGE_SIZE (AT24CXXX_PAGE_SIZE) |
Page size. | |
#define | AT24CXXX_PARAM_MAX_POLLS (AT24CXXX_MAX_POLLS) |
Maximum poll poll. | |
#define | AT24CXXX_PARAMS |
Default device configuration parameters. | |
#define AT24CXXX_NUMOF ARRAY_SIZE(at24cxxx_params) |
Number of configured AT24CXXX EEPROM devices.
Definition at line 88 of file at24cxxx_params.h.
#define AT24CXXX_PARAM_ADDR (AT24CXXX_DEF_DEV_ADDR) |
I2C address of the EEPROM device.
Definition at line 44 of file at24cxxx_params.h.
#define AT24CXXX_PARAM_EEPROM_SIZE (AT24CXXX_EEPROM_SIZE) |
EEPROM size.
Definition at line 56 of file at24cxxx_params.h.
#define AT24CXXX_PARAM_I2C (I2C_DEV(0)) |
I2C bus the EEPROM is connected to.
Definition at line 38 of file at24cxxx_params.h.
#define AT24CXXX_PARAM_MAX_POLLS (AT24CXXX_MAX_POLLS) |
Maximum poll poll.
Definition at line 68 of file at24cxxx_params.h.
#define AT24CXXX_PARAM_PAGE_SIZE (AT24CXXX_PAGE_SIZE) |
Page size.
Definition at line 62 of file at24cxxx_params.h.
#define AT24CXXX_PARAM_PIN_WP (GPIO_UNDEF) |
EEPROM write protect pin.
Definition at line 50 of file at24cxxx_params.h.
#define AT24CXXX_PARAMS |
Default device configuration parameters.
Definition at line 74 of file at24cxxx_params.h.
|
static |
AT24CXXX configuration.
Definition at line 93 of file at24cxxx_params.h.