struct holding all params needed for device initialization
More...
struct holding all params needed for device initialization
Definition at line 39 of file at25xxx.h.
#include <at25xxx.h>
|
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.
|
|
◆ cs_pin
GPIO pin connected to chip select.
Definition at line 42 of file at25xxx.h.
◆ hold_pin
gpio_t at25xxx_params_t::hold_pin |
GPIO pin connected to the hold pin.
Definition at line 44 of file at25xxx.h.
◆ page_size
uint16_t at25xxx_params_t::page_size |
Page Size of the EEPROM in bytes.
Definition at line 46 of file at25xxx.h.
◆ size
uint32_t at25xxx_params_t::size |
Size of the EEPROM in bytes.
Definition at line 45 of file at25xxx.h.
◆ spi
spi_t at25xxx_params_t::spi |
SPI bus the device is connected to.
Definition at line 40 of file at25xxx.h.
◆ spi_clk
SPI clock speed to use.
Definition at line 41 of file at25xxx.h.
◆ wp_pin
gpio_t at25xxx_params_t::wp_pin |
GPIO pin connected to the write-protect pin.
Definition at line 43 of file at25xxx.h.
The documentation for this struct was generated from the following file: