7#define BQ27220_ERROR 0x0
8#define BQ27220_SUCCESS 0x1
31_Static_assert(
sizeof(
BatteryStatus) == 2,
"Incorrect structure size");
48_Static_assert(
sizeof(
OperationStatus) == 2,
"Incorrect structure size");
Definition bq27220_data_memory.h:54
FuriHal i2c handle.
Definition furi_hal_i2c_types.h:44
bool BTPINT
BTP threshold has been crossed.
Definition bq27220.h:41
bool CFGUPDATE
Gauge is in CONFIG UPDATE mode.
Definition bq27220.h:44
bool SMTH
RemainingCapacity is scaled by smooth engine.
Definition bq27220.h:40
bool CALMD
Calibration mode enabled.
Definition bq27220.h:35
bool INITCOMP
gauge initialization is complete
Definition bq27220.h:39
uint8_t SEC
Current security access.
Definition bq27220.h:36
bool EDV2
EDV2 threshold exceeded.
Definition bq27220.h:37
bool VDQ
Indicates if Current discharge cycle is NOT qualified or qualified for an FCC updated.
Definition bq27220.h:38