vreg.h File Reference
#include "pico.h"
#include "hardware/structs/vreg_and_chip_reset.h"
Include dependency graph for vreg.h:

Go to the source code of this file.

Enumerations

enum  vreg_voltage {
  VREG_VOLTAGE_0_85 = 0b0110, VREG_VOLTAGE_0_90 = 0b0111, VREG_VOLTAGE_0_95 = 0b1000, VREG_VOLTAGE_1_00 = 0b1001,
  VREG_VOLTAGE_1_05 = 0b1010, VREG_VOLTAGE_1_10 = 0b1011, VREG_VOLTAGE_1_15 = 0b1100, VREG_VOLTAGE_1_20 = 0b1101,
  VREG_VOLTAGE_1_25 = 0b1110, VREG_VOLTAGE_1_30 = 0b1111, VREG_VOLTAGE_MIN = VREG_VOLTAGE_0_85, VREG_VOLTAGE_DEFAULT = VREG_VOLTAGE_1_10,
  VREG_VOLTAGE_MAX = VREG_VOLTAGE_1_30
}
 

Functions

void vreg_set_voltage (enum vreg_voltage voltage)
 Set voltage. More...
 

Enumeration Type Documentation

◆ vreg_voltage

Possible voltage values that can be applied to the regulator

Enumerator
VREG_VOLTAGE_0_85 

0.85v

VREG_VOLTAGE_0_90 

0.90v

VREG_VOLTAGE_0_95 

0.95v

VREG_VOLTAGE_1_00 

1.00v

VREG_VOLTAGE_1_05 

1.05v

VREG_VOLTAGE_1_10 

1.10v

VREG_VOLTAGE_1_15 

1.15v

VREG_VOLTAGE_1_20 

1.20v

VREG_VOLTAGE_1_25 

1.25v

VREG_VOLTAGE_1_30 

1.30v

VREG_VOLTAGE_MIN 

Always the minimum possible voltage.

VREG_VOLTAGE_DEFAULT 

Default voltage on power up.

VREG_VOLTAGE_MAX 

Always the maximum possible voltage.