|
PF1550 Driver 0.1.0
API reference
|
The charger status of one ReadChargerStatus() pass (separate reads, not atomic).
More...
#include <pf1550_types.hpp>
Public Attributes | |
| ChargerState | state {ChargerState::Unknown} |
| CHG_SNS[3:0]. | |
| BatteryState | battery {BatteryState::Unknown} |
| BATT_SNS[2:0]. | |
| bool | watchdog_expired {false} |
| WDT_SNS. | |
| bool | thermistor_outside {false} |
| THM_SNS. | |
| bool | thermal_regulation {false} |
| TREG_SNS: charge current is folded back. | |
| bool | battery_overcurrent {false} |
| BATTOC_SNS. | |
| VbusFlags | vbus {} |
| VBUS_SNS. | |
| Fault | fault {Fault::UnknownState} |
| The classified fault. | |
| bool | consistent {false} |
| CHG_SNS read twice with equal values. | |
The charger status of one ReadChargerStatus() pass (separate reads, not atomic).