PIC18FXX20
TABLE 20-1: REGISTERS ASSOCIATED WITH COMPARATOR MODULE
Value on
all other
RESETS
Value on
POR
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
CMCON C2OUT C1OUT C2INV C1INV
CIS
CM2
CM1
CM0
0000 0000 0000 0000
CVRCON CVREN CVROE CVRR CVRSS CVR3
CVR2
CVR1
CVR0 0000 0000 0000 0000
RBIF 0000 0000 0000 0000
INTCON
GIE/
GIEH
PEIE/ TMR0IE INT0IE
GIEL
RBIE TMR0IF INT0IF
PIR2
PIE2
IPR2
PORTF
LATF
TRISF
—
—
—
CMIF
CMIE
CMIP
RF6
—
—
—
—
—
—
BCLIF
BCLIE
BCLIP
RF3
LVDIF TMR3IF CCP2IF -0-- 0000 -0-- 0000
LVDIE TMR3IE CCP2IE -0-- 0000 -0-- 0000
LVDIP TMR3IP CCP2IP -1-- 1111 -1-- 1111
RF7
RF5
RF4
RF2
RF1
LATF1 LATF0 xxxx xxxx uuuu uuuu
TRISF7 TRISF6 TRISF5 TRISF4 TRISF3 TRISF2 TRISF1 TRISF0 1111 1111 1111 1111
RF0
x000 0000 u000 0000
LATF7 LATF6 LATF5 LATF4 LATF3 LATF2
Legend: x= unknown, u= unchanged, - = unimplemented, read as ‘0’.
Shaded cells are unused by the comparator module.
DS39609A-page 228
Advance Information
2003 Microchip Technology Inc.