41#ifndef UART_TXBUF_SIZE 
   42#define UART_TXBUF_SIZE    (64) 
   52#define UART_INVALID_MODE   (0x8000000) 
   58#define HAVE_UART_PARITY_T 
   72#define HAVE_UART_DATA_BITS_T 
   76#if defined(USART_CR1_M1) 
   89#define HAVE_UART_STOP_BITS_T 
  105#ifndef CPU_FAM_STM32F1 
  111#ifdef MODULE_PERIPH_UART_HW_FC 
  114#ifndef CPU_FAM_STM32F1 
  119#if defined(CPU_FAM_STM32L0) || defined(CPU_FAM_STM32L4) || \ 
  120    defined(CPU_FAM_STM32WB) || defined(CPU_FAM_STM32G4) || \ 
  121    defined(CPU_FAM_STM32L5) || defined(CPU_FAM_STM32U5) || \ 
  122    defined(CPU_FAM_STM32MP1) || defined(CPU_FAM_STM32WL) 
  126#ifdef MODULE_PERIPH_DMA 
DMA CPU specific definitions for the STM32 family.
 
GPIO CPU definitions for the STM32 family.
 
uart_type_t
UART hardware module types.
 
@ STM32_LPUART
STM32 Low-power UART (LPUART) module type.
 
@ STM32_USART
STM32 USART module type.
 
gpio_af_t
Override alternative GPIO mode options.
 
uart_type_t
UART hardware module types.
 
uart_parity_t
Definition of possible parity modes.
 
@ UART_PARITY_SPACE
space parity
 
@ UART_PARITY_NONE
no parity
 
@ UART_PARITY_EVEN
even parity
 
@ UART_PARITY_ODD
odd parity
 
@ UART_PARITY_MARK
mark parity
 
uart_stop_bits_t
Definition of possible stop bits lengths.
 
@ UART_STOP_BITS_2
2 stop bits
 
@ UART_STOP_BITS_1
1 stop bit
 
#define UART_INVALID_MODE
Invalid UART mode mask.
 
uart_data_bits_t
Definition of possible data bits lengths in a UART frame.
 
@ UART_DATA_BITS_6
6 data bits
 
@ UART_DATA_BITS_5
5 data bits
 
@ UART_DATA_BITS_7
7 data bits
 
@ UART_DATA_BITS_8
8 data bits
 
unsigned dma_t
DMA channel type.
 
UART device configuration.
 
uart_type_t type
Hardware module type (KINETIS_UART or KINETIS_LPUART)
 
USART_t * dev
pointer to the used UART device
 
gpio_af_t rx_af
alternate function for RX pin
 
uint32_t rcc_mask
bit in clock enable register
 
gpio_t tx_pin
pin used for TX
 
gpio_af_t tx_af
alternate function for TX pin
 
gpio_t rx_pin
pin used for RX