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