44#ifndef UART_TXBUF_SIZE
45#define UART_TXBUF_SIZE (64)
55#define UART_INVALID_MODE (0x8000000)
61#define HAVE_UART_PARITY_T
75#define HAVE_UART_DATA_BITS_T
79#if defined(USART_CR1_M1)
92#define HAVE_UART_STOP_BITS_T
108#ifndef CPU_FAM_STM32F1
114#ifdef MODULE_PERIPH_UART_HW_FC
117#ifndef CPU_FAM_STM32F1
122#if defined(CPU_FAM_STM32L0) || defined(CPU_FAM_STM32L4) || \
123 defined(CPU_FAM_STM32WB) || defined(CPU_FAM_STM32G4) || \
124 defined(CPU_FAM_STM32L5) || defined(CPU_FAM_STM32U5) || \
125 defined(CPU_FAM_STM32MP1) || defined(CPU_FAM_STM32WL)
129#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