Prusa MINI Firmware overview
Collaboration diagram for UART Parity:

Macros

#define UART_PARITY_NONE   0x00000000U
 
#define UART_PARITY_EVEN   ((uint32_t)USART_CR1_PCE)
 
#define UART_PARITY_ODD   ((uint32_t)(USART_CR1_PCE | USART_CR1_PS))
 

Detailed Description

Macro Definition Documentation

◆ UART_PARITY_NONE

#define UART_PARITY_NONE   0x00000000U

◆ UART_PARITY_EVEN

#define UART_PARITY_EVEN   ((uint32_t)USART_CR1_PCE)

◆ UART_PARITY_ODD

#define UART_PARITY_ODD   ((uint32_t)(USART_CR1_PCE | USART_CR1_PS))