Macros
Collaboration diagram for GPIO_Alternat_function_selection_define:

Macros

#define GPIO_AF5_SPI3   ((uint8_t)0x05) /* SPI3/I2S3 Alternate Function mapping (Only for STM32F411xE Devices) */
 
#define GPIO_AF6_SPI2   ((uint8_t)0x06) /* SPI2 Alternate Function mapping (Only for STM32F411xE Devices) */
 
#define GPIO_AF6_SPI4   ((uint8_t)0x06) /* SPI4 Alternate Function mapping (Only for STM32F411xE Devices) */
 
#define GPIO_AF6_SPI5   ((uint8_t)0x06) /* SPI5 Alternate Function mapping (Only for STM32F411xE Devices) */
 
#define GPIO_AF7_SPI3   ((uint8_t)0x07) /* SPI3/I2S3ext Alternate Function mapping */
 
#define GPIO_AF9_I2C2   ((uint8_t)0x09) /* I2C2 Alternate Function mapping (Only for STM32F401xx/STM32F411xE Devices) */
 
#define GPIO_AF9_I2C3   ((uint8_t)0x09) /* I2C3 Alternate Function mapping (Only for STM32F401xx/STM32F411xE Devices) */
 
#define GPIO_AF9_LTDC   ((uint8_t)0x09) /* LTDC Alternate Function mapping */
 
#define GPIO_AF_CAN1   ((uint8_t)0x09) /* CAN1 Alternate Function mapping */
 AF 9 selection. More...
 
#define GPIO_AF_CAN1   ((uint8_t)0x09) /* CAN1 Alternate Function mapping */
 AF 9 selection. More...
 
#define GPIO_AF_CAN2   ((uint8_t)0x09) /* CAN2 Alternate Function mapping */
 
#define GPIO_AF_CAN2   ((uint8_t)0x09) /* CAN2 Alternate Function mapping */
 
#define GPIO_AF_DCMI   ((uint8_t)0x0D) /* DCMI Alternate Function mapping */
 AF 13 selection. More...
 
#define GPIO_AF_DCMI   ((uint8_t)0x0D) /* DCMI Alternate Function mapping */
 AF 13 selection. More...
 
#define GPIO_AF_ETH   ((uint8_t)0x0B) /* ETHERNET Alternate Function mapping */
 AF 11 selection. More...
 
#define GPIO_AF_ETH   ((uint8_t)0x0B) /* ETHERNET Alternate Function mapping */
 AF 11 selection. More...
 
#define GPIO_AF_EVENTOUT   ((uint8_t)0x0F) /* EVENTOUT Alternate Function mapping */
 AF 15 selection. More...
 
#define GPIO_AF_EVENTOUT   ((uint8_t)0x0F) /* EVENTOUT Alternate Function mapping */
 AF 15 selection. More...
 
#define GPIO_AF_FSMC   ((uint8_t)0xC) /* FSMC Alternate Function mapping */
 AF 12 selection. More...
 
#define GPIO_AF_I2C1   ((uint8_t)0x04) /* I2C1 Alternate Function mapping */
 AF 4 selection. More...
 
#define GPIO_AF_I2C1   ((uint8_t)0x04) /* I2C1 Alternate Function mapping */
 AF 4 selection. More...
 
#define GPIO_AF_I2C2   ((uint8_t)0x04) /* I2C2 Alternate Function mapping */
 
#define GPIO_AF_I2C2   ((uint8_t)0x04) /* I2C2 Alternate Function mapping */
 
#define GPIO_AF_I2C3   ((uint8_t)0x04) /* I2C3 Alternate Function mapping */
 
#define GPIO_AF_I2C3   ((uint8_t)0x04) /* I2C3 Alternate Function mapping */
 
#define GPIO_AF_I2S3ext   ((uint8_t)0x07) /* I2S3ext Alternate Function mapping */
 
#define GPIO_AF_I2S3ext   GPIO_AF7_SPI3
 AF 7 selection Legacy. More...
 
#define GPIO_AF_LTDC   ((uint8_t)0x0E) /* LCD-TFT Alternate Function mapping */
 AF 14 selection. More...
 
