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

SMARTCARD TXFIFO level. More...

Macros

#define SMARTCARD_TXFIFO_THRESHOLD_1_8   0x00000000U
 
#define SMARTCARD_TXFIFO_THRESHOLD_1_4   USART_CR3_TXFTCFG_0
 
#define SMARTCARD_TXFIFO_THRESHOLD_1_2   USART_CR3_TXFTCFG_1
 
#define SMARTCARD_TXFIFO_THRESHOLD_3_4   (USART_CR3_TXFTCFG_0|USART_CR3_TXFTCFG_1)
 
#define SMARTCARD_TXFIFO_THRESHOLD_7_8   USART_CR3_TXFTCFG_2
 
#define SMARTCARD_TXFIFO_THRESHOLD_8_8   (USART_CR3_TXFTCFG_2|USART_CR3_TXFTCFG_0)
 

Detailed Description

SMARTCARD TXFIFO level.

Macro Definition Documentation

◆ SMARTCARD_TXFIFO_THRESHOLD_1_2

#define SMARTCARD_TXFIFO_THRESHOLD_1_2   USART_CR3_TXFTCFG_1

TXFIFO reaches 1/2 of its depth

◆ SMARTCARD_TXFIFO_THRESHOLD_1_4

#define SMARTCARD_TXFIFO_THRESHOLD_1_4   USART_CR3_TXFTCFG_0

TXFIFO reaches 1/4 of its depth

◆ SMARTCARD_TXFIFO_THRESHOLD_1_8

#define SMARTCARD_TXFIFO_THRESHOLD_1_8   0x00000000U

TXFIFO reaches 1/8 of its depth

◆ SMARTCARD_TXFIFO_THRESHOLD_3_4

#define SMARTCARD_TXFIFO_THRESHOLD_3_4   (USART_CR3_TXFTCFG_0|USART_CR3_TXFTCFG_1)

TXFIFO reaches 3/4 of its depth

◆ SMARTCARD_TXFIFO_THRESHOLD_7_8

#define SMARTCARD_TXFIFO_THRESHOLD_7_8   USART_CR3_TXFTCFG_2

TXFIFO reaches 7/8 of its depth

◆ SMARTCARD_TXFIFO_THRESHOLD_8_8

#define SMARTCARD_TXFIFO_THRESHOLD_8_8   (USART_CR3_TXFTCFG_2|USART_CR3_TXFTCFG_0)

TXFIFO becomes empty