HAL
GPIO_MODE is only used within HAL.
 
Symbols
loading...
Files
loading...

GPIO_MODE macro

Syntax

#define GPIO_MODE (0x3UL << GPIO_MODE_Pos)

References

LocationText
stm32f4xx_hal_gpio.h:255
#define GPIO_MODE (0x3UL << GPIO_MODE_Pos)
stm32f4xx_hal_gpio.c:188
if(((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) || \
stm32f4xx_hal_gpio.c:189
(GPIO_Init->Mode & GPIO_MODE) == MODE_AF)
stm32f4xx_hal_gpio.c:206
if((GPIO_Init->Mode & GPIO_MODE) != MODE_ANALOG)
stm32f4xx_hal_gpio.c:219
if((GPIO_Init->Mode & GPIO_MODE) == MODE_AF)
stm32f4xx_hal_gpio.c:233
temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2U));