STM32G474xx HAL用户手册
定义
上拉下拉
GPIO导出常量

定义

#define LL_GPIO_PULL_NO   (0x00000000U)
#define LL_GPIO_PULL_UP   GPIO_PUPDR_PUPD0_0
#define LL_GPIO_PULL_DOWN   GPIO_PUPDR_PUPD0_1

定义文档

#define LL_GPIO_PULL_DOWN   GPIO_PUPDR_PUPD0_1

选择I/O下拉

定义位于文件 181stm32g4xx_ll_gpio.h 中。

#define LL_GPIO_PULL_NO   (0x00000000U)

选择I/O无上拉

定义位于文件 179stm32g4xx_ll_gpio.h 中。

LL_GPIO_StructInit() 引用。

#define LL_GPIO_PULL_UP   GPIO_PUPDR_PUPD0_0

选择I/O上拉

定义位于文件 180stm32g4xx_ll_gpio.h 中。