Microchip Technology MCU PIC PIC18F87K22-I/PTRSL TQFP-80 MCP PIC18F87K22-I/PTRSL Data Sheet

Product codes
PIC18F87K22-I/PTRSL
Page of 550
 2009-2011 Microchip Technology Inc.
DS39960D-page 211
PIC18F87K22 FAMILY
16.0
TIMER3/5/7 MODULES
The Timer3/5/7 timer/counter modules incorporate
these features:
• Software-selectable operation as a 16-bit timer or 
counter
• Readable and writable eight-bit registers (TMRxH 
and TMRxL)
• Selectable clock source (internal or external) with 
device clock or SOSC oscillator internal options
• Interrupt-on-overflow
• Module Reset on ECCP Special Event Trigger
Timer7 is unimplemented for devices with a program
memory of 32 Kbytes (PIC18FX5K22).
A simplified block diagram of the Timer3/5/7 module is
shown in 
The Timer3/5/7 module is controlled through the
TxCON register (
). It also selects the
clock source options for the ECCP modules. (For more
information, se
.)
The F
OSC
 clock source should not be used with the
ECCP capture/compare features. If the timer will be
used with the capture or compare features, always
select one of the other timer clocking options.
    
Note:
Throughout this section, generic references
are used for register and bit names that are the
same – except for an ‘x’ variable that indicates
the item’s association with the Timer3, Timer5
or Timer7 module. For example, the control
register is named TxCON and refers to
T3CON, T5CON and T7CON.