ATtiny1624/1626/1627

MUXNEG

Negative Input Multiplexer

  0x0D 8 - 0x00    

Negative Input Multiplexer

Bit  7 6 5 4 3 2 1 0  
  VIA[1:0] MUXNEG[5:0]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 0 0 0 0 0  

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