Module stm32_hal2::spi[][src]

Expand description

Serial Peripheral Interface (SPI) bus. Implements traits from embedded-hal.

Structs

Represents a Serial Peripheral Interface (SPI) peripheral.

SPI mode

Enums

Set the factor to divide the APB clock by to set baud rate. Sets SPI_CR1 register, BR field.

SPI error

Used for managing NSS / CS pin.

Select the communication mode between.

Possible interrupt types. Enable these in CR2. Check and clear with SR. Clear in ?

Clock phase

Clock polarity