Module stm32_hal2::spi [−][src]
Expand description
Serial Peripheral Interface (SPI) bus. Provides APIs to configure, read, and write from SPI, with blocking, nonblocking, and DMA functionality.
Structs
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