Skip to main content

Module config

Module config 

Source
Expand description

SPI configuration

Structs§

Config
SPI Device configuration
DriverConfig
SPI Driver configuration
Mode
SPI mode.
V02Type

Enums§

BitOrder
Specifies the order in which the bits of data should be transfered/received
Duplex
Specify the communication mode with the device
LineWidth
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.