ZHCSJD3B July 2018 – February 2019 BQ25150
BQ25150 has three programmable ADC comparators that may be used to monitor any of the ADC channels. The comparators will send an interrupt whenever the ADC measurement the comparator is monitoring crosses the thresholds programmed in their respective ADC_ALARM_COMPx registers in the direction indicated by the x_ADCALARM_ABOVE bit. Note that the interrupts are masked by default and must be unmasked by the host to use this function.
ADC_COMP1 may be used to monitor critical conditions that need continuous and autonomous monitoring after a condition is detected. This comparator will force continuous ADC readings when the condition the ADC comparator is detecting is true regardless of ADC_READ_RATE setting until the condition is no longer present. Note that the continuous ADC reading will cause an increase in quiescent current, so it is recommended to disable ADC_COMP1 by setting the ADC_COMP1 bits to 000 if this function is not to be used .