English
Language : 

PIC24F08KA102-I Datasheet, PDF (186/278 Pages) Microchip Technology – 20/28-Pin General Purpose, 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F16KA102 FAMILY
REGISTER 23-1: CMxCON: COMPARATOR x CONTROL REGISTERS (CONTINUED)
bit 5
bit 4
bit 3-2
bit 1-0
Unimplemented: Read as ‘0’
CREF: Comparator Reference Select bit (non-inverting input)
1 = Non-inverting input connects to the internal CVREF voltage
0 = Non-inverting input connects to the CxINA pin
Unimplemented: Read as ‘0’
CCH<1:0>: Comparator Channel Select bits
11 = Inverting input of comparator connects to VBG/2
10 = Inverting input of comparator connects to CxIND pin
01 = Inverting input of comparator connects to CxINC pin
00 = Inverting input of comparator connects to CxINB pin
REGISTER 23-2: CMSTAT: COMPARATOR MODULE STATUS REGISTER
R/W-0
U-0
U-0
U-0
U-0
U-0
R-0, HSC
CMIDL
—
—
—
—
—
C2EVT
bit 15
R-0, HSC
C1EVT
bit 8
U-0
U-0
U-0
U-0
U-0
U-0
R-0, HSC R-0, HSC
—
—
—
—
—
—
C2OUT
C1OUT
bit 7
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
bit 14-10
bit 9
bit 8
bit 7-2
bit 1
bit 0
CMIDL: Comparator Stop in Idle Mode bit
1 = Disable comparator interrupts when the device enters Idle mode; the module is still enabled
0 = Continue operation of all enabled comparators in Idle mode
Unimplemented: Read as ‘0’
C2EVT: Comparator 2 Event Status bit (read-only)
Shows the current event status of Comparator 2 (CM2CON<9>).
C1EVT: Comparator 1 Event Status bit (read-only)
Shows the current event status of Comparator 1 (CM1CON<9>).
Unimplemented: Read as ‘0’
C2OUT: Comparator 2 Output Status bit (read-only)
Shows the current output of Comparator 2 (CM2CON<8>).
C1OUT: Comparator 1 Output Status bit (read-only)
Shows the current output of Comparator 1 (CM1CON<8>).
DS39927C-page 186
 2008-2011 Microchip Technology Inc.