1.6 Interrupts and DMA Triggers
The UTMR module offers three interrupts and DMA triggers:
- Period Match Interrupt – occurs when a PR match condition is generated.(1)
- Zero Interrupt – occurs when timer counter value becomes zero either because of a Reset condition, rollover, or software clear.
- Capture Interrupt – occurs when a capture event is generated.(2)
Each of these interrupts has separate interrupt enable and flag bits in the
timer module (PRIE/PRIF, ZIE/ZIF, CIE/CIF), which are combined together to have one top
system level interrupt (TUxyIE/TUxyIF) in the PIRx register.
Important:
- A PR match condition is generated only when the timer counter increments from PR-1 to PR. The condition is not triggered when the user writes the PR value directly to the counter.
- Refer to Timer, Capture and Period Registers for details about the different capture events.