26.7.8 Voltage Regulator System (VREG) Control

Note: During normal operation, all voltage regulators that are in use must be left in the On state to allow for the proper transition between different low-power or standby states.
Table 26-10. Register Bit Attribute Legend
Symbol Description Symbol Description Symbol Description
R Readable bit HC Cleared by Hardware (Grey cell) Unimplemented
W Writable bit HS Set by Hardware X Bit is unknown at Reset
K Write to clear S Software settable bit
Name: VREGCTRL
Offset: 0x001C
Reset: 0x00000004
Property: PAC Write-Protection

Bit 3130292827262524 
        AVREGSTDBY 
Access R/W 
Reset 0 
Bit 2322212019181716 
        AVREGEN 
Access R/W 
Reset 0 
Bit 15141312111098 
       CPEN[1:0] 
Access R/WR/W 
Reset 00 
Bit 76543210 
   LVHIBLVSTDBY OFFSTDBY   
Access R/W/HCR/W/HCR/W 
Reset 000 

Bit 24 – AVREGSTDBY Additional Voltage Regulator Configuration

ValueDescription
0x0 USB regulator is off in Sleep, Standby, Hibernate or Backup mode.
0x1 USB regulator is ON in Standby mode if the AVREGEN bit is set.

It is OFF in Hibernate or Backup mode.

Bit 16 – AVREGEN Additional Voltage Regulator Enabled

ValueDescription
0x0 USB regulator is disabled (Default)
0x1 USB regulator is Enabled

Bits 9:8 – CPEN[1:0]  Analog Peripheral Charge Pump Enabled

Value Description Requirements
0x0 All charge pumps disabled. AVDD ≥ 2.5v
0x1 Enable charge pump for I/O analog mux and Analog Comparator (AC) AVDD < 2.5v
--- Reserved
0x3 Enable charge pumps for I/O, AC, ADC, and PTC
Note:
  1. When AVDD < 2.5v the corresponding appropriate CPEN must be enabled.
  2. Users must have previously enabled the charge pump clocks defined in Configuration Register 5, FUCFG5.

Bit 5 – LVHIB Low Voltage Hibernate Enable

Note: LVHIB must always be forced to 1.
ValueDescription
0x0 In Hibernate mode, VDDCORE_BU and VDDCORE_RAM are set to 1.2v.
0x1 In Hibernate mode, VDDCORE_BU and VDDCORE_RAM are set to 0.8v

Bit 4 – LVSTDBY Low Voltage Standby Enable

ValueDescription
0x0 In Standby mode, VDDCORE_BU, VDDCORE_RAM, VDDCORE_SW and optionally VDDCOREUSB/PLL are set to 1.2v.
0x1 In Standby mode, VDDCORE_BU, VDDCORE_RAM, VDDCORE_SW and operationally VDDCOREUSB/PLL are set to 0.8v.

Bit 2 – OFFSTDBY Off in Standby Control VREGSW 0 and 1

ValueDescription
0x0 In Standby mode, VREGSW 0,1 are OFF
0x1 In standby mode, VREGSW 0,1 are ON