|
PIC16F722AT-ISS Datasheet, PDF (92/286 Pages) Microchip Technology – 28-Pin Flash Microcontrollers with nanoWatt XLP Technology | |||
|
◁ |
PIC16(L)F722A/723A
9.2.7 ADC REGISTER DEFINITIONS
The following registers are used to control the
operation of the ADC.
REGISTER 9-1: ADCON0: A/D CONTROL REGISTER 0
U-0
â
bit 7
U-0
R/W-0
R/W-0
R/W-0
â
CHS3
CHS2
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-6
bit 5-2
bit 1
bit 0
Unimplemented: Read as â0â
CHS<3:0>: Analog Channel Select bits
0000 = AN0
0001 = AN1
0010 = AN2
0011 = AN3
0100 = AN4
0101 = Reserved
0110 = Reserved
0111 = Reserved
1000 = AN8
1001 = AN9
1010 = AN10
1011 = AN11
1100 = AN12
1101 = AN13
1110 = Reserved
1111 = Fixed Voltage Reference (FVREF)
GO/DONE: A/D Conversion Status bit
1 = A/D conversion cycle in progress. Setting this bit starts an A/D conversion cycle.
This bit is automatically cleared by hardware when the A/D conversion has completed.
0 = A/D conversion completed/not in progress
ADON: ADC Enable bit
1 = ADC is enabled
0 = ADC is disabled and consumes no operating current
DS41417B-page 92
ï£ 2010-2012 Microchip Technology Inc.
|
▷ |