29.5 UTMR Output Modes
The UTMR module can generate either a pulsed or level output. When the OM
bit in the TUxyCON0 register is set, the output will follow the Run/Stop state of the
counter timer (level output), set to indicate that the timer is running, and cleared to
indicate the timer has stopped. The output remains set through all Reset conditions,
except when ERS is holding the timer/counter in a Reset state (RESET =
‘b11
, level ERS Reset).
When the OM bit is cleared, the timer output is pulsed high at every period match (pulse output). The duration of the pulse is one single primary clock period at the end of the counter match period, regardless of the prescaler. This is demonstrated in Figure 29-4 and Figure 29-5 where the pulse output occurs only during the last timer clock period during the PR match.
0
).- When START =
‘b01
or‘b10
(edge-triggered), the level output is asserted as soon as the qualified ERS edge is registered without any synchronization delays (even when CSYNC =1
). - When LIMIT =
1
, the pulse output will assert as indicated and will remain asserted until the counter changes from PR. - The OPOL bit does not affect the polarity of the RUN SFR bit.