STM32G474xx HAL 用户手册
定义
TX RX 引脚交换
LPUART 导出常量

定义

#define LL_LPUART_TXRX_STANDARD   0x00000000U
#define LL_LPUART_TXRX_SWAPPED   (USART_CR2_SWAP)

定义文档

#define LL_LPUART_TXRX_STANDARD   0x00000000U

TX/RX引脚按标准引脚定义使用

定义于文件 stm32g4xx_ll_lpuart.h318 行。

#define LL_LPUART_TXRX_SWAPPED   (USART_CR2_SWAP)

TX和RX引脚功能已交换。

定义于文件 stm32g4xx_ll_lpuart.h319 行。