Expand description
§USART Driver
Provides a hardware abstraction layer for Universal Synchronous/Asynchronous Receiver/Transmitter (USART) communication on STM32 microcontrollers.
This module defines the USART trait and supporting types for serial communication including UART, synchronous modes, and modem control across different STM32 families.
Modules§
Structs§
- Config
- Holds the configuration for a USART peripheral.
- Event
- Represents USART communication events.
- Modem
Status - Represents the status of the modem signals.
- Status
- Represents the status of the USART peripheral.
Enums§
- Clock
Phase - Defines the clock phase for synchronous modes.
- Clock
Polarity - Defines the clock polarity for synchronous modes.
- Data
Bits - Defines the number of data bits in a frame.
- Flow
Control - Defines the flow control type.
- Mode
- Defines the possible modes for USART communication.
- Modem
Control - Defines the modem control lines.
- Parity
- Defines the parity generation and checking.
- Stop
Bits - Defines the number of stop bits.
Traits§
- Usart
- A trait that defines a standard interface for a USART driver.