#define GPIO_AF_MCO   ((uint8_t)0x00) /* MCO (MCO1 and MCO2) Alternate Function mapping */
 
#define GPIO_AF_MCO   ((uint8_t)0x00) /* MCO (MCO1 and MCO2) Alternate Function mapping */
 
#define GPIO_AF_OTG_FS   ((uint8_t)0xA) /* OTG_FS Alternate Function mapping */
 AF 10 selection. More...
 
#define GPIO_AF_OTG_FS   ((uint8_t)0xA) /* OTG_FS Alternate Function mapping */
 AF 10 selection. More...
 
#define GPIO_AF_OTG_HS   ((uint8_t)0xA) /* OTG_HS Alternate Function mapping */
 
#define GPIO_AF_OTG_HS   ((uint8_t)0xA) /* OTG_HS Alternate Function mapping */
 
#define GPIO_AF_OTG_HS_FS   ((uint8_t)0xC) /* OTG HS configured in FS, Alternate Function mapping */
 
#define GPIO_AF_OTG_HS_FS   ((uint8_t)0xC) /* OTG HS configured in FS, Alternate Function mapping */
 AF 12 selection. More...
 
#define GPIO_AF_RTC_50Hz   ((uint8_t)0x00) /* RTC_50Hz Alternate Function mapping */
 AF 0 selection. More...
 
#define GPIO_AF_RTC_50Hz   ((uint8_t)0x00) /* RTC_50Hz Alternate Function mapping */
 AF 0 selection. More...
 
#define GPIO_AF_SAI1   ((uint8_t)0x06) /* SAI1 Alternate Function mapping */
 
#define GPIO_AF_SDIO   ((uint8_t)0xC) /* SDIO Alternate Function mapping */
 
#define GPIO_AF_SDIO   ((uint8_t)0xC) /* SDIO Alternate Function mapping */
 
#define GPIO_AF_SPI1   ((uint8_t)0x05) /* SPI1 Alternate Function mapping */
 AF 5 selection. More...
 
#define GPIO_AF_SPI1   ((uint8_t)0x05) /* SPI1/I2S1 Alternate Function mapping */
 AF 5 selection. More...
 
#define GPIO_AF_SPI2   ((uint8_t)0x05) /* SPI2/I2S2 Alternate Function mapping */
 
#define GPIO_AF_SPI2   ((uint8_t)0x05) /* SPI2/I2S2 Alternate Function mapping */
 
#define GPIO_AF_SPI3   ((uint8_t)0x06) /* SPI3/I2S3 Alternate Function mapping */
 AF 6 selection. More...
 
#define GPIO_AF_SPI3   ((uint8_t)0x06) /* SPI3/I2S3 Alternate Function mapping */
 AF 6 selection. More...
 
#define GPIO_AF_SPI4   ((uint8_t)0x05) /* SPI4 Alternate Function mapping */
 
#define GPIO_AF_SPI4   ((uint8_t)0x05) /* SPI4/I2S4 Alternate Function mapping */
 
#define GPIO_AF_SPI5   ((uint8_t)0x05) /* SPI5 Alternate Function mapping */
 
#define GPIO_AF_SPI5   ((uint8_t)0x05) /* SPI5 Alternate Function mapping */
 
#define GPIO_AF_SPI6   ((uint8_t)0x05) /* SPI6 Alternate Function mapping */
 
#define GPIO_AF_SPI6   ((uint8_t)0x05) /* SPI6 Alternate Function mapping */
 
#define GPIO_AF_SWJ   ((uint8_t)0x00) /* SWJ (SWD and JTAG) Alternate Function mapping */
 
#define GPIO_AF_SWJ   ((uint8_t)0x00) /* SWJ (SWD and JTAG) Alternate Function mapping */
 
#define GPIO_AF_TAMPER   ((uint8_t)0x00) /* TAMPER (TAMPER_1 and TAMPER_2) Alternate Function mapping */
 
#define GPIO_AF_TAMPER   ((uint8_t)0x00) /* TAMPER (TAMPER_1 and TAMPER_2) Alternate Function mapping */
 
#define GPIO_AF_TIM1   ((uint8_t)0x01) /* TIM1 Alternate Function mapping */
 AF 1 selection. More...
 
