65.7.1 ADC Control Register
Name: | ADC_CR |
Offset: | 0x00 |
Reset: | – |
Property: | Write-only |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
Access | |||||||||
Reset |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
Access | |||||||||
Reset |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
CMPRST | TSCALIB | START | SWRST | ||||||
Access | W | W | W | W | |||||
Reset | – | – | – | – |
Bit 4 – CMPRST Comparison Restart
Value | Description |
---|---|
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).
Value | Description |
---|---|
0 | No effect. |
1 | Programs screen calibration (VDD/GND measurement) |
Bit 1 – START Start Conversion
Value | Description |
---|---|
0 | No effect. |
1 | Triggers a single sequence of analog-to-digital conversions if ADC_TRGR.TRGMOD=0. |
Bit 0 – SWRST Software Reset
Value | Description |
---|---|
0 | No effect. |
1 | Resets the ADC. |