MUX Control A

AC.MUXCTRLA controls the analog comparator MUXes.
Name:
MUXCTRLA
Offset:
0x02
Reset:
0x00
Access:
-
Bit76543210
INVERTMUXPOS[1:0]MUXNEG[1:0]
AccessR/WR/WR/WR/WR/W
Reset00000

Bit 7 – INVERT: Invert AC Output

Invert AC Output

Writing a ‘1’ to this bit enables inversion of the output of the AC. This effectively inverts the input to all the peripherals connected to the signal and affects the internal status signals.

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.
ValueNameDescription
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.
ValueNameDescription
0x0 AINN0 Negative Pin 0
0x1 AINN1 Negative Pin 1
0x2 VREF Voltage Reference
0x3 DAC DAC output Instance n of the AC will use instance n of the DAC: for example AC0 will use DAC0 and AC1 will use DAC1.