#define GPIO_AF_TIM1   ((uint8_t)0x01) /* TIM1 Alternate Function mapping */
 AF 1 selection. More...
 
#define GPIO_AF_TIM10   ((uint8_t)0x03) /* TIM10 Alternate Function mapping */
 
#define GPIO_AF_TIM10   ((uint8_t)0x03) /* TIM10 Alternate Function mapping */
 
#define GPIO_AF_TIM11   ((uint8_t)0x03) /* TIM11 Alternate Function mapping */
 
#define GPIO_AF_TIM11   ((uint8_t)0x03) /* TIM11 Alternate Function mapping */
 
#define GPIO_AF_TIM12   ((uint8_t)0x09) /* TIM12 Alternate Function mapping */
 
#define GPIO_AF_TIM12   ((uint8_t)0x09) /* TIM12 Alternate Function mapping */
 
#define GPIO_AF_TIM13   ((uint8_t)0x09) /* TIM13 Alternate Function mapping */
 
#define GPIO_AF_TIM13   ((uint8_t)0x09) /* TIM13 Alternate Function mapping */
 
#define GPIO_AF_TIM14   ((uint8_t)0x09) /* TIM14 Alternate Function mapping */
 
#define GPIO_AF_TIM14   ((uint8_t)0x09) /* TIM14 Alternate Function mapping */
 
#define GPIO_AF_TIM2   ((uint8_t)0x01) /* TIM2 Alternate Function mapping */
 
#define GPIO_AF_TIM2   ((uint8_t)0x01) /* TIM2 Alternate Function mapping */
 
#define GPIO_AF_TIM3   ((uint8_t)0x02) /* TIM3 Alternate Function mapping */
 AF 2 selection. More...
 
#define GPIO_AF_TIM3   ((uint8_t)0x02) /* TIM3 Alternate Function mapping */
 AF 2 selection. More...
 
#define GPIO_AF_TIM4   ((uint8_t)0x02) /* TIM4 Alternate Function mapping */
 
#define GPIO_AF_TIM4   ((uint8_t)0x02) /* TIM4 Alternate Function mapping */
 
#define GPIO_AF_TIM5   ((uint8_t)0x02) /* TIM5 Alternate Function mapping */
 
#define GPIO_AF_TIM5   ((uint8_t)0x02) /* TIM5 Alternate Function mapping */
 
#define GPIO_AF_TIM8   ((uint8_t)0x03) /* TIM8 Alternate Function mapping */
 AF 3 selection. More...
 
#define GPIO_AF_TIM8   ((uint8_t)0x03) /* TIM8 Alternate Function mapping */
 AF 3 selection. More...
 
#define GPIO_AF_TIM9   ((uint8_t)0x03) /* TIM9 Alternate Function mapping */
 
#define GPIO_AF_TIM9   ((uint8_t)0x03) /* TIM9 Alternate Function mapping */
 
#define GPIO_AF_TRACE   ((uint8_t)0x00) /* TRACE Alternate Function mapping */
 
#define GPIO_AF_TRACE   ((uint8_t)0x00) /* TRACE Alternate Function mapping */
 
#define GPIO_AF_UART4   ((uint8_t)0x08) /* UART4 Alternate Function mapping */
 AF 8 selection. More...
 
#define GPIO_AF_UART4   ((uint8_t)0x08) /* UART4 Alternate Function mapping */
 AF 8 selection. More...
 
#define GPIO_AF_UART5   ((uint8_t)0x08) /* UART5 Alternate Function mapping */
 
#define GPIO_AF_UART5   ((uint8_t)0x08) /* UART5 Alternate Function mapping */
 
#define GPIO_AF_UART7   ((uint8_t)0x08) /* UART7 Alternate Function mapping */
 
#define GPIO_AF_UART7   ((uint8_t)0x08) /* UART7 Alternate Function mapping */
 
#define GPIO_AF_UART8   ((uint8_t)0x08) /* UART8 Alternate Function mapping */
 
#define GPIO_AF_UART8   ((uint8_t)0x08) /* UART8 Alternate Function mapping */
 
#define GPIO_AF_USART1   ((uint8_t)0x07) /* USART1 Alternate Function mapping */
 AF 7 selection. More...
 
