Datasheet

PIC12(L)F1571/2
DS40001723D-page 136 2013-2015 Microchip Technology Inc.
REGISTER 15-2: ADCON1: ADC CONTROL REGISTER 1
R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 U-0 U-0 R/W-0/0 R/W-0/0
ADFM ADCS<2:0> ADPREF<1:0>
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 ADFM: ADC Result Format Select bit
1 = Right justified; six Most Significant bits of ADRESH are set to ‘0’ when the conversion result is loaded
0 = Left justified; six Least Significant bits of ADRESL are set to ‘0’ when the conversion result is loaded
bit 6-4 ADCS<2:0>: ADC Conversion Clock Select bits
000 =F
OSC/2
001 =F
OSC/8
010 =F
OSC/32
011 = FRC (clock supplied from an internal RC oscillator)
100 =FOSC/4
101 =F
OSC/16
110 =F
OSC/64
111 = FRC (clock supplied from an internal RC oscillator)
bit 3-2 Unimplemented: Read as0
bit 1-0 ADPREF<1:0>: ADC Positive Voltage Reference Configuration bits
00 =V
RPOS is connected to VDD
01 = Reserved
10 =V
RPOS is connected to external VREF+ pin
(1)
11 =VRPOS is connected to internal Fixed Voltage Reference (FVR)
Note 1: When selecting the V
REF+ pin as the source of the positive reference, be aware that a minimum voltage
specification exists. See Section 26.0 “Electrical Specifications” for details.