PIC16C770 Microchip Technology Inc., PIC16C770 Datasheet - Page 109

no-image

PIC16C770

Manufacturer Part Number
PIC16C770
Description
18/20-pin, 8-bit Cmos Microcontrollers With 10/12-bit A/d
Manufacturer
Microchip Technology Inc.
Datasheet
REGISTER 11-2:
The value that is in the ADRESH and ADRESL regis-
ters are not modified for a Power-on Reset. The
ADRESH and ADRESL registers will contain unknown
data after a Power-on Reset.
FIGURE 11-1: PIC16C770/771 12-BIT A/D RESULT FORMATS
2002 Microchip Technology Inc.
Left Justified
(ADFM = 0)
Right Justified
(ADFM = 1)
bit 7
bit 6-4
bit 3-0
MSB
A/D CONTROL REGISTER 1 (ADCON1: 9Fh)
bit7
bit7
ADFM: A/D Result Format Select bit
1 = Right justified
0 = Left justified
VCFG<2:0>: Voltage Reference Configuration bits
Reserved: Do not use.
Legend:
R = Readable bit
- n = Value at POR
bit 7
Note 1: This parameter is V
R/W-0
ADFM
000
001
010
011
100
101
110
111
Unused
2: This parameter is V
External V
External V
Internal VRH
Internal VRH
Internal VRL
VCFG2
R/W-0
A/D V
AV
AV
AV
ADRESH (1Eh)
DD
DD
DD
REF
(1)
(1)
(1)
MSB
REF
REF
+
+
+
VCFG1
R/W-0
12-bit A/D Result
W = Writable bit
’1’ = Bit is set
DD
SS
External V
External V
Internal VRL
Internal VRL
A/D V
for the PIC16C717.
for the PIC16C717.
AV
AV
AV
AV
VCFG0
SS
SS
SS
R/W-0
SS
REF
(2)
(2)
(2)
The A/D conversion results can be left justified (ADFM
bit cleared), or right justified (ADFM bit set).
Figure 11-1 through Figure 11-2 show the A/D result
data format of the PIC16C717/770/771.
REF
REF
-
-
-
PIC16C717/770/771
Reserved Reserved Reserved Reserved
12-bit A/D Result
bit7
bit7
R/W-0
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
R/W-0
ADRESL (9Eh)
LSB
x = Bit is unknown
R/W-0
DS41120B-page 107
Unused
R/W-0
LSB
bit 0

Related parts for PIC16C770