In order to make a voltage measurement, software must first enable the ADC and select the appropriate input channel. Software then arrives at a measurement value by successively writing values to the value register, waiting 62uS, and then reading the TOHI bit of the control register. A 6-bit conversion takes 6 iterations, or approximately 370uS.
The 3 input channels of the DAC allow measurement of the main system battery voltage, the backup battery voltage, and a reference voltage used to increase the accuracy of the other 2 measurements. These battery voltage measurements are used to provide the user with information about the current remaining battery capacity.
The output range of the DAC is between 1.5V and 3.3V for a 3.3V supply yielding a 28.6mV typical step voltage. The convertor output is monotonic with +-1 bit differential linearity and +-1/2 bit relative accuracy. The comparator voltage offset is +-15mV maximum.