#define GPIO_AF_USART1   ((uint8_t)0x07) /* USART1 Alternate Function mapping */
 AF 7 selection. More...
 
#define GPIO_AF_USART2   ((uint8_t)0x07) /* USART2 Alternate Function mapping */
 
#define GPIO_AF_USART2   ((uint8_t)0x07) /* USART2 Alternate Function mapping */
 
#define GPIO_AF_USART3   ((uint8_t)0x07) /* USART3 Alternate Function mapping */
 
#define GPIO_AF_USART3   ((uint8_t)0x07) /* USART3 Alternate Function mapping */
 
#define GPIO_AF_USART6   ((uint8_t)0x08) /* USART6 Alternate Function mapping */
 
#define GPIO_AF_USART6   ((uint8_t)0x08) /* USART6 Alternate Function mapping */
 
#define IS_GPIO_AF(AF)
 

Detailed Description

Macro Definition Documentation

#define GPIO_AF5_SPI3   ((uint8_t)0x05) /* SPI3/I2S3 Alternate Function mapping (Only for STM32F411xE Devices) */
#define GPIO_AF6_SPI2   ((uint8_t)0x06) /* SPI2 Alternate Function mapping (Only for STM32F411xE Devices) */
#define GPIO_AF6_SPI4   ((uint8_t)0x06) /* SPI4 Alternate Function mapping (Only for STM32F411xE Devices) */
#define GPIO_AF6_SPI5   ((uint8_t)0x06) /* SPI5 Alternate Function mapping (Only for STM32F411xE Devices) */
#define GPIO_AF7_SPI3   ((uint8_t)0x07) /* SPI3/I2S3ext Alternate Function mapping */
#define GPIO_AF9_I2C2   ((uint8_t)0x09) /* I2C2 Alternate Function mapping (Only for STM32F401xx/STM32F411xE Devices) */
#define GPIO_AF9_I2C3   ((uint8_t)0x09) /* I2C3 Alternate Function mapping (Only for STM32F401xx/STM32F411xE Devices) */
#define GPIO_AF9_LTDC   ((uint8_t)0x09) /* LTDC Alternate Function mapping */
#define GPIO_AF_CAN1   ((uint8_t)0x09) /* CAN1 Alternate Function mapping */

AF 9 selection.

Definition at line 305 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_CAN1   ((uint8_t)0x09) /* CAN1 Alternate Function mapping */

AF 9 selection.

Definition at line 337 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_CAN2   ((uint8_t)0x09) /* CAN2 Alternate Function mapping */
#define GPIO_AF_CAN2   ((uint8_t)0x09) /* CAN2 Alternate Function mapping */
#define GPIO_AF_DCMI   ((uint8_t)0x0D) /* DCMI Alternate Function mapping */

AF 13 selection.

Definition at line 333 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_DCMI   ((uint8_t)0x0D) /* DCMI Alternate Function mapping */

AF 13 selection.

Definition at line 385 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_ETH   ((uint8_t)0x0B) /* ETHERNET Alternate Function mapping */

AF 11 selection.

Definition at line 320 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_ETH   ((uint8_t)0x0B) /* ETHERNET Alternate Function mapping */

AF 11 selection.

Definition at line 366 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_EVENTOUT   ((uint8_t)0x0F) /* EVENTOUT Alternate Function mapping */

AF 15 selection.

Definition at line 338 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_EVENTOUT   ((uint8_t)0x0F) /* EVENTOUT Alternate Function mapping */

AF 15 selection.

Definition at line 395 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_FSMC   ((uint8_t)0xC) /* FSMC Alternate Function mapping */

AF 12 selection.

Definition at line 325 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_I2C1   ((uint8_t)0x04) /* I2C1 Alternate Function mapping */

AF 4 selection.

Definition at line 267 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_I2C1   ((uint8_t)0x04) /* I2C1 Alternate Function mapping */

AF 4 selection.

