@web-font-path: "roboto-debian.css";
Voltage Regulation API. More...
Functions | |
void | vreg_set_voltage (enum vreg_voltage voltage) |
Set voltage. | |
enum vreg_voltage | vreg_get_voltage (void) |
Get voltage. | |
void | vreg_disable_voltage_limit (void) |
Enable use of voltages beyond the safe range of operation. | |
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.
enum vreg_voltage vreg_get_voltage | ( | void | ) |
Get voltage.
void vreg_set_voltage | ( | enum vreg_voltage | voltage | ) |
Set voltage.
voltage | The voltage (from enumeration vreg_voltage) to apply to the voltage regulator |