Question
STM32 Timer OPM question
Hello,
is there any way to achieve this timer OPM behavior?
- Arm timer ->Output is inactive
- Start timer-> Output gets avtive
- Compare register triggers -> Output gets inactive
- ARR triggers: Timer stops _and_ Output stays inactive
At the moment, I force the Output active before timer start and after start I set PWM mode 2 "Set channel 1 to inactive level on match. ". However interrups between force and timer start can disturb timing an so I need to globally disable interrupts for some time. I would like to get rid of that disable IRQ.
Thanks
