STM32G474xx HAL User Manual
宏定义
Mode
GPIO Exported Constants

宏定义

#define LL_GPIO_MODE_INPUT   (0x00000000U)
#define LL_GPIO_MODE_OUTPUT   GPIO_MODER_MODE0_0
#define LL_GPIO_MODE_ALTERNATE   GPIO_MODER_MODE0_1
#define LL_GPIO_MODE_ANALOG   GPIO_MODER_MODE0

宏定义说明

#define LL_GPIO_MODE_ALTERNATE   GPIO_MODER_MODE0_1

选择复用功能模式

Definition at line 146 of file stm32g4xx_ll_gpio.h.

Referenced by LL_GPIO_Init().

#define LL_GPIO_MODE_ANALOG   GPIO_MODER_MODE0

选择模拟模式

Definition at line 147 of file stm32g4xx_ll_gpio.h.

Referenced by LL_GPIO_StructInit().

#define LL_GPIO_MODE_INPUT   (0x00000000U)

选择输入模式

Definition at line 144 of file stm32g4xx_ll_gpio.h.

#define LL_GPIO_MODE_OUTPUT   GPIO_MODER_MODE0_0

选择输出模式

Definition at line 145 of file stm32g4xx_ll_gpio.h.

Referenced by LL_GPIO_Init().