1 minute read

6.3.2 ADCON1 Register

Next Article
REVIEW QUESTIONS

REVIEW QUESTIONS

6.3.2 ADCON1 Register

The ADCON1 register is used to select the Vref and configure the A/D port. The analog

Advertisement

reference voltage is software selectable to either the device’s positive and negative supply voltage (VDD and VSS) or the voltage level on the RA3/AN3/VREF+ and RA2/AN2/VREF/CVREF pins. Each port pin associated with the A/D converter can be configured as an analog input or as a digital I/O. With PCFG=1111, we can use all the pins as digital I/O. The default is

PCFG=0000, which allows us to use all 13 pins for analog inputs. See Figure 6.4.

Figure 6.4: ADCON1 Register

This article is from: