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:95
void signal_button_press()
Signal that a button press was detected.
Definition: statistics_handler.cpp:112
Statistics_t statistics
Statistics holder.
Definition: statistics_handler.cpp:59
void signal_alert_raised(uint32_t alertMask)
Signal that an alert of any type was raised.
Definition: statistics_handler.cpp:180
void signal_output_off()
Signal that the output just turned off.
Definition: statistics_handler.cpp:141
void signal_battery_charging_on()
Signal that the battery is charging.
Definition: statistics_handler.cpp:167
void show(const bool shouldShowAlerts)
Debug the statistics to serial output.
Definition: statistics_handler.cpp:192
void signal_battery_charging_off()
Signal that the battery is not charging.
Definition: statistics_handler.cpp:173
void load_from_memory()
Load the statistics from the slash memeory.
Definition: statistics_handler.cpp:73
void signal_output_on()
Signal that the output just turned on.
Definition: statistics_handler.cpp:135
Program scope.
Definition: control_fixed_modes.hpp:12