The 9 registers of COMPARATOR (Comparators and voltage reference), from 0x6F, with their reset value and every field. The PIC18F15Q40 has 562 registers in 45 peripherals, one page each.
COMPARATOR Comparators and voltage reference
CMOUT
Address
0x6F
Reset
0x00
Access
read only
7–
6–
5–
4–
3–
2–
1MC2OUT
0MC1OUT
2 fields
Field
Bits
What it does
MC2OUT
1
MC1OUT
0
CM1CON0COMPARATOR CONTROL REGISTER 0
Address
0x70
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
CM1CON1COMPARATOR CONTROL REGISTER 1
Address
0x71
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