MUX Control

Name:
MUXCTRL
Offset:
0x02
Reset:
0x00
Access:
-
Bit76543210
INVERTINITVALMUXPOS[2:0]MUXNEG[2:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000

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.

Bit 6 – INITVAL: AC Output Initial Value

AC Output Initial Value

To avoid that the AC output toggles before the comparator is ready, the INITVAL can be used to set the initial state of the comparator output.
ValueNameDescription
0x0 LOW Output initialized to ‘0
0x1 HIGH Output initialized to ‘1

Bits 5:3 – MUXPOS[2: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
Other - Reserved

Bits 2:0 – MUXNEG[2: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 DAC Reference
Other - Reserved