Break function in TIM1 -> Pin configure automatically as output? It should be input
Hi,
I am using STM32G474 th STM32CubeIDE and I want to implement the break function for TIM1.
When I configure the pin PA6 in the pinout view as TIM1_BKIN I expect that the port will be automatically configured as input, but after I checked in the GPIO configuration of the TIM1 I see that the pin was configured as Alternate Function Open Drain.
Why is that happening?
And if I try to configure it manually in the MX_GPIO_Init() function, my code is, obviously removed.
What should I do?
Thanks!!
Daniel