57.7.1 ADC Control Register

This register can only be written if the WPCTEN bit is cleared in the ADC Write Protection Mode Register.

Name: ADC_CR
Offset: 0x00
Reset: 
Property: Write-only

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
    CMPRST TSCALIBSTARTSWRST 
Access WWWW 
Reset  

Bit 4 – CMPRST Comparison Restart

ValueDescription
0 No effect.
1 Stops the conversion result storage until the next comparison match.

Bit 2 – TSCALIB Touchscreen Calibration

If conversion is in progress, the calibration sequence starts at the beginning of a new conversion sequence. If no conversion is in progress, the calibration sequence starts at the second conversion sequence located after the TSCALIB command (Sleep mode, waiting for a trigger event).

TSCALIB measurement sequence does not affect the Last Converted Data register (ADC_LCDR).

ValueDescription
0 No effect.
1 Programs screen calibration (VDD/GND measurement)

Bit 1 – START Start Conversion

ValueDescription
0 No effect.
1 Triggers a single sequence of analog-to-digital conversions if ADC_TRGR.TRGMOD=0.

Bit 0 – SWRST Software Reset

ValueDescription
0 No effect.
1 Resets the ADC.