The 9 registers of COMPARATOR (Comparators and voltage reference), from 0x3EB8, with their reset value and every field. The PIC18F55K42 has 663 registers in 55 peripherals, one page each.
COMPARATOR Comparators and voltage reference
CM2CON0COMPARATOR CONTROL REGISTER 0
Address
0x3EB8
Reset
0x00
Access
read/write
7EN
6OUT
5–
4POL
3–
2–
1HYS
0SYNC
5 fields
Field
Bits
What it does
EN
7
Comparator Enable bit
OUT
6
Comparator Output bit
POL
4
Comparator Output Polarity Select bit
HYS
1
Comparator Hysteresis Enable bit
SYNC
0
Comparator Output Synchronous Mode bit
CM2CON1COMPARATOR CONTROL REGISTER 1
Address
0x3EB9
Reset
0x00
Access
read/write
7–
6–
5–
4–
3–
2–
1INTP
0INTN
2 fields
Field
Bits
What it does
INTP
1
Comparator Interrupt on Positive going edge Enable bits
INTN
0
Comparator Interrupt on Negative going edge Enable bits