SLUUBT5C November 2018 – June 2021 BQ40Z80
Set Settings:Pin Configuration[MFP13_SEL0][MFP13_SEL1][MFP13_SEL2] = 010 to select ADCIN2. When this mode is selected, the pin is used as a general purpose ADC input using VREF1 as reference with an allowed range of 0 V to 1.0 V. When this mode is selected, the read-only command ADC2Read() (0x47) returns raw ADC data from the last measurement. The ADC measurement is performed every 250 ms.