18.4.2 Analog Comparator Control and Status Register 0
Name: | ACSRB |
Offset: | 0x1E |
Reset: | 0x00 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
ACOE | ACPMUX | ||||||||
Access | R/W | R/W | |||||||
Reset | 0 | 0 |
Bit 1 – ACOE Analog Comparator Output Enable
Bit 0 – ACPMUX Analog Comparator Positive Input Multiplexer
When this bit is set, a fixed bandgap reference voltage replaces the positive input to the Analog Comparator. When this bit is cleared, AIN0 is applied to the positive input of the Analog Comparator. When the bandgap reference is used as input to the Analog Comparator, it will take a certain time for the voltage to stabilize. If not stabilized, the first conversion may give a wrong value.