Expand description
§SPI Driver
Provides a hardware abstraction layer for Serial Peripheral Interface (SPI) communication on STM32 microcontrollers.
This module defines the SPI trait and supporting types for configuring master/slave modes, frame formats, and data transfer operations across different STM32 families.
Modules§
Structs§
- Config
- Holds the configuration for a SPI peripheral.
- Event
- Represents SPI communication events.
- Status
- Represents the status of the SPI peripheral.
Enums§
- BitOrder
- Defines the bit order for data transfers.
- Frame
Format - Defines the SPI frame format.
- Mode
- Defines the operational mode of the SPI peripheral.
- Slave
Select Mode - Defines the slave select mode.
Traits§
- Spi
- A trait that defines a standard interface for a SPI driver.