31.5.2 MUX Control

Name: MUXCTRL
Offset: 0x02
Reset: 0x00
Property: -

Bit 76543210 
 INVERTINITVALMUXPOS[2:0]MUXNEG[2:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 7 – INVERT Invert AC Output

This bit controls whether the AC output is inverted.

When enabled, the inversion must be taken into account when using the AC output signal as an input to other peripherals or parts of the system.

ValueDescription
0The OUT signal is not inverted
1The OUT signal is inverted

Bit 6 – INITVAL AC Output Initial Value

This bit controls the initial value of the comparator output.

This initial value prevents the AC output from toggling before the comparator is ready.

ValueNameDescription
0LOWThe OUT signal is initialized to ‘0
1HIGHThe OUT signal is initialized to ‘1

Bits 5:3 – MUXPOS[2:0] Positive Input MUX Selection

This bit field controls the input signal to the positive input of the AC.
ValueNameDescription
0x0 AINP0Positive pin 0
0x1 -Reserved
0x2 -Reserved
0x3 AINP3Positive pin 3
0x4 AINP4Positive pin 4
Other -Reserved

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

This bit field controls the input signal to the negative input of the AC.
ValueNameDescription
0x0 AINN0Negative pin 0
0x1 AINN1Negative pin 1
0x2 AINN2Negative pin 2
0x3 -Reserved
0x4 DACREFDAC reference
Other -Reserved