Control A
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RUNSTBY | RESSEL | FREERUN | ENABLE | ||||
AccessR/W | R/W | R/W | R/W | ||||
Reset0 | 0 | 0 | 0 |
Run in Standby
This bit determines whether the ADC needs to run when the chip is in Standby Sleep mode.
Resolution Selection
This bit selects the ADC resolution.
Value | Description |
---|---|
0 | Full 10-bit resolution. The 10-bit ADC results are accumulated or stored in the ADC Result register (ADC.RES). |
1 | 8-bit resolution. The conversion results are truncated to eight bits (MSBs) before they are accumulated or stored in the ADC Result register (ADC.RES). The two Least Significant bits are discarded. |
Free-Running
Writing a '1' to this bit will enable the Free-Running mode for the data acquisition. The first conversion is started by writing the STCONV bit in ADC.COMMAND high. In the Free-Running mode, a new conversion cycle is started immediately after or as soon as the previous conversion cycle has completed. This is signaled by the RESRDY flag in ADCn.INTFLAGS.
ADC Enable
Value | Description |
---|---|
0 | ADC is disabled |
1 | ADC is enabled |