struct holding all params needed for device initialization More...
#include <at25xxx.h>
Data Fields | |
spi_t | spi |
SPI bus the device is connected to. | |
spi_clk_t | spi_clk |
SPI clock speed to use. | |
spi_cs_t | cs_pin |
GPIO pin connected to chip select. | |
gpio_t | wp_pin |
GPIO pin connected to the write-protect pin. | |
gpio_t | hold_pin |
GPIO pin connected to the hold pin. | |
uint32_t | size |
Size of the EEPROM in bytes. | |
uint16_t | page_size |
Page Size of the EEPROM in bytes. | |