22.8.7 Voltage References System (VREF) Control

Name: VREF
Offset: 0x1C
Reset: 0x00000000
Property: PAC Write-Protection

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
     SEL[3:0] 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
 ONDEMANDRUNSTDBY   VREFOE   
Access R/WR/WR/W 
Reset 000 

Bits 19:16 – SEL[3:0] Voltage Reference Selection

These bits select the Voltage Reference for the ADC.

Note:
  1. 2.0V to 2.5V can be used when the supply voltage(VDDANA) is higher than 2.7V
ValueNameDescription
0x01V01.0V voltage reference typical value
0x11V11.1V voltage reference typical value
0x21V21.2V voltage reference typical value
0x31V251.25V voltage reference typical value
0x42V02.0V voltage reference typical value
0x52V22.2V voltage reference typical value
0x62V42.4V voltage reference typical value
0x72V52.5V voltage reference typical value
OthersReservedReserved

Bit 7 – ONDEMAND On Demand Control

The On Demand operation mode allows to enable or disable the voltage reference depending on peripheral requests.

ValueDescription
0The voltage reference is always on, if enabled.
1The 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.

ValueDescription
0The voltage reference is halted during standby sleep mode.
1The 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 2 – VREFOE Voltage Reference Output Enable

ValueDescription
0The Voltage Reference output is not available as an ADC input channel.
1The Voltage Reference output is routed to an ADC input channel.