STM32F4 Alternate function mapping
#define GPIO_AF0_MCO // MCO (MCO1 and MCO2) Alternate Function mapping #define GPIO_AF0_RTC_50Hz // RTC_50Hz Alternate Function mapping #define GPIO_AF0_SWJ // SWJ (SWD and JTAG) Alternate Function mapping #define GPIO_AF0_TAMPER // TAMPER (TAMPER_1 and TAMPER_2) Alternate Function mapping #define GPIO_AF0_TRACE // TRACE Alternate Function mapping #define GPIO_AF1_TIM1 // TIM1 Alternate Function mapping #define GPIO_AF1_TIM2 // TIM2 Alternate Function mapping #define GPIO_AF2_TIM3 // TIM3 Alternate Function mapping #define GPIO_AF2_TIM4 // TIM4 Alternate Function mapping #define GPIO_AF2_TIM5 // TIM5 Alternate Function mapping #define GPIO_AF3_CEC // CEC Alternate Function mapping #define GPIO_AF3_TIM10 // TIM10 Alternate Function mapping #define GPIO_AF3_TIM11 // TIM11 Alternate Function mapping #define GPIO_AF3_TIM8 // TIM8 Alternate Function mapping #define GPIO_AF3_TIM9 // TIM9 Alternate Function mapping #define GPIO_AF4_CEC // CEC Alternate Function mapping #define GPIO_AF4_FMPI2C1 // FMPI2C1 Alternate Function mapping #define GPIO_AF4_I2C1 // I2C1 Alternate Function mapping #define GPIO_AF4_I2C2 // I2C2 Alternate Function mapping #define GPIO_AF4_I2C3 // I2C3 Alternate Function mapping #define GPIO_AF5_I2S3ext // I2S3ext_SD Alternate Function mapping #define GPIO_AF5_I2S3ext // I2S3ext_SD Alternate Function mapping #define GPIO_AF5_I2S3ext // I2S3ext_SD Alternate Function mapping #define GPIO_AF5_SPI1 // SPI1 Alternate Function mapping #define GPIO_AF5_SPI1 // SPI1/I2S1 Alternate Function mapping #define GPIO_AF5_SPI2 // SPI2/I2S2 Alternate Function mapping #define GPIO_AF5_SPI3 // SPI3/I2S3 Alternate Function mapping #define GPIO_AF5_SPI4 // SPI4 Alternate Function mapping #define GPIO_AF5_SPI5 // SPI5 Alternate Function mapping #define GPIO_AF5_SPI6 // SPI6 Alternate Function mapping #define GPIO_AF6_I2S2ext // I2S2ext_SD Alternate Function mapping #define GPIO_AF6_I2S2ext // I2S2ext_SD Alternate Function mapping #define GPIO_AF6_SAI1 // SAI1 Alternate Function mapping #define GPIO_AF6_SPI2 // I2S2 Alternate Function mapping #define GPIO_AF6_SPI2 // SPI2/I2S2 Alternate Function mapping #define GPIO_AF6_SPI3 // SPI3/I2S3 Alternate Function mapping #define GPIO_AF6_SPI4 // SPI4 Alternate Function mapping #define GPIO_AF6_SPI4 // SPI4/I2S4 Alternate Function mapping #define GPIO_AF6_SPI5 // SPI5/I2S5 Alternate Function mapping #define GPIO_AF7_I2S3ext // I2S3ext_SD Alternate Function mapping #define GPIO_AF7_SPDIFRX // SPDIFRX Alternate Function mapping #define GPIO_AF7_SPI2 // SPI2/I2S2 Alternate Function mapping #define GPIO_AF7_SPI3 // SPI3/I2S3 Alternate Function mapping #define GPIO_AF7_UART5 // UART5 Alternate Function mapping #define GPIO_AF7_USART1 // USART1 Alternate Function mapping #define GPIO_AF7_USART2 // USART2 Alternate Function mapping #define GPIO_AF7_USART3 // USART3 Alternate Function mapping #define GPIO_AF8_SAI2 // SAI2 Alternate Function mapping #define GPIO_AF8_SPDIFRX // SPDIFRX Alternate Function mapping #define GPIO_AF8_UART4 // UART4 Alternate Function mapping #define GPIO_AF8_UART5 // UART5 Alternate Function mapping #define GPIO_AF8_UART7 // UART7 Alternate Function mapping #define GPIO_AF8_UART8 // UART8 Alternate Function mapping #define GPIO_AF8_USART6 // USART6 Alternate Function mapping #define GPIO_AF9_CAN1 // CAN1 Alternate Function mapping #define GPIO_AF9_CAN1 // CAN1 Alternate Function mapping #define GPIO_AF9_CAN2 // CAN2 Alternate Function mapping #define GPIO_AF9_CAN2 // CAN2 Alternate Function mapping #define GPIO_AF9_I2C2 // I2C2 Alternate Function mapping #define GPIO_AF9_I2C3 // I2C3 Alternate Function mapping #define GPIO_AF9_LTDC // LCD-TFT Alternate Function mapping #define GPIO_AF9_QSPI // QSPI Alternate Function mapping #define GPIO_AF9_TIM12 // TIM12 Alternate Function mapping #define GPIO_AF9_TIM12 // TIM12 Alternate Function mapping #define GPIO_AF9_TIM13 // TIM13 Alternate Function mapping #define GPIO_AF9_TIM13 // TIM13 Alternate Function mapping #define GPIO_AF9_TIM14 // TIM14 Alternate Function mapping #define GPIO_AF9_TIM14 // TIM14 Alternate Function mapping #define GPIO_AF10_OTG_FS // OTG_FS Alternate Function mapping #define GPIO_AF10_OTG_HS // OTG_HS Alternate Function mapping #define GPIO_AF10_QSPI // QSPI Alternate Function mapping #define GPIO_AF10_SAI2 // SAI2 Alternate Function mapping #define GPIO_AF11_ETH // ETHERNET Alternate Function mapping #define GPIO_AF12_FMC // FMC Alternate Function mapping #define GPIO_AF12_FSMC // FSMC Alternate Function mapping #define GPIO_AF12_OTG_HS_FS // OTG HS configured in FS, Alternate Function mapping #define GPIO_AF12_SDIO // SDIO Alternate Function mapping #define GPIO_AF12_SDIO // SDIO Alternate Function mapping #define GPIO_AF13_DCMI // DCMI Alternate Function mapping #define GPIO_AF14_LTDC // LCD-TFT Alternate Function mapping #define GPIO_AF15_EVENTOUT // EVENTOUT Alternate Function mapping