STM32 timer with toggled output triggered by CCx - is there any way to reset the state of OCxREF at a given point?
I have set up a timer to generate a given waveform using the capture-compare register, fed from DMA. The OCxREF output is set to TOGGLE mode. The waveform consists of a pattern, repeating n times, after each ARR update. A new pattern is loaded into D...