Module stm32_hal2::usart [−][src]
Expand description
This module allows for serial communication using the STM32 USART module.
Supports Embedded HAL Read
and Write
traits.
Structs
Usart | Represents the USART peripheral, for serial communications. |
UsartConfig |
Enums
Error | Serial error |
OverSampling | Set Oversampling16 or Oversampling8 modes. |
StopBits | The number of stop bits. (USART_CR2, STOP) |
UsartDevice | Specify the Usart device to use. Used internally for setting the appropriate APB. |
UsartInterrupt | The type of USART interrupt to configure. Reference the USART_ISR register. |
WordLen | The length of word to transmit and receive. (USART_CR1, M) |