RTEMS 6.1-rc1
Macros

UART TXFIFO threshold level. More...

Macros

#define UART_TXFIFO_THRESHOLD_1_8   0x00000000U
 
#define UART_TXFIFO_THRESHOLD_1_4   USART_CR3_TXFTCFG_0
 
#define UART_TXFIFO_THRESHOLD_1_2   USART_CR3_TXFTCFG_1
 
#define UART_TXFIFO_THRESHOLD_3_4   (USART_CR3_TXFTCFG_0|USART_CR3_TXFTCFG_1)
 
#define UART_TXFIFO_THRESHOLD_7_8   USART_CR3_TXFTCFG_2
 
#define UART_TXFIFO_THRESHOLD_8_8   (USART_CR3_TXFTCFG_2|USART_CR3_TXFTCFG_0)
 

Detailed Description

UART TXFIFO threshold level.

Macro Definition Documentation

◆ UART_TXFIFO_THRESHOLD_1_2

#define UART_TXFIFO_THRESHOLD_1_2   USART_CR3_TXFTCFG_1

TX FIFO reaches 1/2 of its depth

◆ UART_TXFIFO_THRESHOLD_1_4

#define UART_TXFIFO_THRESHOLD_1_4   USART_CR3_TXFTCFG_0

TX FIFO reaches 1/4 of its depth

◆ UART_TXFIFO_THRESHOLD_1_8

#define UART_TXFIFO_THRESHOLD_1_8   0x00000000U

TX FIFO reaches 1/8 of its depth

◆ UART_TXFIFO_THRESHOLD_3_4

#define UART_TXFIFO_THRESHOLD_3_4   (USART_CR3_TXFTCFG_0|USART_CR3_TXFTCFG_1)

TX FIFO reaches 3/4 of its depth

◆ UART_TXFIFO_THRESHOLD_7_8

#define UART_TXFIFO_THRESHOLD_7_8   USART_CR3_TXFTCFG_2

TX FIFO reaches 7/8 of its depth

◆ UART_TXFIFO_THRESHOLD_8_8

#define UART_TXFIFO_THRESHOLD_8_8   (USART_CR3_TXFTCFG_2|USART_CR3_TXFTCFG_0)

TX FIFO becomes empty