STM32G474xx HAL用户手册
定义
FIFO阈值
USART导出常量

定义

#define LL_USART_FIFOTHRESHOLD_1_8   0x00000000U
#define LL_USART_FIFOTHRESHOLD_1_4   0x00000001U
#define LL_USART_FIFOTHRESHOLD_1_2   0x00000002U
#define LL_USART_FIFOTHRESHOLD_3_4   0x00000003U
#define LL_USART_FIFOTHRESHOLD_7_8   0x00000004U
#define LL_USART_FIFOTHRESHOLD_8_8   0x00000005U

定义说明

#define LL_USART_FIFOTHRESHOLD_1_2   0x00000002U

FIFO达到其深度的1/2

Definition at line 281 of file stm32g4xx_ll_usart.h.

#define LL_USART_FIFOTHRESHOLD_1_4   0x00000001U

FIFO达到其深度的1/4

Definition at line 280 of file stm32g4xx_ll_usart.h.

#define LL_USART_FIFOTHRESHOLD_1_8   0x00000000U

FIFO达到其深度的1/8

Definition at line 279 of file stm32g4xx_ll_usart.h.

#define LL_USART_FIFOTHRESHOLD_3_4   0x00000003U

FIFO达到其深度的3/4

Definition at line 282 of file stm32g4xx_ll_usart.h.

#define LL_USART_FIFOTHRESHOLD_7_8   0x00000004U

FIFO达到其深度的7/8

Definition at line 283 of file stm32g4xx_ll_usart.h.

#define LL_USART_FIFOTHRESHOLD_8_8   0x00000005U

TX时FIFO变空,RX时FIFO变满

Definition at line 284 of file stm32g4xx_ll_usart.h.