I am using a STM32F334.
Is it possible to configure a pin in Alternate Function Mode (Timer input Channel for my project) and to use at the same time the pin as an external interrupt source ?
It seems to work properly in my project but I am surprised it does and could not find any information on this case in the Reference Manual. Is it unrecommended to do it ?
According to Reference Manual, external interrupts are handled through EXTI and SYSCFG_EXTICRx registers while mode of GPIO pin is handled through GPIOx_MODER registers which are not related.