Macros
Collaboration diagram for GPIO Get Port Index:

Macros

#define GPIO_GET_INDEX(__GPIOx__)
 
#define GPIO_GET_INDEX(__GPIOx__)
 

Detailed Description

Macro Definition Documentation

◆ GPIO_GET_INDEX [1/2]

#define GPIO_GET_INDEX (   __GPIOx__)
Value:
(((__GPIOx__) == (GPIOA))? 0UL :\
((__GPIOx__) == (GPIOB))? 1UL :\
((__GPIOx__) == (GPIOC))? 2UL :\
((__GPIOx__) == (GPIOD))? 3UL :\
((__GPIOx__) == (GPIOE))? 4UL :\
((__GPIOx__) == (GPIOF))? 5UL :\
((__GPIOx__) == (GPIOG))? 6UL :\
((__GPIOx__) == (GPIOH))? 7UL :\
((__GPIOx__) == (GPIOJ))? 9UL : 10UL)

Definition at line 440 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio_ex.h.

◆ GPIO_GET_INDEX [2/2]

#define GPIO_GET_INDEX (   __GPIOx__)
Value:
(((__GPIOx__) == (GPIOA))? 0UL :\
((__GPIOx__) == (GPIOB))? 1UL :\
((__GPIOx__) == (GPIOC))? 2UL :\
((__GPIOx__) == (GPIOD))? 3UL :\
((__GPIOx__) == (GPIOE))? 4UL :\
((__GPIOx__) == (GPIOF))? 5UL :\
((__GPIOx__) == (GPIOG))? 6UL :\
((__GPIOx__) == (GPIOH))? 7UL :\
((__GPIOx__) == (GPIOJ))? 9UL : 10UL)

Definition at line 440 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio_ex.h.

GPIOE
#define GPIOE
Definition: stm32f407xx.h:1107
GPIOJ
#define GPIOJ
Definition: stm32f469xx.h:1349
GPIOA
#define GPIOA
Definition: stm32f407xx.h:1103
GPIOH
#define GPIOH
Definition: stm32f407xx.h:1110
GPIOB
#define GPIOB
Definition: stm32f407xx.h:1104
GPIOG
#define GPIOG
Definition: stm32f407xx.h:1109
GPIOD
#define GPIOD
Definition: stm32f407xx.h:1106
GPIOF
#define GPIOF
Definition: stm32f407xx.h:1108
GPIOC
#define GPIOC
Definition: stm32f407xx.h:1105


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:06