Struct that holds initialization parameters. More...
Struct that holds initialization parameters.
Definition at line 91 of file at24cxxx.h.
#include <at24cxxx.h>
Data Fields | |
i2c_t | i2c |
I2C bus number. | |
gpio_t | pin_wp |
write protect pin | |
uint32_t | eeprom_size |
EEPROM memory capacity. | |
uint8_t | dev_addr |
I2C device address. | |
uint8_t | page_size |
page size | |
uint8_t | max_polls |
number of ACK poll attempts | |
uint8_t at24cxxx_params::dev_addr |
I2C device address.
Definition at line 95 of file at24cxxx.h.
uint32_t at24cxxx_params::eeprom_size |
EEPROM memory capacity.
Definition at line 94 of file at24cxxx.h.
i2c_t at24cxxx_params::i2c |
I2C bus number.
Definition at line 92 of file at24cxxx.h.
uint8_t at24cxxx_params::max_polls |
number of ACK poll attempts
Definition at line 97 of file at24cxxx.h.
uint8_t at24cxxx_params::page_size |
page size
Definition at line 96 of file at24cxxx.h.
gpio_t at24cxxx_params::pin_wp |
write protect pin
Definition at line 93 of file at24cxxx.h.