Output Modes

The UTMR module can have two different types of outputs, level and pulse, and are selectable using the OM bit.

When level output is selected (OM = 1), the output is high as long as the timer is in a run state and goes low when the timer stops. The output remains high through all Reset conditions, except when Reset = ERS Level-0. This run or stop state is also reflected in the RUN status bit. When Start = Rising/Either ERS Edge, the level output is asserted as soon as the qualified ERS edge is registered without any synchronization delays (even when CSYNC = 1).

When pulse output is selected (OM = 0), the output is pulsed high for one timer clock cycle whenever a PR match occurs. If prescaler is enabled, then the output is pulsed high during the final timer clock cycle of the PR match duration, thus ensuring that the output pulse width is the same regardless of prescaler setting.

The polarity of the output is inverted when the OPOL bit is set. The OPOL bit controls the output polarity even when the module is disabled (ON = 0). The OPOL bit does not affect the polarity of the RUN status bit.