English
Language : 

PIC24EP256GU810-I Datasheet, PDF (283/622 Pages) Electronic Film Capacitors, Inc. – 16-Bit Microcontrollers and Digital Signal Controllers with High-Speed PWM, USB and Advanced Analog
dsPIC33EPXXX(GP/MC/MU)806/810/814 and PIC24EPXXX(GP/GU)810/814
14.2 Input Capture Control Registers
REGISTER 14-1: ICxCON1: INPUT CAPTURE x CONTROL REGISTER 1
U-0
—
bit 15
U-0
R/W-0
—
ICSIDL
R/W-0
R/W-0
R/W-0
U-0
U-0
ICTSEL<2:0>
—
—
bit 8
U-0
—
bit 7
R/W-0
R/W-0
ICI<1:0>
R/HC/HS-0
ICOV
R/HC/HS-0
ICBNE
R/W-0
R/W-0
ICM<2:0>
R/W-0
bit 0
Legend:
R = Readable bit
-n = Value at POR
HC = Hardware Clearable bit
W = Writable bit
HS = Hardware Settable bit
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
bit 15-14
bit 13
bit 12-10
bit 9-7
bit 6-5
bit 4
bit 3
bit 2-0
Unimplemented: Read as ‘0’
ICSIDL: Input Capture Stop in Idle Control bit
1 = Input capture will Halt in CPU Idle mode
0 = Input capture will continue to operate in CPU Idle mode
ICTSEL<12:10>: Input Capture Timer Select bits
111 = Peripheral clock (FP) is the clock source of the ICx
110 = Reserved
101 = Reserved
100 = Clock source of T1CLK is the clock source of the ICx (only the synchronous clock is supported)
011 = Clock source of T5CLK is the clock source of the ICx
010 = Clock source of T4CLK is the clock source of the ICx
001 = Clock source of T2CLK is the clock source of the ICx
000 = Clock source of T3CLK is the clock source of the ICx
Unimplemented: Read as ‘0’
ICI<1:0>: Number of Captures per Interrupt Select bits (this field is not used if ICM<2:0> = 001 or 111)
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 Overflow Status Flag bit (read-only)
1 = Input capture buffer overflow occurred
0 = No input capture buffer overflow occurred
ICBNE: Input Capture Buffer Not 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 Mode Select bits
111 = Input capture functions as interrupt pin only in CPU Sleep and Idle modes (rising edge detect
only, all other control bits are not applicable)
110 = Unused (module disabled)
101 = Capture mode, every 16th rising edge (Prescaler Capture mode)
100 = Capture mode, every 4th rising edge (Prescaler Capture mode)
011 = Capture mode, every rising edge (Simple Capture mode)
010 = Capture mode, every falling edge (Simple Capture mode)
001 = Capture mode, every edge rising and falling (Edge Detect mode (ICI<1:0>) is not used in this mode)
000 = Input capture module is turned off
 2009-2012 Microchip Technology Inc.
DS70616G-page 283