STM32G4 HRTIM operations of push-pull mode
I have two questions regarding RM0440 Rev.8, Figure 195:
In Figure 195, it shows that the roll-over events invert the push-pull logic. A roll-over event is defined as "a counter roll-over event is generated when the counter goes back to 0 after reaching the period value set in the HRTIM_PERxR register in continuous mode," which does not include the reset event.
However, after verifying, I found that both roll-over and reset events toggle the CPPSTAT bit.
- Does the reset event also invert the push-pull logic?
- What is the relationship between the push-pull logic output and the CPPSTAT bit?
How should Figure 195 be interpreted?
- When the output of the push-pull logic is 0, the top-left mux selects Out 1 (from the crossbar) due to the inverted push-pull logic output, and the bottom-left mux selects Out 2 (from the crossbar). This setup seems inconsistent.
- When the output of the push-pull logic is 1, both left-side muxes select "inactive," which also appears incorrect.
Could anyone help clarify the correct behavior of the push-pull logic and the output selection in Figure 195?
