Datasheet
2013-2015 Microchip Technology Inc. DS40001723D-page 135
PIC12(L)F1571/2
15.3 Register Definitions: ADC Control
REGISTER 15-1: ADCON0: ADC CONTROL REGISTER 0
U-0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0
— CHS<4:0> GO/DONE ADON
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit
u = Bit is unchanged x = Bit is unknown U = Unimplemented bit, read as ‘0’
‘1’ = Bit is set ‘0’ = Bit is cleared -n/n = Value at POR and BOR/Value at all other Resets
bit 7 Unimplemented: Read as ‘0’
bit 6-2 CHS<4:0>: Analog Channel Select bits
00000 =AN0
00001 =AN1
00010 =AN2
00011 =AN3
00100 = Reserved; no channel connected
•
•
•
11100 = Reserved; no channel connected
11101 = Temperature indicator
(1)
11110 = DAC (Digital-to-Analog Converter)
(2)
11111 = FVR (Fixed Voltage Reference) Buffer 1 output
(3)
bit 1 GO/DONE: ADC Conversion Status bit
1 = ADC conversion cycle is in progress
Setting this bit starts an ADC conversion cycle. This bit is automatically cleared by hardware when
the ADC conversion has completed.
0 = ADC conversion completed/not in progress
bit 0 ADON: ADC Enable bit
1 = ADC is enabled
0 = ADC is disabled and consumes no operating current
Note 1: See Section 14.0 “Temperature Indicator Module” for more information.
2: See Section 16.0 “5-Bit Digital-to-Analog Converter (DAC) Module” for more information.
3: See Section 13.0 “Fixed Voltage Reference (FVR)” for more information.