feature/SysfsReaderClass #2

Merged
unai merged 10 commits from feature/SysfsReaderClass into main 2026-03-10 16:33:24 +00:00
Showing only changes of commit fabcf5a146 - Show all commits

20
include/SysfsRead.hpp Normal file
View File

@ -0,0 +1,20 @@
// SysfsRead.hpp
//
// SPDX-License-Identifier GPL-3.0-or-later
// Author: Unai Blazquez Gomez <unaibg2000@gmail.com>
#pragma once
enum class SysfsStatus
{
/// @brief File cannot be opened or does not exist.
Unreachable,
/// @brief File exists but is just empty.
Empty,
/// @brief File content indicates taht production is enabled (e.g. "1")
Enabled,
/// @brief File requests a cooldown ("error: temp too high")
ErrorTempTooHigh,
/// @brief File contains an UnexpectedValue; producer must not send.
UnexpectedValue
};