Module spi

Module spi 

Source

Structs§

Mode
SPI mode
NoMiso
A filler type for when the Miso pin is unnecessary
NoMosi
A filler type for when the Mosi pin is unnecessary
NoSck
A filler type for when the SCK pin is unnecessary
Spi

Enums§

Error
SPI error
Phase
Clock phase
Polarity
Clock polarity

Constants§

MODE_0
Helper for CPOL = 0, CPHA = 0
MODE_1
Helper for CPOL = 0, CPHA = 1
MODE_2
Helper for CPOL = 1, CPHA = 0
MODE_3
Helper for CPOL = 1, CPHA = 1

Traits§

PinMiso
PinMosi
PinSck
Pins
SpiExt