32.5.11 Command

Name: COMMAND
Offset: 0x0A
Reset: 0x00
Property: -

Bit 76543210 
  MODE[2:0] START[2:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 000000 

Bits 6:4 – MODE[2:0] Mode

This bit field controls the conversion mode for the ADC. Switching from one of the accumulation modes to a Single mode will reset the accumulator.

For more information on the operation modes, see the section Operation Modes and the section Accumulator Test within.

ValueNameDescription
0x0 SINGLE_8BIT Single conversion with 8-bit resolution
0x1 SINGLE_10BIT Single conversion with 10-bit resolution
0x2 SERIES Series with accumulation, separate trigger for every 10-bit conversion
0x3 BURST Burst with accumulation. One trigger will run SAMPNUM 10-bit conversions in one sequence.
0x7 ACCTEST Accumulator diagnostics mode for Functional Safety applications
Other - Reserved

Bits 2:0 – START[2:0] Start Conversion

This bit field starts or stops an ADC conversion, or controls how an ADC conversion will start.
Note: If the ENABLE bit in ADCn.CTRLA is ‘0’ when writing the START bit field to IMMEDIATE, it will automatically be set to STOP.
ValueNameDescription
0x0 STOP Stop an ongoing conversion
0x1 IMMEDIATE Start a conversion immediately. The bitfield value will be set back to STOP after the conversion is completed unless Free-Running mode is enabled
0x2 MUXPOS_WRITE Start when a write to the MUXPOS register is done
0x4 EVENT_TRIGGER Start when an event is received by the ADC
Other - Reserved