Port ,Pin ,AF0          ,AF1             ,AF2       ,AF3           ,AF4      ,AF5      ,AF6      ,AF7                 ,AF8                   ,AF9       ,AF10           ,AF11                      ,AF12            ,AF13       ,AF14                   ,AF15    ,ADC
     ,    ,SYS_AF       ,TIM1/TIM2/LPTIM1,TIM1/TIM2 ,SPI2/SAI1/TIM1,I2C1/I2C3,SPI1/SPI2,RF       ,USART1              ,LPUART1               ,TSC       ,USB/QUADSPI    ,LCD                       ,COMP1/COMP2/TIM1,SAI1       ,TIM2/TIM16/TIM17/LPTIM2,EVENTOUT,ADC
PortA,PA0 ,             ,TIM2_CH1        ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,                          ,COMP1_OUT       ,SAI1_EXTCLK,TIM2_ETR               ,EVENTOUT,ADC1_IN5
PortA,PA1 ,             ,TIM2_CH2        ,          ,              ,I2C1_SMBA,SPI1_SCK ,         ,                    ,                      ,          ,               ,LCD_SEG0                  ,                ,           ,                       ,EVENTOUT,ADC1_IN6
PortA,PA2 ,LSCO         ,TIM2_CH3        ,          ,              ,         ,         ,         ,                    ,LPUART1_TX            ,          ,QUADSPI_BK1_NCS,LCD_SEG1                  ,COMP2_OUT       ,           ,                       ,EVENTOUT,ADC1_IN7
PortA,PA3 ,             ,TIM2_CH4        ,          ,SAI1_PDM_CK1  ,         ,         ,         ,                    ,LPUART1_RX            ,          ,QUADSPI_CLK    ,LCD_SEG2                  ,                ,SAI1_MCLK_A,                       ,EVENTOUT,ADC1_IN8
PortA,PA4 ,             ,                ,          ,              ,         ,SPI1_NSS ,         ,                    ,                      ,          ,               ,LCD_SEG5                  ,                ,SAI1_FS_B  ,LPTIM2_OUT             ,EVENTOUT,ADC1_IN9
PortA,PA5 ,             ,TIM2_CH1        ,TIM2_ETR  ,              ,         ,SPI1_SCK ,         ,                    ,                      ,          ,               ,                          ,                ,SAI1_SD_B  ,LPTIM2_ETR             ,EVENTOUT,ADC1_IN10
PortA,PA6 ,             ,TIM1_BKIN       ,          ,              ,         ,SPI1_MISO,         ,                    ,LPUART1_CTS           ,          ,QUADSPI_BK1_IO3,LCD_SEG3                  ,TIM1_BKIN       ,           ,TIM16_CH1              ,EVENTOUT,ADC1_IN11
PortA,PA7 ,             ,TIM1_CH1N       ,          ,              ,I2C3_SCL ,SPI1_MOSI,         ,                    ,                      ,          ,QUADSPI_BK1_IO2,LCD_SEG4                  ,COMP2_OUT       ,           ,TIM17_CH1              ,EVENTOUT,ADC1_IN12
PortA,PA8 ,MCO          ,TIM1_CH1        ,          ,SAI1_PDM_CK2  ,         ,         ,         ,USART1_CK           ,                      ,          ,               ,LCD_COM0                  ,                ,SAI1_SCK_A ,LPTIM2_OUT             ,EVENTOUT,ADC1_IN15
PortA,PA9 ,             ,TIM1_CH2        ,          ,SAI1_PDM_DI2  ,I2C1_SCL ,SPI2_SCK ,         ,USART1_TX           ,                      ,          ,               ,LCD_COM1                  ,                ,SAI1_FS_A  ,                       ,EVENTOUT,ADC1_IN16
PortA,PA10,             ,TIM1_CH3        ,          ,SAI1_PDM_DI1  ,I2C1_SDA ,         ,         ,USART1_RX           ,                      ,          ,USB_CRS_SYNC   ,LCD_COM2                  ,                ,SAI1_SD_A  ,TIM17_BKIN             ,EVENTOUT,
PortA,PA11,             ,TIM1_CH4        ,TIM1_BKIN2,              ,         ,SPI1_MISO,         ,USART1_CTS          ,                      ,          ,USB_DM         ,                          ,TIM1_BKIN2      ,           ,                       ,EVENTOUT,
PortA,PA12,             ,TIM1_ETR        ,          ,              ,         ,SPI1_MOSI,         ,USART1_RTS/USART1_DE,LPUART1_RX            ,          ,USB_DP         ,                          ,                ,           ,                       ,EVENTOUT,
PortA,PA13,JTMS/SWDIO   ,                ,          ,              ,         ,         ,         ,                    ,IR_OUT                ,          ,USB_NOE        ,                          ,                ,SAI1_SD_B  ,                       ,EVENTOUT,
PortA,PA14,JTCK/SWCLK   ,LPTIM1_OUT      ,          ,              ,I2C1_SMBA,         ,         ,                    ,                      ,          ,               ,LCD_SEG5                  ,                ,SAI1_FS_B  ,                       ,EVENTOUT,
PortA,PA15,JTDI         ,TIM2_CH1        ,TIM2_ETR  ,              ,         ,SPI1_NSS ,         ,                    ,                      ,TSC_G3_IO1,               ,LCD_SEG17                 ,                ,           ,                       ,EVENTOUT,
PortB,PB0 ,             ,                ,          ,              ,         ,         ,EXT_PA_TX,                    ,                      ,          ,               ,                          ,COMP1_OUT       ,           ,                       ,EVENTOUT,
PortB,PB1 ,             ,                ,          ,              ,         ,         ,         ,                    ,LPUART1_RTS/LPUART1_DE,          ,               ,                          ,                ,           ,LPTIM2_IN1             ,EVENTOUT,
PortB,PB2 ,RTC_OUT      ,LPTIM1_OUT      ,          ,              ,I2C3_SMBA,SPI1_NSS ,         ,                    ,                      ,          ,               ,LCD_VLCD                  ,                ,SAI1_EXTCLK,                       ,EVENTOUT,
PortB,PB3 ,JTDO/TRACESWO,TIM2_CH2        ,          ,              ,         ,SPI1_SCK ,         ,USART1_RTS/USART1_DE,                      ,          ,               ,LCD_SEG7                  ,                ,SAI1_SCK_B ,                       ,EVENTOUT,
PortB,PB4 ,NJTRST       ,                ,          ,              ,I2C3_SDA ,SPI1_MISO,         ,USART1_CTS          ,                      ,TSC_G2_IO1,               ,LCD_SEG8                  ,                ,SAI1_MCLK_B,TIM17_BKIN             ,EVENTOUT,
PortB,PB5 ,             ,LPTIM1_IN1      ,          ,              ,I2C1_SMBA,SPI1_MOSI,         ,USART1_CK           ,LPUART1_TX            ,TSC_G2_IO2,               ,LCD_SEG9                  ,COMP2_OUT       ,SAI1_SD_B  ,TIM16_BKIN             ,EVENTOUT,
PortB,PB6 ,MCO          ,LPTIM1_ETR      ,          ,              ,I2C1_SCL ,         ,         ,USART1_TX           ,                      ,TSC_G2_IO3,               ,LCD_SEG6                  ,                ,SAI1_FS_B  ,TIM16_CH1N             ,EVENTOUT,
PortB,PB7 ,             ,LPTIM1_IN2      ,          ,TIM1_BKIN     ,I2C1_SDA ,         ,         ,USART1_RX           ,                      ,TSC_G2_IO4,               ,LCD_SEG21                 ,                ,           ,TIM17_CH1N             ,EVENTOUT,
PortB,PB8 ,             ,TIM1_CH2N       ,          ,SAI1_PDM_CK1  ,I2C1_SCL ,         ,         ,                    ,                      ,          ,QUADSPI_BK1_IO1,LCD_SEG16                 ,                ,SAI1_MCLK_A,TIM16_CH1              ,EVENTOUT,
PortB,PB9 ,             ,TIM1_CH3N       ,          ,SAI1_PDM_DI2  ,I2C1_SDA ,SPI2_NSS ,         ,                    ,IR_OUT                ,TSC_G7_IO4,QUADSPI_BK1_IO0,LCD_COM3                  ,                ,SAI1_FS_A  ,TIM17_CH1              ,EVENTOUT,
PortB,PB10,             ,TIM2_CH3        ,          ,              ,I2C3_SCL ,SPI2_SCK ,         ,                    ,LPUART1_RX            ,TSC_SYNC  ,QUADSPI_CLK    ,LCD_SEG10                 ,COMP1_OUT       ,SAI1_SCK_A ,                       ,EVENTOUT,
PortB,PB11,             ,TIM2_CH4        ,          ,              ,I2C3_SDA ,         ,         ,                    ,LPUART1_TX            ,          ,QUADSPI_BK1_NCS,LCD_SEG11                 ,COMP2_OUT       ,           ,                       ,EVENTOUT,
PortB,PB12,             ,TIM1_BKIN       ,          ,TIM1_BKIN     ,I2C3_SMBA,SPI2_NSS ,         ,                    ,LPUART1_RTS           ,TSC_G1_IO1,               ,LCD_SEG12                 ,                ,SAI1_FS_A  ,                       ,EVENTOUT,
PortB,PB13,             ,TIM1_CH1N       ,          ,              ,I2C3_SCL ,SPI2_SCK ,         ,                    ,LPUART1_CTS           ,TSC_G1_IO2,               ,LCD_SEG13                 ,                ,SAI1_SCK_A ,                       ,EVENTOUT,
PortB,PB14,             ,TIM1_CH2N       ,          ,              ,I2C3_SDA ,SPI2_MISO,         ,                    ,                      ,TSC_G1_IO3,               ,LCD_SEG14                 ,                ,SAI1_MCLK_A,                       ,EVENTOUT,
PortB,PB15,RTC_REFIN    ,TIM1_CH3N       ,          ,              ,         ,SPI2_MOSI,         ,                    ,                      ,TSC_G1_IO4,               ,LCD_SEG15                 ,                ,SAI1_SD_A  ,                       ,EVENTOUT,
PortC,PC0 ,             ,LPTIM1_IN1      ,          ,              ,I2C3_SCL ,         ,         ,                    ,LPUART1_RX            ,          ,               ,LCD_SEG18                 ,                ,           ,LPTIM2_IN1             ,EVENTOUT,ADC1_IN1
PortC,PC1 ,             ,LPTIM1_OUT      ,          ,SPI2_MOSI     ,I2C3_SDA ,         ,         ,                    ,LPUART1_TX            ,          ,               ,LCD_SEG19                 ,                ,           ,                       ,EVENTOUT,ADC1_IN2
PortC,PC2 ,             ,LPTIM1_IN2      ,          ,              ,         ,SPI2_MISO,         ,                    ,                      ,          ,               ,LCD_SEG20                 ,                ,           ,                       ,EVENTOUT,ADC1_IN3
PortC,PC3 ,             ,LPTIM1_ETR      ,          ,SAI1_PDM_DI1  ,         ,SPI2_MOSI,         ,                    ,                      ,          ,               ,LCD_VLCD                  ,                ,SAI1_SD_A  ,LPTIM2_ETR             ,EVENTOUT,ADC1_IN4
PortC,PC4 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,LCD_SEG22                 ,                ,           ,                       ,EVENTOUT,ADC1_IN13
PortC,PC5 ,             ,                ,          ,SAI1_PDM_DI3  ,         ,         ,         ,                    ,                      ,          ,               ,LCD_SEG23                 ,                ,           ,                       ,EVENTOUT,ADC1_IN14
PortC,PC6 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G4_IO1,               ,LCD_SEG24                 ,                ,           ,                       ,EVENTOUT,
PortC,PC7 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G4_IO2,               ,LCD_SEG25                 ,                ,           ,                       ,EVENTOUT,
PortC,PC8 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G4_IO3,               ,LCD_SEG26                 ,                ,           ,                       ,EVENTOUT,
PortC,PC9 ,             ,                ,          ,TIM1_BKIN     ,         ,         ,         ,                    ,                      ,TSC_G4_IO4,USB_NOE        ,LCD_SEG27                 ,                ,SAI1_SCK_B ,                       ,EVENTOUT,
PortC,PC10,TRACED1      ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G3_IO2,               ,LCD_COM4LCD_SEG28LCD_SEG40,                ,           ,                       ,EVENTOUT,
PortC,PC11,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G3_IO3,               ,LCD_COM5LCD_SEG29LCD_SEG41,                ,           ,                       ,EVENTOUT,
PortC,PC12,TRACED3      ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G3_IO4,               ,LCD_COM6LCD_SEG30LCD_SEG42,                ,           ,                       ,EVENTOUT,
PortC,PC13,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,                          ,                ,           ,                       ,EVENTOUT,
PortC,PC14,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,                          ,                ,           ,                       ,EVENTOUT,
PortC,PC15,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,                          ,                ,           ,                       ,EVENTOUT,
PortD,PD0 ,             ,                ,          ,              ,         ,SPI2_NSS ,         ,                    ,                      ,          ,               ,                          ,                ,           ,                       ,EVENTOUT,
PortD,PD1 ,             ,                ,          ,              ,         ,SPI2_SCK ,         ,                    ,                      ,          ,               ,                          ,                ,           ,                       ,EVENTOUT,
PortD,PD2 ,TRACED2      ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_SYNC  ,               ,LCD_COM7LCD_SEG31LCD_SEG43,                ,           ,                       ,EVENTOUT,
PortD,PD3 ,             ,                ,          ,SPI2_SCK      ,         ,SPI2_MISO,         ,                    ,                      ,          ,QUADSPI_BK1_NCS,                          ,                ,           ,                       ,EVENTOUT,
PortD,PD4 ,             ,                ,          ,              ,         ,SPI2_MOSI,         ,                    ,                      ,TSC_G5_IO1,QUADSPI_BK1_IO0,                          ,                ,           ,                       ,EVENTOUT,
PortD,PD5 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G5_IO2,QUADSPI_BK1_IO1,                          ,                ,SAI1_MCLK_B,                       ,EVENTOUT,
PortD,PD6 ,             ,                ,          ,SAI1_PDM_DI1  ,         ,         ,         ,                    ,                      ,TSC_G5_IO3,QUADSPI_BK1_IO2,                          ,                ,SAI1_SD_A  ,                       ,EVENTOUT,
PortD,PD7 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G5_IO4,QUADSPI_BK1_IO3,LCD_SEG39                 ,                ,           ,                       ,EVENTOUT,
PortD,PD8 ,             ,                ,TIM1_BKIN2,              ,         ,         ,         ,                    ,                      ,          ,               ,LCD_SEG28                 ,                ,           ,                       ,EVENTOUT,
PortD,PD9 ,TRACED0      ,                ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,LCD_SEG29                 ,                ,           ,                       ,EVENTOUT,
PortD,PD10,TRIG_INOUT   ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G6_IO1,               ,LCD_SEG30                 ,                ,           ,                       ,EVENTOUT,
PortD,PD11,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G6_IO2,               ,LCD_SEG31                 ,                ,           ,LPTIM2_ETR             ,EVENTOUT,
PortD,PD12,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G6_IO3,               ,LCD_SEG32                 ,                ,           ,LPTIM2_IN1             ,EVENTOUT,
PortD,PD13,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G6_IO4,               ,LCD_SEG33                 ,                ,           ,LPTIM2_OUT             ,EVENTOUT,
PortD,PD14,             ,TIM1_CH1        ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,LCD_SEG34                 ,                ,           ,                       ,EVENTOUT,
PortD,PD15,             ,TIM1_CH2        ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,LCD_SEG35                 ,                ,           ,                       ,EVENTOUT,
PortE,PE0 ,             ,TIM1_ETR        ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G7_IO3,               ,LCD_SEG36                 ,                ,           ,TIM16_CH1              ,EVENTOUT,
PortE,PE1 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,TSC_G7_IO2,               ,LCD_SEG37                 ,                ,           ,TIM17_CH1              ,EVENTOUT,
PortE,PE2 ,TRACECK      ,                ,          ,SAI1_PDM_CK1  ,         ,         ,         ,                    ,                      ,TSC_G7_IO1,               ,LCD_SEG38                 ,                ,SAI1_MCLK_A,                       ,EVENTOUT,
PortE,PE3 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,                          ,                ,           ,                       ,EVENTOUT,
PortE,PE4 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,                          ,                ,           ,                       ,EVENTOUT,
PortH,PH0 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,                          ,                ,           ,                       ,EVENTOUT,
PortH,PH1 ,             ,                ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,                          ,                ,           ,                       ,EVENTOUT,
PortH,PH3 ,LSCO         ,                ,          ,              ,         ,         ,         ,                    ,                      ,          ,               ,                          ,                ,           ,                       ,EVENTOUT,
