It also allows one to change the comparator voltage in software.