5#ifndef LOGIC_STATISTICS_HANDLER_H
6#define LOGIC_STATISTICS_HANDLER_H
58void show(
const bool shouldShowAlerts =
true);
void write_to_memory()
Write statistics to the system flash memory.
Definition: statistics_handler.cpp:111
void signal_button_press()
Signal that a button press was detected.
Definition: statistics_handler.cpp:128
Statistics_t statistics
Statistics holder.
Definition: statistics_handler.cpp:69
void load_from_memory(const bool shouldResetExisting)
Load the statistics from the slash memeory.
Definition: statistics_handler.cpp:83
void signal_alert_raised(uint32_t alertMask)
Signal that an alert of any type was raised.
Definition: statistics_handler.cpp:196
void signal_output_off()
Signal that the output just turned off.
Definition: statistics_handler.cpp:157
void signal_battery_charging_on()
Signal that the battery is charging.
Definition: statistics_handler.cpp:183
void show(const bool shouldShowAlerts)
Debug the statistics to serial output.
Definition: statistics_handler.cpp:208
void signal_battery_charging_off()
Signal that the battery is not charging.
Definition: statistics_handler.cpp:189
void signal_output_on()
Signal that the output just turned on.
Definition: statistics_handler.cpp:151
Program scope.
Definition: control_fixed_modes.hpp:12