Battery charger termination using 10-bit ADC
You could use a comparators so you get a 1 when you've achieved the target voltage and the add some hysteris so it goes off when the voltage drops by 10mV (or whatever value you want to set). A windowing  function comparator is maybe what you need.

Or get a 12 bit DAC ?