|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
User-settable battery state surfaced by the MAX17048 fuel gauge. More...
Data Fields | |
| uint8_t | soc_pct |
| State-of-charge percent (0..100). | |
| bool | charging |
| Charger attached (CRATE positive). | |
User-settable battery state surfaced by the MAX17048 fuel gauge.
Set from the CLI (--battery <pct> / --charge) before the run and read back by the status overlay; the fuel-gauge register file is laid from this whenever it changes.
Definition at line 93 of file board_periph_i2c_devices.c.
| bool battery_state_t::charging |
Charger attached (CRATE positive).
Definition at line 95 of file board_periph_i2c_devices.c.
| uint8_t battery_state_t::soc_pct |
State-of-charge percent (0..100).
Definition at line 94 of file board_periph_i2c_devices.c.