/**
* @file monitor.hpp
* @brief Manages the device monitoring thread (status LEDs, etc.).
*
* Copyright (C) 2023 Clyne Sullivan
*
* Distributed under the GNU GPL v3 or later. You should have received a copy of
* the GNU General Public License along with this program.
* If not, see .
*/
#ifndef STMDSP_MONITOR_HPP
#define STMDSP_MONITOR_HPP
#include "ch.h"
#include
class Monitor
{
public:
/**
* Starts the monitor thread.
*/
static void begin();
private:
/**
* Updates status LEDs. Does not return.
*/
static void threadMonitor(void *);
static std::array m_thread_stack;
};
#endif // STMDSP_MONITOR_HPP