Pin as an Open Drain output and EXTI at the same time. STM32F030
Hello I have an application where it would be usefull to have a pin configured as an open drain output but at the same time to detect a falling edge on that pin usirn EXTI.
In the refference manual RM0091 there in Figure 18 (Output configuration) I have seen the mentioning that even if the pin is configured as output, there is also a signal going to EXTI. Theoretically I could configure the pin as both Output OD and EXTI but I can't mannage that.
When I try to do so, it behaves as an exti and does not work as an output. When I update the ODR using debugger, I see that IDR also changes however EXTI interrupt is not generated and actual output voltage drops only by 20mV.
Do you think it would be possible to configure pin as EXTI and Output?
Thank you.