Microchip Technology Microstick for the 3V PIC24F K-series DM240013-1 DM240013-1 Data Sheet
Product codes
DM240013-1
2011 Microchip Technology Inc.
DS31037B-page 119
PIC24F16KL402 FAMILY
14.0
TIMER3 MODULE
The Timer3 timer/counter modules incorporate these
features:
• Software-selectable operation as a 16-bit timer or
features:
• Software-selectable operation as a 16-bit timer or
counter
• One 16-bit readable and writable Timer Value
register
• Selectable clock source (internal or external) with
device clock, SOSC or LPRC oscillator options
• Interrupt-on-overflow
• Multiple timer gating options, including:
• Multiple timer gating options, including:
- user-selectable gate sources and polarity
- gate/toggle operation
- Single-pulse (One-Shot) mode
- gate/toggle operation
- Single-pulse (One-Shot) mode
• Module Reset on ECCP Special Event Trigger
The Timer3 module is controlled through the T3CON
register (
The Timer3 module is controlled through the T3CON
register (
). A simplified block diagram of
the Timer3 module is shown in
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.
used with the capture or compare features, always
select one of the other timer clocking options.
FIGURE 14-1:
TIMER3 BLOCK DIAGRAM
Note:
This data sheet summarizes the features
of this group of PIC24F devices. It is not
intended to be a comprehensive refer-
ence source. For more information on
Timers, refer to the “PIC24F Family Refer-
ence Manual”
of this group of PIC24F devices. It is not
intended to be a comprehensive refer-
ence source. For more information on
Timers, refer to the “PIC24F Family Refer-
ence Manual”
, Section 14. “Timers”
(DS39704).
TMR3
T3SYNC
T3CKPS<1:0>
Prescaler
1, 2, 4, 8
0
1
Synchronized
Clock Input
2
Set Flag bit,
T3IF, on
Overflow
T3IF, on
Overflow
T3G
F
OSC
SOSCO/T1CK
SOSCI
T3OSCEN
1
0
T3CK
TMR3CS<1:0>
Gate Sync
TMR3GE
00
01
10
11
C1OUT
T3GPOL
T3GTM
T3GSPM
T3GGO
T3GSS<1:0>
EN
10
00
01
F
OSC
/2
C2OUT/LPRC
TMR2 Match
Set T3GIF
D
Q
SOSCEN
SOSC
16
Toggle
Select
One-Shot
Select
Gate
Control
SOSC Components
16
Internal Data Bus
11
LPRC