English
Language : 

PIC18F66K22-I Datasheet, PDF (211/550 Pages) Microchip Technology – PIC18F87K22 Family Data Sheet
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).
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.
A simplified block diagram of the Timer3/5/7 module is
shown in Figure 16-1.
The Timer3/5/7 module is controlled through the
TxCON register (Register 16-1). It also selects the
clock source options for the ECCP modules. (For more
information, see Section 20.1.1 “ECCP Module and
Timer Resources”.)
The FOSC 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.
 2009-2011 Microchip Technology Inc.
DS39960D-page 211