Module spi

Source
Expand description

Interface to the SPI peripheral

See chapter 32 in the STM32F746 Reference Manual.

Structs§

Enabled
Indicates that the SPI peripheral is enabled
Mode
SPI mode
NoMiso
Placeholder for a pin when no MISO pin is required
NoMosi
Placeholder for a pin when no MOSI pin is required
NoSck
Placeholder for a pin when no SCK pin is required
Rx
RX token used for DMA transfers
Spi
Entry point to the SPI API
Transfer
A DMA transfer of the SPI peripheral
TransferResources
The resources that an ongoing transfer needs exclusive access to
Tx
TX token used for DMA transfers

Enums§

Error
Phase
Clock phase
Polarity
Clock polarity

Traits§

Instance
Implemented for all instances of the SPI peripheral
Miso
Implemented for all pins that can function as the MISO pin
Mosi
Implemented for all pins that can function as the MOSI pin
Pins
Implemented for all tuples that contain a full set of valid SPI pins
Sck
Implemented for all pins that can function as the SCK pin
SupportedWordSize

Type Aliases§

WaitResult
Returned by Transfer::wait