|
PebbleOS v4.48.0-75-g7416f78a1
|
Functions | |
| int | pbl_regulator_enable (const struct pbl_regulator *reg) |
| Take a reference on a rail, switching it on for the first user. | |
| int | pbl_regulator_disable (const struct pbl_regulator *reg) |
| Drop a reference on a rail, switching it off after the last user. | |
| int | pbl_regulator_power_cycle (const struct pbl_regulator *reg, uint32_t off_ms) |
| Switch a rail off and back on, also if it is always-on. | |
| bool | pbl_regulator_is_enabled (const struct pbl_regulator *reg) |
| Check whether a rail is on. | |