![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
struct ec_params_charger_control - Charger control parameters @max_current: Charger current (mA). More...
#include <ec_commands.h>
Data Fields | |
int16_t | max_current |
uint16_t | otg_voltage |
uint8_t | allow_charging |
struct ec_params_charger_control - Charger control parameters @max_current: Charger current (mA).
Positive to allow base to draw up to max_current and (possibly) charge battery, negative to request current from base (OTG). @otg_voltage: Voltage (mV) to use in OTG mode, ignored if max_current is >= 0. @allow_charging: Allow base battery charging (only makes sense if max_current > 0).
Definition at line 7471 of file ec_commands.h.
uint8_t ec_params_charger_control::allow_charging |
Definition at line 7474 of file ec_commands.h.
int16_t ec_params_charger_control::max_current |
Definition at line 7472 of file ec_commands.h.
uint16_t ec_params_charger_control::otg_voltage |
Definition at line 7473 of file ec_commands.h.