STM32G474xx HAL用户手册
定义
停止位
USART导出常量

定义

#define LL_USART_STOPBITS_0_5   USART_CR2_STOP_0
#define LL_USART_STOPBITS_1   0x00000000U
#define LL_USART_STOPBITS_1_5   (USART_CR2_STOP_0 | USART_CR2_STOP_1)
#define LL_USART_STOPBITS_2   USART_CR2_STOP_1

定义文档

#define LL_USART_STOPBITS_0_5   USART_CR2_STOP_0

0.5个停止位

定义于文件stm32g4xx_ll_usart.h399行。

#define LL_USART_STOPBITS_1   0x00000000U

1个停止位

定义于文件stm32g4xx_ll_usart.h400行。

LL_USART_StructInit()引用。

#define LL_USART_STOPBITS_1_5   (USART_CR2_STOP_0 | USART_CR2_STOP_1)

1.5个停止位

定义于文件stm32g4xx_ll_usart.h401行。

#define LL_USART_STOPBITS_2   USART_CR2_STOP_1

2个停止位

定义于文件stm32g4xx_ll_usart.h402行。