PIC10(L)F320/322
15.3 ADC Register Definitions
The following registers are used to control the
operation of the ADC.
REGISTER 15-1: ADCON: A/D CONTROL REGISTER 0
R/W-0/0
bit 7
R/W-0/0
ADCS<2:0>
R/W-0/0
R/W-0/0
R/W-0/0
CHS<2:0>
R/W-0/0
R/W-0/0
GO/DONE
R/W-0/0
ADON
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
bit 7-5
bit 4-2
bit 1
bit 0
ADCS<2:0>: A/D Conversion Clock Select bits
111 = FRC
110 = FOSC/64
101 = FOSC/16
100 = FOSC/4
011 = FRC
010 = FOSC/32
001 = FOSC/8
000 = FOSC/2
CHS<2:0>: Analog Channel Select bits
111 = FVR (Fixed Voltage Reference) Buffer Output(2)
110 = Temperature Indicator(1)
101 = Reserved. No channel connected.
100 = Reserved. No channel connected.
011 = Reserved. No channel connected.
010 = AN2
001 = AN1
000 = AN0
GO/DONE: A/D Conversion Status bit
If ADON = 1:
1 = A/D conversion in progress (Setting this bit starts the A/D conversion)
0 = A/D conversion not in progress (This bit is automatically cleared by hardware when the A/D
conversion is complete.)
If this bit is cleared while a conversion is in progress, the conversion will stop and the results of the
conversion up to this point will be transferred to the result registers, but the ADIF interrupt flag bit will
not be set.
If ADON = 0:
0 = A/D conversion not in progress
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 12.0 “Fixed Voltage Reference (FVR)” for more information.
DS40001585D-page 88
2011-2015 Microchip Technology Inc.