|
PF1550 Driver 0.1.0
API reference
|
The charger. apply = false leaves it as found. Voltage, current and input limit have no default: they must be set when apply is true.
More...
#include <pf1550_config.hpp>
Public Attributes | |
| bool | apply {false} |
Write the charger in Configure(). | |
| ChargerMode | mode {ChargerMode::LinearOnly} |
| CHG_OPER, written last. | |
| uint16_t | charge_voltage_mv {0} |
CHGCV, 3500 to 4440 step 20; at most cell_max_mv. | |
| uint16_t | charge_current_ma {0} |
CHG_CC, 100 to 1000 step 50; at most cell_max_charge_ma. | |
| uint16_t | termination_ma {50} |
| IEOC: 5, 10, 20, 30 or 50. | |
| uint16_t | input_limit_ma {0} |
VBUS_LIN_ILIM, one of 21 values; at most input_max_ma. | |
| SystemMin | vsys_min {SystemMin::Mv4300} |
| VSYSMIN (differs from the reset value 3.5 V). | |
| Restart | restart {Restart::Mv150} |
| CHG_RESTART. | |
| FastChargeTimer | fast_timer {FastChargeTimer::Hours4} |
| FCHGTIME. | |
| EocTimer | eoc_timer {EocTimer::Min10} |
| EOCTIME. | |
| PrechargeTimer | precharge_timer {PrechargeTimer::Min30} |
| TPRECHG. | |
| Thermistor | thermistor {Thermistor::Suspend} |
| THM_CNFG. | |
| ThermalRegTemp | thermal_reg {ThermalRegTemp::C95} |
| REGTEMP. | |
| bool | thermal_foldback {true} |
| TEMP_FB_EN (differs from the reset value 0). | |
| WatchdogConfig | watchdog {} |
| WDTEN and WD_TIME. | |
| BatfetConfig | batfet {} |
| Battery FET. | |
| VbusOptions | vbus {} |
| VBUS options. | |
| JeitaConfig | jeita {} |
| JEITA. | |
| ChargerInterrupts | interrupts {} |
| CHG_INT_CNFG. | |
The charger. apply = false leaves it as found. Voltage, current and input limit have no default: they must be set when apply is true.