English
Language : 

PIC24FJ64GA006-I Datasheet, PDF (120/258 Pages) Microchip Technology – 64/80/100-Pin, General Purpose, 16-Bit Flash Microcontrollers
PIC24FJ128GA010 FAMILY
13.1 Input Capture Registers
REGISTER 13-1: ICxCON: INPUT CAPTURE x CONTROL REGISTER
U-0
—
bit 15
U-0
R/W-0
U-0
U-0
U-0
—
ICSIDL
—
—
—
U-0
U-0
—
—
bit 8
R/W-0
ICTMR(1)
bit 7
R/W-0
ICI1
R/W-0
ICI0
R-0, HC
ICOV
R/W-0, HC
ICBNE
R/W-0
ICM2
R/W-0
ICM1
R/W-0
ICM0
bit 0
Legend:
R = Readable bit
-n = Value at POR
HC = Hardware Clearable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-14
bit 13
bit 12-8
bit 7
bit 6-5
bit 4
bit 3
bit 2-0
Unimplemented: Read as ‘0’
ICSIDL: Input Capture x Module Stop in Idle Control bit
1 = Input capture module will Halt in CPU Idle mode
0 = Input capture module will continue to operate in CPU Idle mode
Unimplemented: Read as ‘0’
ICTMR: Input Capture x Timer Select bit(1)
1 = TMR2 contents are captured on capture event
0 = TMR3 contents are captured on capture event
ICI<1:0>: Select Number of Captures per Interrupt bits
11 = Interrupt on every fourth capture event
10 = Interrupt on every third capture event
01 = Interrupt on every second capture event
00 = Interrupt on every capture event
ICOV: Input Capture x Overflow Status Flag bit (read-only)
1 = Input capture overflow occurred
0 = No input capture overflow occurred
ICBNE: Input Capture x Buffer Empty Status bit (read-only)
1 = Input capture buffer is not empty, at least one more capture value can be read
0 = Input capture buffer is empty
ICM<2:0>: Input Capture x Mode Select bits
111 = Input capture functions as an interrupt pin only when the device is in Sleep or Idle mode (rising
edge detect only, all other control bits are not applicable)
110 = Unused (module is disabled)
101 = Capture mode, every 16th rising edge
100 = Capture mode, every 4th rising edge
011 = Capture mode, every rising edge
010 = Capture mode, every falling edge
001 = Capture mode, every edge (rising and falling); ICI<1:0> does not control interrupt generation
for this mode
000 = Input capture module is turned off
Note 1: Timer selections may vary. Refer to the specific device data sheet for details.
DS39747F-page 120
 2005-2012 Microchip Technology Inc.