Datasheet

136
ATtiny828 [DATASHEET]
8371A–AVR–08/12
Table 47. Source Selection for Analog Comparator Negative Input
z Bits 1:0 – ACPMUX[1:0]: Analog Comparator Positive Input Multiplexer
Together with ACPMUX2, these bits select the source for the positive input of the analog comparator, as shown in Table
48, below.
Table 48. Source Selection for Analog Comparator Positive Input
14.1.3 DIDR0 – Digital Input Disable Register 0
z Bit 2 – ADC2D: ADC2/AIN1 Digital input buffer disable
When used as an analog input but not required as a digital input the power consumption of the digital input buffer can be
reduced by writing this bit to logic one. When this bit is set, the digital input buffer on the AIN1 pin is disabled and the
corresponding pin register bit (PA2) will always read zero.
z Bits 1 – ADC1D: ADC1/AIN0 Digital input buffer disable
When used as an analog input but not required as a digital input the power consumption of the digital input buffer can be
reduced by writing this bit to logic one. When this bit is set, the digital input buffer on the AIN0 pin is disabled and the
corresponding pin register bit (PA1) will always read zero.
ACNMUX1 ACNMUX0 Analog Comparator Negative Input
0 0 AIN1 pin
0 1 Output of ADC multiplexer
1 0
Reserved
1 1
ACPMUX2 ACPMUX1 ACPMUX0 Analog Comparator Positive Input
0 0 0 AIN0 pin
0 0 1 Reserved
0 1 0 Reserved
0 1 1 Reserved
1 0 0 Internal bandgap reference voltage
1 0 1 Reserved
1 1 0 Reserved
1 1 1 Reserved
Bit 76543210
(0x7E)
ADC7D ADC6D ADC5D ADC4D ADC3D ADC2D ADC1D ADC0D DIDR0
Read/Write R/WR/WR/WR/WR/WR/WR/WR/W
Initial Value 0 0 0 0 0 0 0 0