Definition at line 281 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_I2C2   ((uint8_t)0x04) /* I2C2 Alternate Function mapping */
#define GPIO_AF_I2C2   ((uint8_t)0x04) /* I2C2 Alternate Function mapping */
#define GPIO_AF_I2C3   ((uint8_t)0x04) /* I2C3 Alternate Function mapping */
#define GPIO_AF_I2C3   ((uint8_t)0x04) /* I2C3 Alternate Function mapping */
#define GPIO_AF_I2S3ext   ((uint8_t)0x07) /* I2S3ext Alternate Function mapping */
#define GPIO_AF_I2S3ext   GPIO_AF7_SPI3

AF 7 selection Legacy.

Definition at line 319 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_LTDC   ((uint8_t)0x0E) /* LCD-TFT Alternate Function mapping */

AF 14 selection.

Definition at line 390 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_MCO   ((uint8_t)0x00) /* MCO (MCO1 and MCO2) Alternate Function mapping */
#define GPIO_AF_MCO   ((uint8_t)0x00) /* MCO (MCO1 and MCO2) Alternate Function mapping */
#define GPIO_AF_OTG_FS   ((uint8_t)0xA) /* OTG_FS Alternate Function mapping */

AF 10 selection.

Definition at line 314 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_OTG_FS   ((uint8_t)0xA) /* OTG_FS Alternate Function mapping */

AF 10 selection.

Definition at line 355 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_OTG_HS   ((uint8_t)0xA) /* OTG_HS Alternate Function mapping */
#define GPIO_AF_OTG_HS   ((uint8_t)0xA) /* OTG_HS Alternate Function mapping */
#define GPIO_AF_OTG_HS_FS   ((uint8_t)0xC) /* OTG HS configured in FS, Alternate Function mapping */
#define GPIO_AF_OTG_HS_FS   ((uint8_t)0xC) /* OTG HS configured in FS, Alternate Function mapping */

AF 12 selection.

Definition at line 379 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_RTC_50Hz   ((uint8_t)0x00) /* RTC_50Hz Alternate Function mapping */

AF 0 selection.

Definition at line 237 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_RTC_50Hz   ((uint8_t)0x00) /* RTC_50Hz Alternate Function mapping */

AF 0 selection.

Definition at line 246 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_SAI1   ((uint8_t)0x06) /* SAI1 Alternate Function mapping */
#define GPIO_AF_SDIO   ((uint8_t)0xC) /* SDIO Alternate Function mapping */
#define GPIO_AF_SDIO   ((uint8_t)0xC) /* SDIO Alternate Function mapping */
#define GPIO_AF_SPI1   ((uint8_t)0x05) /* SPI1 Alternate Function mapping */

AF 5 selection.

Definition at line 274 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_SPI1   ((uint8_t)0x05) /* SPI1/I2S1 Alternate Function mapping */

AF 5 selection.

Definition at line 292 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_SPI2   ((uint8_t)0x05) /* SPI2/I2S2 Alternate Function mapping */
#define GPIO_AF_SPI2   ((uint8_t)0x05) /* SPI2/I2S2 Alternate Function mapping */
#define GPIO_AF_SPI3   ((uint8_t)0x06) /* SPI3/I2S3 Alternate Function mapping */

AF 6 selection.

Definition at line 283 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_SPI3   ((uint8_t)0x06) /* SPI3/I2S3 Alternate Function mapping */

AF 6 selection.

Definition at line 302 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_SPI4   ((uint8_t)0x05) /* SPI4 Alternate Function mapping */
#define GPIO_AF_SPI4   ((uint8_t)0x05) /* SPI4/I2S4 Alternate Function mapping */
#define GPIO_AF_SPI5   ((uint8_t)0x05) /* SPI5 Alternate Function mapping */
#define GPIO_AF_SPI5   ((uint8_t)0x05) /* SPI5 Alternate Function mapping */
#define GPIO_AF_SPI6   ((uint8_t)0x05) /* SPI6 Alternate Function mapping */
#define GPIO_AF_SPI6   ((uint8_t)0x05) /* SPI6 Alternate Function mapping */
#define GPIO_AF_SWJ   ((uint8_t)0x00) /* SWJ (SWD and JTAG) Alternate Function mapping */
#define GPIO_AF_SWJ   ((uint8_t)0x00) /* SWJ (SWD and JTAG) Alternate Function mapping */
#define GPIO_AF_TAMPER   ((uint8_t)0x00) /* TAMPER (TAMPER_1 and TAMPER_2) Alternate Function mapping */
#define GPIO_AF_TAMPER   ((uint8_t)0x00) /* TAMPER (TAMPER_1 and TAMPER_2) Alternate Function mapping */
#define GPIO_AF_TIM1   ((uint8_t)0x01) /* TIM1 Alternate Function mapping */

