English
Language : 

PIC24FJ64GA006-I Datasheet, PDF (119/258 Pages) Microchip Technology – 64/80/100-Pin, General Purpose, 16-Bit Flash Microcontrollers
PIC24FJ128GA010 FAMILY
13.0 INPUT CAPTURE
Note:
This data sheet summarizes the features of
this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. Refer to Section 15. “Input Cap-
ture” (DS39701) in the “PIC24F Family
Reference Manual” for more information.
The input capture module has multiple operating
modes, which are selected via the ICxCON register.
The operating modes include:
• Capture timer value on every falling edge of input,
applied at the ICx pin
• Capture timer value on every rising edge of input,
applied at the ICx pin
• Capture timer value on every fourth rising edge of
input, applied at the ICx pin
• Capture timer value on every 16th rising edge of
input, applied at the ICx pin
• Capture timer value on every rising and every
falling edge of input, applied at the ICx pin
• Device wake-up from capture pin during CPU
Sleep and Idle modes
The input capture module has a four-level FIFO buffer.
The number of capture events required to generate a
CPU interrupt can be selected by the user.
FIGURE 13-1:
INPUT CAPTURE BLOCK DIAGRAM
From 16-Bit Timers
TMRy
TMRx
ICx Pin
Prescaler
Counter
(1, 4, 16)
3
Edge Detection Logic
and
Clock Synchronizer
ICM<2:0> (ICxCON<2:0>)
Mode Select
ICOV, ICBNE (ICxCON<4:3>)
ICI<1:0>
ICxCON
FIFO
R/W
Logic
Interrupt
Logic
16 16
ICTMR
1
0
(ICxCON<7>)
ICxBUF
System Bus
Set Flag ICxIF
(in IFSx Register)
Note: An ‘x’ in a signal, register or bit name denotes the number of the capture channel.
 2005-2012 Microchip Technology Inc.
DS39747F-page 119