at25xxx_params_t Struct Reference

struct holding all params needed for device initialization More...

Detailed Description

struct holding all params needed for device initialization

Definition at line 39 of file at25xxx.h.

#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.
 

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