Voltage Regulation API. More...
Functions | |
void | vreg_set_voltage (enum vreg_voltage voltage) |
Set voltage. More... | |
void | vreg_disable_voltage_limit (void) |
Enable use of voltages beyond the safe range of operation. More... | |
Voltage Regulation API.
void vreg_disable_voltage_limit | ( | void | ) |
Enable use of voltages beyond the safe range of operation.
This allows voltages beyond VREG_VOLTAGE_MAX to be used, on platforms where they are available (e.g. RP2350). Attempting to set a higher voltage without first calling this function will result in a voltage of VREG_VOLTAGE_MAX.
void vreg_set_voltage | ( | enum vreg_voltage | voltage | ) |
Set voltage.
voltage | The voltage (from enumeration vreg_voltage) to apply to the voltage regulator |