English
Language : 

PIC16F87-E Datasheet, PDF (128/228 Pages) Microchip Technology – 18/20/28-Pin Enhan lashMicrocontrollers with nanoWatt Technology
PIC16F87/88
TABLE 13-1: REGISTERS ASSOCIATED WITH THE COMPARATOR MODULE
Address Name
Bit 7 Bit 6
Bit 5
Bit 4 Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR
Value on
all other
Resets
9Ch
CMCON C2OUT C1OUT C2INV C1INV CIS CM2 CM1 CM0 0000 0111 0000 0111
9Dh
CVRCON CVREN CVROE CVRR
— CVR3 CVR2 CVR1 CVR0 000- 0000 000- 0000
0Bh, 8Bh, INTCON
10Bh, 18Bh
GIE PEIE TMR0IE INT0IE RBIE TMR0IF INT0IF RBIF 0000 000x 0000 000u
0Dh
PIR2
OSFIF CMIF
—
EEIF
—
—
—
— 00-0 ---- 00-0 ----
8Dh
PIE2
OSFIE CMIE
—
EEIE
—
—
—
— 00-0 ---- 00-0 ----
05h
PORTA
RA7 RA6
RA5
RA4 RA3 RA2 RA1 RA0
(PIC16F87)
xxxx 0000 uuuu 0000
(PIC16F88)
xxx0 0000 uuu0 0000
85h
TRISA
TRISA7 TRISA6 TRISA5(1) TRISA4 TRISA3 TRISA2 TRISA1 TRISA0 1111 1111 1111 1111
Legend: x = unknown, u = unchanged, - = unimplemented, read as ‘0’. Shaded cells are not used by the comparator module.
Note 1: Pin 5 is an input only; the state of the TRISA5 bit has no effect and will always read ‘1’.
DS30487C-page 126
 2005 Microchip Technology Inc.