| Bit31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
| Access | |||||||
| Reset | |||||||
| Bit23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| SEL[3:0] | |||||||
| Access | R/W | R/W | R/W | R/W | |||
| Reset | 0 | 0 | 0 | 0 | |||
| Bit15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| Access | |||||||
| Reset | |||||||
| Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| ONDEMAND | RUNSTDBY | VREFOE | |||||
| AccessR/W | R/W | R/W | |||||
| Reset0 | 0 | 0 | |||||
Voltage Reference Selection
These bits select the Voltage Reference for the ADC.
| Value | Description |
|---|---|
| 0x0 | 1.024V voltage reference typical value. |
| 0x2 | 2.048V voltage reference typical value. |
| 0x3 | 4.096V voltage reference typical value. |
| Others | Reserved |
On Demand Control
The On Demand operation mode allows to enable or disable the voltage reference depending on peripheral requests.
| Value | Description |
|---|---|
| 0 | The voltage reference is always on, if enabled. |
| 1 | The voltage reference is enabled when a peripheral is requesting it. The voltage reference is disabled if no peripheral is requesting it. |
Run In Standby
The bit controls how the voltage reference behaves during standby sleep mode.
| Value | Description |
|---|---|
| 0 | The voltage reference is halted during standby sleep mode. |
| 1 | The voltage reference is not stopped in standby sleep mode. If VREF.ONDEMAND=1, the voltage reference will be running when a peripheral is requesting it. If VREF.ONDEMAND=0, the voltage reference will always be running in standby sleep mode. |
Voltage Reference Output Enable
| Value | Description |
|---|---|
| 0 | The Voltage Reference output is not available as an ADC input channel. |
| 1 | The Voltage Reference output is routed to an ADC input channel. |