RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros

UART RXFIFO threshold level. More...

Macros

#define UART_RXFIFO_THRESHOLD_1_8   0x00000000U
 
#define UART_RXFIFO_THRESHOLD_1_4   USART_CR3_RXFTCFG_0
 
#define UART_RXFIFO_THRESHOLD_1_2   USART_CR3_RXFTCFG_1
 
#define UART_RXFIFO_THRESHOLD_3_4   (USART_CR3_RXFTCFG_0|USART_CR3_RXFTCFG_1)
 
#define UART_RXFIFO_THRESHOLD_7_8   USART_CR3_RXFTCFG_2
 
#define UART_RXFIFO_THRESHOLD_8_8   (USART_CR3_RXFTCFG_2|USART_CR3_RXFTCFG_0)
 

Detailed Description

UART RXFIFO threshold level.

Macro Definition Documentation

◆ UART_RXFIFO_THRESHOLD_1_2

#define UART_RXFIFO_THRESHOLD_1_2   USART_CR3_RXFTCFG_1

RX FIFO reaches 1/2 of its depth

◆ UART_RXFIFO_THRESHOLD_1_4

#define UART_RXFIFO_THRESHOLD_1_4   USART_CR3_RXFTCFG_0

RX FIFO reaches 1/4 of its depth

◆ UART_RXFIFO_THRESHOLD_1_8

#define UART_RXFIFO_THRESHOLD_1_8   0x00000000U

RX FIFO reaches 1/8 of its depth

◆ UART_RXFIFO_THRESHOLD_3_4

#define UART_RXFIFO_THRESHOLD_3_4   (USART_CR3_RXFTCFG_0|USART_CR3_RXFTCFG_1)

RX FIFO reaches 3/4 of its depth

◆ UART_RXFIFO_THRESHOLD_7_8

#define UART_RXFIFO_THRESHOLD_7_8   USART_CR3_RXFTCFG_2

RX FIFO reaches 7/8 of its depth

◆ UART_RXFIFO_THRESHOLD_8_8

#define UART_RXFIFO_THRESHOLD_8_8   (USART_CR3_RXFTCFG_2|USART_CR3_RXFTCFG_0)

RX FIFO becomes full