ATtiny1624/1626/1627

Negative Input Multiplexer

Name:
MUXNEG
Offset:
0x0D
Reset:
0x00
Access:
-
Bit76543210
VIA[1:0]MUXNEG[5:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000

Bits 7:6 – VIA[1:0]

This bit field controls how the analog input is connected to the ADC input.
Note: The VIA bits in MUXPOS and MUXNEG are shared, so a value written to the VIA bit field in one of the two registers is updated in both. It is, therefore, not possible to have one input using the PGA and the other not using the PGA.
ValueNameDescription
0x0 DIRECT Input connected directly to the ADC
0x1 PGA Input connected to the ADC via the PGA
Other - Reserved

Bits 5:0 – MUXNEG[5:0]: Negative Input Multiplexer

Negative Input Multiplexer

This bit field controls which analog input is connected to the negative input of the ADC/PGA. Changing this setting may require some settling time. Refer to the Electrical Characteristics section for further details.

Value Name Description
0x00 DEFAULT Internal ground
0x01-0x07 AIN1-AIN7 ADC input pin 1-7
0x30 GND Internal ground
0x31 VDDDIV10 Divided VDD
0x33 DACREF0 DACREF from AC0
Other - Reserved