AF 1 selection.

Definition at line 246 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_TIM1   ((uint8_t)0x01) /* TIM1 Alternate Function mapping */

AF 1 selection.

Definition at line 258 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_TIM10   ((uint8_t)0x03) /* TIM10 Alternate Function mapping */
#define GPIO_AF_TIM10   ((uint8_t)0x03) /* TIM10 Alternate Function mapping */
#define GPIO_AF_TIM11   ((uint8_t)0x03) /* TIM11 Alternate Function mapping */
#define GPIO_AF_TIM11   ((uint8_t)0x03) /* TIM11 Alternate Function mapping */
#define GPIO_AF_TIM12   ((uint8_t)0x09) /* TIM12 Alternate Function mapping */
#define GPIO_AF_TIM12   ((uint8_t)0x09) /* TIM12 Alternate Function mapping */
#define GPIO_AF_TIM13   ((uint8_t)0x09) /* TIM13 Alternate Function mapping */
#define GPIO_AF_TIM13   ((uint8_t)0x09) /* TIM13 Alternate Function mapping */
#define GPIO_AF_TIM14   ((uint8_t)0x09) /* TIM14 Alternate Function mapping */
#define GPIO_AF_TIM14   ((uint8_t)0x09) /* TIM14 Alternate Function mapping */
#define GPIO_AF_TIM2   ((uint8_t)0x01) /* TIM2 Alternate Function mapping */
#define GPIO_AF_TIM2   ((uint8_t)0x01) /* TIM2 Alternate Function mapping */
#define GPIO_AF_TIM3   ((uint8_t)0x02) /* TIM3 Alternate Function mapping */

AF 2 selection.

Definition at line 252 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_TIM3   ((uint8_t)0x02) /* TIM3 Alternate Function mapping */

AF 2 selection.

Definition at line 264 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_TIM4   ((uint8_t)0x02) /* TIM4 Alternate Function mapping */
#define GPIO_AF_TIM4   ((uint8_t)0x02) /* TIM4 Alternate Function mapping */
#define GPIO_AF_TIM5   ((uint8_t)0x02) /* TIM5 Alternate Function mapping */
#define GPIO_AF_TIM5   ((uint8_t)0x02) /* TIM5 Alternate Function mapping */
#define GPIO_AF_TIM8   ((uint8_t)0x03) /* TIM8 Alternate Function mapping */

AF 3 selection.

Definition at line 259 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_TIM8   ((uint8_t)0x03) /* TIM8 Alternate Function mapping */

AF 3 selection.

Definition at line 271 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_TIM9   ((uint8_t)0x03) /* TIM9 Alternate Function mapping */
#define GPIO_AF_TIM9   ((uint8_t)0x03) /* TIM9 Alternate Function mapping */
#define GPIO_AF_TRACE   ((uint8_t)0x00) /* TRACE Alternate Function mapping */
#define GPIO_AF_TRACE   ((uint8_t)0x00) /* TRACE Alternate Function mapping */
#define GPIO_AF_UART4   ((uint8_t)0x08) /* UART4 Alternate Function mapping */

AF 8 selection.

Definition at line 296 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_UART4   ((uint8_t)0x08) /* UART4 Alternate Function mapping */

AF 8 selection.

Definition at line 324 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_UART5   ((uint8_t)0x08) /* UART5 Alternate Function mapping */
#define GPIO_AF_UART5   ((uint8_t)0x08) /* UART5 Alternate Function mapping */
#define GPIO_AF_UART7   ((uint8_t)0x08) /* UART7 Alternate Function mapping */
#define GPIO_AF_UART7   ((uint8_t)0x08) /* UART7 Alternate Function mapping */
#define GPIO_AF_UART8   ((uint8_t)0x08) /* UART8 Alternate Function mapping */
#define GPIO_AF_UART8   ((uint8_t)0x08) /* UART8 Alternate Function mapping */
#define GPIO_AF_USART1   ((uint8_t)0x07) /* USART1 Alternate Function mapping */

