ATtiny1624/1626/1627

MUXCTRLA

MUX Control A

  0x02 8 - 0x00    

MUX Control A

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

Bit 7 – INVERT: Invert AC Output

Invert AC Output

Writing this bit to ‘1’ enables inversion of the output of the AC. This inversion has to be taken into account when using the AC output signal as an input signal to other peripherals or parts of the system.

Bits 4:3 – MUXPOS[1:0]: Positive Input MUX Selection

Positive Input MUX Selection

Writing to this bit field selects the input signal to the positive input of the AC.
Value Name Description
0x0 AINP0 Positive pin 0
0x1 AINP1 Positive pin 1
0x2 AINP2 Positive pin 2
0x3 AINP3 Positive pin 3

Bits 1:0 – MUXNEG[1:0]: Negative Input MUX Selection

Negative Input MUX Selection

Writing to this bit field selects the input signal to the negative input of the AC.
Value Name Description
0x0 AINN0 Negative pin 0
0x1 AINN1 Negative pin 1
0x2 AINN2 Negative pin 2
0x3 DACREF Voltage reference