Datasheet

2015 Microchip Technology Inc. Preliminary DS60001320B-page 289
PIC32MZ Embedded Connectivity with Floating Point Unit (EF) Family
14.0 TIMER2/3, TIMER4/5, TIMER6/7,
AND TIMER8/9
This family of devices features eight synchronous
16-bit timers (default) that can operate as a free-
running interval timer for various timing applications
and counting external events.
The following modes are supported:
Synchronous internal 16-bit timer
Synchronous internal 16-bit gated timer
Synchronous external 16-bit timer
Four 32-bit synchronous timers are available by
combining Timer2 with Timer3, Timer4 with Timer5,
Timer6 with Timer7, and Timer8 with Timer9.
The 32-bit timers can operate in one of three modes:
Synchronous internal 32-bit timer
Synchronous internal 32-bit gated timer
Synchronous external 32-bit timer
14.1 Additional Supported Features
Selectable clock prescaler
Timers operational during CPU idle
Time base for Input Capture and Output Compare
modules (Timer2 through Timer7 only)
ADC event trigger (Timer3 and Timer5 only)
Fast bit manipulation using CLR, SET, and INV
registers
FIGURE 14-1: TIMER2 THROUGH TIMER9 BLOCK DIAGRAM (16-BIT)
Note: This data sheet summarizes the features
of the PIC32MZ EF family of devices. It is
not intended to be a comprehensive refer-
ence source. To complement the informa-
tion in this data sheet, refer to Section 14.
“Timers” (DS60001105) of the “PIC32
Family Reference Manual”, which is avail-
able from the Microchip web site
(
www.microchip.com/PIC32).
Sync
PRx
TxIF Event Flag
Equal
Comparator x 16
TMRx
Reset
Q
QD
TGATE
1
0
Gate
TxCK
Sync
ON
TGATE
TCS
TCKPS
Prescaler
3
1, 2, 4, 8, 16,
32, 64, 256
x 1
1 0
0 0
PBCLK3
Trigger to ADC
(1)
Note 1: The ADC event trigger is available on Timer3 and Timer5 only.