STM32H7 timer output compare behavior
I am using a STM32H7 micro in an application where I need to assert a signal at a time that I determine in software. I am using the output compare from a timer for this signal and setting the CCR register to the time I want the output to be asserted. In this case, the timer always counts up and does not roll over. This seems to work fine when the CCR is set to a time > CNT, however, it is possible that the software determines the time for assertion has already elapsed. It appears that if I set CCR < CNT, then the output compare is not asserted. Is there a good description of exactly how the timer outputs work in the various modes? Is this behavior expected and is there a way to get it to behave such that if I set CCR to a value < CNT, it still asserts the output? If not, is there a way to detect this situation and set CCR to a value that will cause the output to be asserted as soon as possible? Preferably without introducing a race condition.