Microchip Technology DV164136 数据表

下载
页码 466
PIC18F87J11 FAMILY
DS39778E-page 326
 
 2007-2012 Microchip Technology Inc.
23.7
Comparator Operation 
During Sleep
When a comparator is active and the device is placed
in Sleep mode, the comparator remains active and the
interrupt is functional if enabled. This interrupt will
wake-up the device from Sleep mode when enabled.
Each operational comparator will consume additional
current. To minimize power consumption while in Sleep
mode, turn off the comparators (CON = 0) before
entering Sleep. If the device wakes up from Sleep, the
contents of the CMxCON register are not affected.
23.8
Effects of a Reset
A device Reset forces the CMxCON registers to their
Reset state. This forces both comparators and the
voltage reference to the OFF state. 
TABLE 23-3:
REGISTERS ASSOCIATED WITH COMPARATOR MODULE  
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Reset 
Values 
on Page:
INTCON
GIE/GIEH PEIE/GIEL TMR0IE
INT0IE
RBIE
TMR0IF
INT0IF
RBIF
PIR2
OSCFIF
CM2IF
CM1IF
BCL1IF
LVDIF
TMR3IF
CCP2IF
PIE2
OSCFIE
CM2IE
CM1IE
BCL1IE
LVDIE
TMR3IE
CCP2IE
IPR2
OSCFIP
CM2IP
CM1IP
BCL1IP
LVDIP
TMR3IP
CCP2IP
CM1CON
CON
COE
CPOL
EVPOL1
EVPOL0
CREF
CCH1
CCH0
CM2CON
CON
COE
CPOL
EVPOL1
EVPOL0
CREF
CCH1
CCH0
CMSTAT
COUT2
COUT1
CVRCON
)
CVREN
CVROE
CVRR
CVRSS
CVR3
CVR2
CVR1
CVR0
ANCON1
(
)
PCFG15
PCFG14
PCFG13
PCFG12
PCFG11
PCFG10
PCFG9
PCFG8
ANCON0
(
)
PCFG7
PCFG6
PCFG4
PCFG3
PCFG2
PCFG1
PCFG0
PORTF
RF7
RF6
RF5
RF4
RF3
RF2
RF1
LATF
LATF7
LATF6
LATF5
LATF4
LATF3
LATF2
LATF1
TRISF
TRISF7
TRISF6
TRISF5
TRISF4
TRISF3
TRISF2
TRISF1
PORTH
(
)
RH7
RH6
RH5
RH4
RH3
RH2
RH1
RH0
TRISH
(
)
TRISH7
TRISH6
TRISH5
TRISH4
TRISH3
TRISH2
TRISH1
TRISH0
Legend:
 — = unimplemented, read as ‘0’. Shaded cells are not used for A/D conversion.
Note 1:
These registers are not implemented on 64-pin devices.
2:
Configuration SFR, overlaps with default SFR at this address; available only when WDTCON<4> = 1.