Struct SpiConfig

Struct Documentation

struct SpiConfig

SPI Configuration structure.

Public Members

std::uint8_t mode = 0

SPI mode. One of SPI_MODE_{0,1,2}.

std::uint8_t bitsPerWord = 8

Bits per word count.

std::uint32_t speedHz = 1000000

Speed of the bus.

std::uint16_t delayUs = 0

Delay between transactions.