Expand description

This module allows for serial communication using the STM32 USART module. Provides APIs to configure, read, and write from USART, with blocking, nonblocking, and DMA functionality.

Structs

Represents the USART peripheral, for serial communications.

Configuration for Usart. Can be used with default::Default.

Enums

Serial error

Set Oversampling16 or Oversampling8 modes.

Parity control enable/disable, and even/odd selection (USART_CR1, PCE and PS)

The number of stop bits. (USART_CR2, STOP)

The type of USART interrupt to configure. Reference the USART_ISR register.

The length of word to transmit and receive. (USART_CR1, M)