PIC16C71X
TABLE 7-3:
REGISTERS/BITS ASSOCIATED WITH A/D, PIC16C710/71/711
Value on:
POR,
BOR
Value on
all other
Resets
Address
Name
Bit 7
Bit 6 Bit 5 Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
INTCON
ADRES
GIE
ADIE T0IE INTE
RBIE
T0IF
INTF
RBIF
0000 000x 0000 000u
xxxx xxxx uuuu uuuu
0Bh,8Bh
89h
A/D Result Register
ADCON0 ADCS1 ADCS0
—
—
CHS1 CHS0 GO/DONE ADIF
ADON 00-0 0000 00-0 0000
08h
ADCON1
—
—
—
—
—
PCFG1 PCFG0 ---- --00 ---- --00
88h
---x 0000 ---u 0000
---1 1111 ---1 1111
05h
PORTA
TRISA
—
—
—
—
—
—
RA4
RA3
RA2
RA1
RA0
85h
PORTA Data Direction Register
Legend: x= unknown, u= unchanged, -= unimplemented read as '0'. Shaded cells are not used for A/D conversion.
TABLE 7-4:
REGISTERS/BITS ASSOCIATED WITH A/D, PIC16C715
Value on:
POR,
BOR
Value on
all other
Resets
Address Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
INTCON
GIE
—
PEIE
ADIF
ADIE
T0IE
—
INTE
—
RBIE
—
T0IF
—
INTF
—
RBIF 0000 000x 0000 000u
0Bh/8Bh
0Ch
PIR1
—
—
-0-- ---- -0-- ----
-0-- ---- -0-- ----
xxxx xxxx uuuu uuuu
PIE1
—
—
—
—
—
—
8Ch
ADRES
A/D Result Register
1Eh
ADCON
0
ADCS ADCS CHS2
CHS1
—
CHS0
—
GO/
DONE
—
ADON 0000 00-0 0000 00-0
1Fh
1
0
ADCON
1
—
—
—
—
PCFG1 PCFG0 ---- --00 ---- --00
9Fh
—
—
---x 0000 ---u 0000
---1 1111 ---1 1111
TRISA2 TRISA1 TRISA0
05h
85h
PORTA
TRISA
—
—
—
—
RA4
RA3
RA2
RA1
RA0
TRISA4
TRISA
3
Legend: x= unknown, u= unchanged, -= unimplemented read as '0'. Shaded cells are not used for A/D conversion.
DS30272A-page 46
1997 Microchip Technology Inc.