AF 7 selection.

Definition at line 288 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.

#define GPIO_AF_USART1   ((uint8_t)0x07) /* USART1 Alternate Function mapping */

AF 7 selection.

Definition at line 311 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.h.

#define GPIO_AF_USART2   ((uint8_t)0x07) /* USART2 Alternate Function mapping */
#define GPIO_AF_USART2   ((uint8_t)0x07) /* USART2 Alternate Function mapping */
#define GPIO_AF_USART3   ((uint8_t)0x07) /* USART3 Alternate Function mapping */
#define GPIO_AF_USART3   ((uint8_t)0x07) /* USART3 Alternate Function mapping */
#define GPIO_AF_USART6   ((uint8_t)0x08) /* USART6 Alternate Function mapping */
#define GPIO_AF_USART6   ((uint8_t)0x08) /* USART6 Alternate Function mapping */
#define IS_GPIO_AF (   AF)
Value:
(((AF) == GPIO_AF_RTC_50Hz) || ((AF) == GPIO_AF_TIM14) || \
((AF) == GPIO_AF_MCO) || ((AF) == GPIO_AF_TAMPER) || \
((AF) == GPIO_AF_SWJ) || ((AF) == GPIO_AF_TRACE) || \
((AF) == GPIO_AF_TIM1) || ((AF) == GPIO_AF_TIM2) || \
((AF) == GPIO_AF_TIM3) || ((AF) == GPIO_AF_TIM4) || \
((AF) == GPIO_AF_TIM5) || ((AF) == GPIO_AF_TIM8) || \
((AF) == GPIO_AF_I2C1) || ((AF) == GPIO_AF_I2C2) || \
((AF) == GPIO_AF_I2C3) || ((AF) == GPIO_AF_SPI1) || \
((AF) == GPIO_AF_SPI2) || ((AF) == GPIO_AF_TIM13) || \
((AF) == GPIO_AF_SPI3) || ((AF) == GPIO_AF_TIM14) || \
((AF) == GPIO_AF_USART1) || ((AF) == GPIO_AF_USART2) || \
((AF) == GPIO_AF_USART3) || ((AF) == GPIO_AF_UART4) || \
((AF) == GPIO_AF_UART5) || ((AF) == GPIO_AF_USART6) || \
((AF) == GPIO_AF_CAN1) || ((AF) == GPIO_AF_CAN2) || \
((AF) == GPIO_AF_OTG_FS) || ((AF) == GPIO_AF_OTG_HS) || \
((AF) == GPIO_AF_ETH) || ((AF) == GPIO_AF_OTG_HS_FS) || \
((AF) == GPIO_AF_SDIO) || ((AF) == GPIO_AF_DCMI) || \
((AF) == GPIO_AF_EVENTOUT) || ((AF) == GPIO_AF_SPI4) || \
((AF) == GPIO_AF_SPI5) || ((AF) == GPIO_AF_SPI6) || \
((AF) == GPIO_AF_UART7) || ((AF) == GPIO_AF_UART8) || \
((AF) == GPIO_AF_FSMC))
#define GPIO_AF_RTC_50Hz
AF 0 selection.
#define GPIO_AF_TIM3
AF 2 selection.
#define GPIO_AF_UART4
AF 8 selection.
#define GPIO_AF_TIM1
AF 1 selection.
#define GPIO_AF_TIM8
AF 3 selection.
#define GPIO_AF_DCMI
AF 13 selection.
#define GPIO_AF_OTG_FS
AF 10 selection.
#define GPIO_AF_ETH
AF 11 selection.
#define GPIO_AF_SPI3
AF 6 selection.
#define GPIO_AF_CAN1
AF 9 selection.
#define GPIO_AF_USART1
AF 7 selection.
#define GPIO_AF_FSMC
AF 12 selection.
#define GPIO_AF_I2C1
AF 4 selection.
#define GPIO_AF_EVENTOUT
AF 15 selection.
#define GPIO_AF_SPI1
AF 5 selection.

Definition at line 340 of file STM32F4xx_StdPeriph_Driver/inc/stm32f4xx_gpio.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:54