|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Caller-owned nag state carried across ra8_batt_update calls. More...
#include <ra8_batt.h>
Data Fields | |
| bool | low_raised |
| Low nag raised and not yet re-armed. | |
| bool | critical_raised |
| Critical nag raised and not yet re-armed. | |
Caller-owned nag state carried across ra8_batt_update calls.
Zero-initialise with ra8_batt_monitor_init before the first update. The two flags record which bands have already nagged and not yet re-armed, so each warning is one-shot per descent into its band.
Definition at line 85 of file ra8_batt.h.
| bool ra8_batt_monitor_t::critical_raised |
Critical nag raised and not yet re-armed.
Definition at line 87 of file ra8_batt.h.
Referenced by ra8_batt_monitor_init(), and ra8_batt_update().
| bool ra8_batt_monitor_t::low_raised |
Low nag raised and not yet re-armed.
Definition at line 86 of file ra8_batt.h.
Referenced by ra8_batt_monitor_init(), and ra8_batt_update().