45.8.4 Input Control

Name: INPUTCTRL
Offset: 0x04
Reset: 0x0000
Property: PAC Write-Protection, Write-Synchronized

Bit 15141312111098 
 DSEQSTOP  MUXNEG[4:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 
Bit 76543210 
 DIFFMODE  MUXPOS[4:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 

Bit 15 – DSEQSTOP Stop DMA Sequencing

When the bit is set, the DMA sequencing automatically stops when the last sequence configuration is complete.
Note: one more conversion will be done after the last sequence is complete.

Bits 12:8 – MUXNEG[4:0] Negative MUX Input Selection

These bits define the MUX selection for the negative ADC input.

ValueNameDescription
0x00 AIN0 ADC AIN0 pin
0x01 AIN1 ADC AIN1 pin
0x02 AIN2 ADC AIN2 pin
0x03 AIN3 ADC AIN3 pin
0x04 AIN4 ADC AIN4 pin
0x05 AIN5 ADC AIN5 pin
0x06 AIN6 ADC AIN6 pin
0x07 AIN7 ADC AIN7 pin
0x08 - 0x17 Reserved
0x18 GND Internal ground
0x19 - 0x1F Reserved

Bit 7 – DIFFMODE Differential Mode

ValueDescription
0x0 The ADC is running in singled-ended mode.
0x1 The ADC is running in differential mode. In this mode, the voltage difference between the MUXPOS and MUXNEG inputs will be converted by the ADC.

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

These bits define the MUX selection for the positive ADC input. If the internal bandgap voltage or temperature sensor input channel is selected, then the Sampling Time Length bit group in the Sampling Control register must be written with a corresponding value, as shown in “Table 54-24. Operating Conditions”.

ValueNameDescription
0x00 AIN0 ADC AIN0 pin
0x01 AIN1 ADC AIN1 pin
0x02 AIN2 ADC AIN2 pin
0x03 AIN3 ADC AIN3 pin
0x04 AIN4 ADC AIN4 pin
0x05 AIN5 ADC AIN5 pin
0x06 AIN6 ADC AIN6 pin
0x07 AIN7 ADC AIN7 pin
0x08 AIN8 ADC AIN8 pin
0x09 AIN9 ADC AIN9 pin
0x0A AIN10 ADC AIN10 pin
0x0B AIN11 ADC AIN11 pin
0x0C AIN12 ADC AIN12 pin
0x0D AIN13 ADC AIN13 pin
0x0E AIN14 ADC AIN14 pin
0x0F AIN15 ADC AIN15 pin
0x10 - 0x17 - Reserved
0x18 SCALEDCOREVCC 1/4 Scaled Core Supply
0x19 SCALEDVBAT 1/4 Scaled VBAT Supply
0x1A SCALEDIOVCC 1/4 Scaled I/O Supply
0x1B BANDGAP Bandgap Voltage
0x1C PTAT Temperature Sensor
0x1D CTAT Temperature Sensor
0x1E DAC0 DAC0 Output