eive-obsw/mission/tcs/defs.h
Robin Mueller fdf1c7a611
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
seems to work now
2023-07-10 18:29:55 +02:00

30 lines
452 B
C++

#pragma once
#include <atomic>
#include <cstdint>
namespace heater {
enum Switch : uint8_t {
HEATER_0_PLOC_PROC_BRD,
HEATER_1_PCDU_PDU,
HEATER_2_ACS_BRD,
HEATER_3_OBC_BRD,
HEATER_4_CAMERA,
HEATER_5_STR,
HEATER_6_DRO,
HEATER_7_S_BAND,
NUMBER_OF_SWITCHES = 8,
HEATER_NONE = 0xff
};
enum SwitchState : uint8_t { ON = 1, OFF = 0 };
} // namespace heater
namespace tcs {
extern std::atomic_bool TCS_BOARD_SHORTLY_UNAVAILABLE;
}