Bus parameters for SPI NVRAM.
Low-level SPI peripheral driver interface definition.
Generic non-volatile RAM driver interface.
struct nvram_spi_params nvram_spi_params_t
Bus parameters for SPI NVRAM.
spi_t spi
RIOT SPI device.
uint8_t address_count
Number of address bytes following each read/write command.
spi_clk_t
Available SPI clock speeds.
Device descriptor for generic NVRAM devices.
int nvram_spi_init(nvram_t *dev, nvram_spi_params_t *spi_params, size_t size)
Initialize an nvram_t structure with SPI settings.
spi_clk_t clk
SPI clock speed.
gpio_t cs
Chip select pin.
Low-level GPIO peripheral driver interface definitions.
unsigned int spi_t
Default type for SPI devices.