STM32F479xx HAL User Manual
|
Defines | |
#define | GPIO_GET_INDEX(__GPIOx__) |
#define GPIO_GET_INDEX | ( | __GPIOx__ | ) |
(uint8_t)(((__GPIOx__) == (GPIOA))? 0U :\ ((__GPIOx__) == (GPIOB))? 1U :\ ((__GPIOx__) == (GPIOC))? 2U :\ ((__GPIOx__) == (GPIOD))? 3U :\ ((__GPIOx__) == (GPIOE))? 4U :\ ((__GPIOx__) == (GPIOF))? 5U :\ ((__GPIOx__) == (GPIOG))? 6U :\ ((__GPIOx__) == (GPIOH))? 7U :\ ((__GPIOx__) == (GPIOI))? 8U :\ ((__GPIOx__) == (GPIOJ))? 9U : 10U)
Definition at line 1280 of file stm32f4xx_hal_gpio_ex.h.
Referenced by HAL_GPIO_DeInit(), and HAL_GPIO_Init().