29.4 UTMR Operation
The basic UTMR module has a counter/timer, a double-buffered period register, and a hardwired compare function. Together with an External Reset Selector (ERS), Clock Selection MUX, and programmable Start/Stop/Reset logic, the module can be configured for a variety of hardware limit and signal measurement functions. See Figure 29-1 for the UTMR module block diagram.
Available options include:
- Synchronous or asynchronous operation.
- Software control via the ON bit.
- Asynchronous read and Reset of the counter/timer using the CAPT and CLR bits.
- Selection of a variety of hardware ERS inputs.
- A variety of both software and hardware triggers for start, stop and Reset events.
- A Limit mode that stops the counter/timer on a period register match.
- A One Shot/Monostable mode option.
Together, the various combination of options implements all the functions for both a signal measurement and hardware limit timer.