5#ifndef LOGIC_STATISTICS_HANDLER_H
6#define LOGIC_STATISTICS_HANDLER_H
57void show(
const bool shouldShowAlerts =
true);
void write_to_memory()
Write statistics to the system flash memory.
Definition: statistics_handler.cpp:96
void signal_button_press()
Signal that a button press was detected.
Definition: statistics_handler.cpp:113
Statistics_t statistics
Statistics holder.
Definition: statistics_handler.cpp:60
void signal_alert_raised(uint32_t alertMask)
Signal that an alert of any type was raised.
Definition: statistics_handler.cpp:181
void signal_output_off()
Signal that the output just turned off.
Definition: statistics_handler.cpp:142
void signal_battery_charging_on()
Signal that the battery is charging.
Definition: statistics_handler.cpp:168
void show(const bool shouldShowAlerts)
Debug the statistics to serial output.
Definition: statistics_handler.cpp:193
void signal_battery_charging_off()
Signal that the battery is not charging.
Definition: statistics_handler.cpp:174
void load_from_memory()
Load the statistics from the slash memeory.
Definition: statistics_handler.cpp:74
void signal_output_on()
Signal that the output just turned on.
Definition: statistics_handler.cpp:136
Program scope.
Definition: control_fixed_modes.hpp:12