7#ifndef _HARDWARE_VREG_H
8#define _HARDWARE_VREG_H
13#include "hardware/structs/vreg_and_chip_reset.h"
15#include "hardware/structs/powman.h"
33 VREG_VOLTAGE_0_55 = 0b00000,
34 VREG_VOLTAGE_0_60 = 0b00001,
35 VREG_VOLTAGE_0_65 = 0b00010,
36 VREG_VOLTAGE_0_70 = 0b00011,
37 VREG_VOLTAGE_0_75 = 0b00100,
38 VREG_VOLTAGE_0_80 = 0b00101,
52 VREG_VOLTAGE_1_35 = 0b10000,
53 VREG_VOLTAGE_1_40 = 0b10001,
54 VREG_VOLTAGE_1_50 = 0b10010,
55 VREG_VOLTAGE_1_60 = 0b10011,
56 VREG_VOLTAGE_1_65 = 0b10100,
57 VREG_VOLTAGE_1_70 = 0b10101,
58 VREG_VOLTAGE_1_80 = 0b10110,
59 VREG_VOLTAGE_1_90 = 0b10111,
60 VREG_VOLTAGE_2_00 = 0b11000,
61 VREG_VOLTAGE_2_35 = 0b11001,
62 VREG_VOLTAGE_2_50 = 0b11010,
63 VREG_VOLTAGE_2_65 = 0b11011,
64 VREG_VOLTAGE_2_80 = 0b11100,
65 VREG_VOLTAGE_3_00 = 0b11101,
66 VREG_VOLTAGE_3_15 = 0b11110,
67 VREG_VOLTAGE_3_30 = 0b11111,
void vreg_set_voltage(enum vreg_voltage voltage)
Set voltage.
Definition: vreg.c:10
void vreg_disable_voltage_limit(void)
Enable use of voltages beyond the safe range of operation.
Definition: vreg.c:40
vreg_voltage
Definition: vreg.h:31
@ VREG_VOLTAGE_1_00
1.00 V
Definition: vreg.h:43
@ VREG_VOLTAGE_1_15
1.15 V
Definition: vreg.h:46
@ VREG_VOLTAGE_1_30
1.30 V
Definition: vreg.h:49
@ VREG_VOLTAGE_DEFAULT
Default voltage on power up.
Definition: vreg.h:72
@ VREG_VOLTAGE_1_25
1.25 V
Definition: vreg.h:48
@ VREG_VOLTAGE_1_20
1.20 V
Definition: vreg.h:47
@ VREG_VOLTAGE_MIN
Always the minimum possible voltage.
Definition: vreg.h:71
@ VREG_VOLTAGE_0_85
0.85 V
Definition: vreg.h:40
@ VREG_VOLTAGE_0_95
0.95 V
Definition: vreg.h:42
@ VREG_VOLTAGE_MAX
Always the maximum possible voltage.
Definition: vreg.h:73
@ VREG_VOLTAGE_1_05
1.05 V
Definition: vreg.h:44
@ VREG_VOLTAGE_0_90
0.90 V
Definition: vreg.h:41
@ VREG_VOLTAGE_1_10
1.10 V
Definition: vreg.h:45