20 TMR2 - Timer2 Module

The Timer2 module is a 8-bit timer that incorporates the following features:

  • 8-Bit Timer and Period Registers
  • Readable and Writable
  • Software Programmable Prescaler (1:1 to 1:128)
  • Software Programmable Postscaler (1:1 to 1:16)
  • Interrupt on T2TMR Match with T2PR
  • One-Shot Operation
  • Full Asynchronous Operation
  • Includes Hardware Limit Timer (HLT)
  • Alternate Clock Sources
  • External Timer Reset Signal Sources
  • Configurable Timer Reset Operation

See Figure 20-1 for a block diagram of Timer2.

Important: References to module Timer2 apply to all the even numbered timers on this device (Timer2, Timer4, etc.).
Figure 20-1. Timer2 with Hardware Limit Timer (HLT) Block Diagram
Note:
  1. Signal to the CCP to trigger the PWM pulse.
  2. See TxRST for external Reset sources.
  3. See the Clock Source Selection table for clock source selection.