How fast am I able to switch the alternate function on a given GPIO between a timer PWM output and GPIO during runtime?
I am using an STM32G4. I want to output PWM from a timer channel on one pin (call it pin A) and have a GPIO output on another (pin B). Then I want to be able to switch the functions on the two pins so that pin A is now a GPIO output and pin B is the...