English
Language : 

PIC18F45K80-I Datasheet, PDF (358/622 Pages) Microchip Technology – 28/40/44/64-Pin, Enhanced Flash Microcontrollers with ECAN and nanoWatt XLP Technology
PIC18F66K80 FAMILY
23.2 A/D Registers
23.2.1 A/D CONTROL REGISTERS
REGISTER 23-1: ADCON0: A/D CONTROL REGISTER 0
U-0
—
bit 7
R/W-0
CHS4
R/W-0
CHS3
R/W-0
CHS2
R/W-0
CHS1
R/W-0
CHS0
R/W-0
GO/DONE
R/W-0
ADON
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
bit 6-2
bit 1
bit 0
Unimplemented: Read as ‘0’
CHS<4:0>: Analog Channel Select bits
00000 = Channel 00 (AN0)
00001 = Channel 01 (AN1)
00010 = Channel 02 (AN2)
00011 = Channel 03 (AN3)
00100 = Channel 04 (AN4)
00101 = Channel 05 (AN5)(1,2)
00110 = Channel 06 (AN6)(1,2)
00111 = Channel 07 (AN7)(1,2)
01000 = Channel 08 (AN8)
01001 = Channel 09 (AN9)
01010 = Channel 10 (AN10)
01011 = (Reserved)(2)
01100 = (Reserved)(2))
01101 = (Reserved)(2))
01110 = (Reserved)(2))
01111 = (Reserved)(2)
10000 = (Reserved)(2)
10001 = (Reserved)(2)
10010 = (Reserved)(2)
10011 = (Reserved)(2)
10100 = (Reserved)(2)
10101 = (Reserved)(2)
10110 = (Reserved)(2)
10111 = (Reserved)(2)
11000 = (Reserved)(2)
11001 = (Reserved)(2)
11010 = (Reserved)(2)
11011 = (Reserved)(2)
11100 = (MUX disconnect)(3)
11101 = Channel 29 (temperature diode)
11110 = Channel 30 (VDDCORE)
11111 = Channel 31 (1.024V band gap)
GO/DONE: A/D Conversion Status bit
1 = A/D cycle is in progress. Setting this bit starts an A/D conversion cycle. The bit is cleared
automatically by hardware when the A/D conversion is completed.
0 = A/D conversion has completed or is not in progress
ADON: A/D On bit
1 = A/D Converter is operating
0 = A/D conversion module is shut off and consuming no operating current
Note 1:
2:
3:
These channels are not implemented on 28-pin devices.
Performing a conversion on unimplemented channels will return random values.
Channel 28 turns off analog MUX switches to allow for minimum capacitive loading of the A/D input, for
finer resolution CTMU time measurements.
DS39977F-page 358
 2010-2012 Microchip Technology Inc.