Datasheet

2010 Microchip Technology Inc. Preliminary DS41412C-page 299
PIC18(L)F2X/4XK22
bit 0 ADON: ADC Enable bit
1 = ADC is enabled
0 = ADC is disabled and consumes no operating current
Note 1: Available on PIC18(L)F4XK22 devices only.
2: Allow greater than 15 s acquisition time when measuring the Fixed Voltage Reference.
REGISTER 17-2: ADCON1: A/D CONTROL REGISTER 1
R/W-0 U-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0
TRIGSEL PVCFG<1:0> NVCFG<1:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7 TRIGSEL: Special Trigger Select bit
1 = Selects the special trigger from CTMU
0 = Selects the special trigger from CCP5
bit 6-4 Unimplemented: Read as0
bit 3-2 PVCFG<1:0>: Positive Voltage Reference Configuration bits
00 = A/D V
REF+ connected to internal signal, AVDD
01 = A/D VREF+ connected to external pin, VREF+
10 = A/D V
REF+ connected to internal signal, FVR BUF2
11 = Reserved (by default, A/D VREF+ connected to internal signal, AVDD)
bit 1-0 NVCFG0<1:0>: Negative Voltage Reference Configuration bits
00 = A/D VREF- connected to internal signal, AVSS
01 = A/D VREF- connected to external pin, VREF-
10 = Reserved (by default, A/D V
REF+ connected to internal signal, AVSS)
11 = Reserved (by default, A/D V
REF+ connected to internal signal, AVSS)
REGISTER 17-1: ADCON0: A/D CONTROL REGISTER 0 (CONTINUED)