English
Language : 

PIC24FJ64GA705 Datasheet, PDF (169/412 Pages) –
PIC24FJ256GA705 FAMILY
REGISTER 14-1: ICxCON1: INPUT CAPTURE x CONTROL REGISTER 1
U-0
—
bit 15
U-0
R/W-0
R/W-0
R/W-0
R/W-0
U-0
—
ICSIDL
ICTSEL2 ICTSEL1 ICTSEL0
—
U-0
—
bit 8
U-0
—
bit 7
R/W-0
ICI1
R/W-0
ICI0
R-0, HSC
ICOV
R-0, HSC
ICBNE
R/W-0
ICM2(1)
R/W-0
ICM1(1)
R/W-0
ICM0(1)
bit 0
Legend:
R = Readable bit
-n = Value at POR
HSC = Hardware Settable/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-10
bit 9-7
bit 6-5
bit 4
bit 3
bit 2-0
Unimplemented: Read as ‘0’
ICSIDL: Input Capture x Stop in Idle Control bit
1 = Input Capture x halts in CPU Idle mode
0 = Input Capture x continues to operate in CPU Idle mode
ICTSEL<2:0>: Input Capture x Timer Select bits
111 = System clock (FOSC/2)
110 = Reserved
101 = Reserved
100 = Timer1
011 = Reserved
010 = Reserved
001 = Timer2
000 = Timer3
Unimplemented: Read as ‘0’
ICI<1:0>: Input Capture x 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 x overflow has occurred
0 = No Input Capture x overflow has occurred
ICBNE: Input Capture x Buffer Empty Status bit (read-only)
1 = Input Capture x buffer is not empty, at least one more capture value can be read
0 = Input Capture x buffer is empty
ICM<2:0>: Input Capture x Mode Select bits(1)
111 = Interrupt mode: Input Capture x 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 = Prescaler Capture mode: Capture on every 16th rising edge
100 = Prescaler Capture mode: Capture on every 4th rising edge
011 = Simple Capture mode: Capture on every rising edge
010 = Simple Capture mode: Capture on every falling edge
001 = Edge Detect Capture mode: Capture on every edge (rising and falling); ICI<1:0> bits do not
control interrupt generation for this mode
000 = Input Capture x module is turned off
Note 1: The ICx input must also be configured to an available RPn/RPIn pin. For more information, see
Section 11.5 “Peripheral Pin Select (PPS)”.
 2016 Microchip Technology Inc.
DS30010118B-page 169