[−][src]Module stm32f1xx_hal::spi
Serial Peripheral Interface
Alternate function remapping
SPI1
Function | Spi1NoRemap | Spi1Remap |
---|---|---|
SCK | PA5 | PB3 |
MISO | PA6 | PB4 |
MOSI | PA7 | PB5 |
SPI2
Function | Spi2NoRemap |
---|---|
SCK | PB13 |
MISO | PB14 |
MOSI | PB15 |
SPI3
Available only on high density devices.
Function | Spi3NoRemap | Spi3Remap |
---|---|---|
SCK | PB3 | PC10 |
MISO | PB4 | PC11 |
MOSI | PB5 | PC12 |
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 | |
Spi1NoRemap | |
Spi1Remap | |
Spi2NoRemap | |
SpiPayload |
Enums
Error | SPI error |
Phase | Clock phase |
Polarity | Clock polarity |
Traits
Pins |
Type Definitions
SpiTxDma |