19.8.7 Voltage References System (VREF) Control
Name: | VREF |
Offset: | 0x1C |
Reset: | 0x00000000 |
Property: | PAC Write-Protection |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
SEL[3:0] | |||||||||
Access | R/W | R/W | R/W | R/W | |||||
Reset | 0 | 0 | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
Access | |||||||||
Reset |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
ONDEMAND | RUNSTDBY | TSSEL | VREFOE | TSEN | |||||
Access | R/W | R/W | R/W | R/W | R/W | ||||
Reset | 0 | 0 | 0 | 0 | 0 |
Bits 19:16 – SEL[3:0] Voltage Reference Selection
These bits select the Voltage Reference for the ADC/DAC.
Value | Name | Description |
---|---|---|
0x0 | 1V0 | 1.0V voltage reference typical value |
0x1 | 1V1 | 1.1V voltage reference typical value |
0x2 | 1V2 | 1.2V voltage reference typical value |
0x3 | 1V25 | 1.25V voltage reference typical value |
0x4 | 2V0 | 2.0V voltage reference typical value |
0x5 | 2V2 | 2.2V voltage reference typical value |
0x6 | 2V4 | 2.4V voltage reference typical value |
0x7 | 2V5 | 2.5V voltage reference typical value |
Others | Reserved |
Bit 7 – ONDEMAND 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. |
Bit 6 – RUNSTDBY 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. |
Bit 3 – TSSEL Temperature Sensor Channel Selection
Value | Description |
---|---|
0 | The Temperature Sensor PTAT channel is selected. |
1 | The Temperature Sensor CTAT channel is selected. |
Bit 2 – VREFOE Voltage Reference Output Enable
Value | Description |
---|---|
0 | The Voltage Reference output (INTREF) is not available as an ADC input channel. |
1 | The Voltage Reference output (INTREF) is routed to an ADC input channel. |
Bit 1 – TSEN Temperature Sensor Enable
Value | Description |
---|---|
0 | Temperature Sensor is disabled. |
1 | Temperature Sensor is enabled and routed to an ADC input channel. |