Loading...
Searching...
No Matches
at24cxxx_params Struct Reference

Struct that holds initialization parameters. More...

Detailed Description

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
 

Field Documentation

◆ dev_addr

uint8_t at24cxxx_params::dev_addr

I2C device address.

Definition at line 95 of file at24cxxx.h.

◆ eeprom_size

uint32_t at24cxxx_params::eeprom_size

EEPROM memory capacity.

Definition at line 94 of file at24cxxx.h.

◆ i2c

i2c_t at24cxxx_params::i2c

I2C bus number.

Definition at line 92 of file at24cxxx.h.

◆ max_polls

uint8_t at24cxxx_params::max_polls

number of ACK poll attempts

Definition at line 97 of file at24cxxx.h.

◆ page_size

uint8_t at24cxxx_params::page_size

page size

Definition at line 96 of file at24cxxx.h.

◆ pin_wp

gpio_t at24cxxx_params::pin_wp

write protect pin

Definition at line 93 of file at24cxxx.h.


The documentation for this struct was generated from the following file: