PIC16C770 Microchip Technology Inc., PIC16C770 Datasheet - Page 108

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
PIC16C717/770/771
REGISTER 11-1:
DS41120B-page 106
bit 7-6
bit 5-3,1
bit 2
bit 0
A/D CONTROL REGISTER 0 (ADCON0: 1Fh).
ADCS<1:0>: A/D Conversion Clock Select bits
If internal VRL and/or VRH are not used for A/D reference (VCFG<2:0> = 000, 001, 011
or 101):
00 = F
01 = F
10 = F
11 = F
If internal VRL and/or VRH are used for A/D reference (VCFG<2:0> = 010, 100, 110 or 111):
00 = F
01 = F
10 = F
11 = F
CHS:<3:0>: Analog Channel Select bits
0000 = channel 00 (AN0)
0001 = channel 01 (AN1)
0010 = channel 02 (AN2)
0011 = channel 03 (AN3)
0100 = channel 04 (AN4)
0101 = channel 05 (AN5)
0110 = reserved, do not select
0111 = reserved, do not select
1000 = reserved, do not select
1001 = reserved, do not select
1010 = reserved, do not select
1011 = reserved, do not select
1100 = reserved, do not select
1101 = reserved, do not select
1110 = reserved, do not select
1111 = reserved, do not select
GO/DONE: A/D Conversion Status bit
1 = A/D conversion cycle in progress. Setting this bit starts an A/D conversion cycle.
0 = A/D conversion completed/not in progress
ADON: A/D On bit
1 = A/D converter module is operating
0 = A/D converter is shutoff and consumes no operating current
Legend:
R = Readable bit
- n = Value at POR
bit 7
ADCS1
R/W-0
This bit is automatically cleared by hardware when the A/D conversion has completed.
OSC
OSC
OSC
RC
OSC
OSC
OSC
RC
/8
(clock derived from a dedicated RC oscillator)
/2
/8
/32
/16
/64
/256
ADCS0
R/W-0
R/W-0
CHS2
W = Writable bit
’1’ = Bit is set
R/W-0
CHS1
R/W-0
CHS0
U = Unimplemented bit, read as ‘0’
’0’ = Bit is cleared
GO/DONE
R/W-0
2002 Microchip Technology Inc.
x = Bit is unknown
R/W-0
CHS3
ADON
R/W-0
bit 0

Related parts for PIC16C770