eive-obsw/mission/tcs/defs.h

30 lines
452 B
C
Raw Permalink Normal View History

2023-04-11 22:58:13 +02:00
#pragma once
2021-01-28 14:55:21 +01:00
2023-04-11 22:58:13 +02:00
#include <atomic>
2021-05-17 20:03:56 +02:00
#include <cstdint>
2022-05-02 22:55:39 +02:00
namespace heater {
2023-07-06 23:06:50 +02:00
2023-04-06 12:13:24 +02:00
enum Switch : uint8_t {
2023-06-14 03:15:59 +02:00
HEATER_0_PLOC_PROC_BRD,
HEATER_1_PCDU_PDU,
2022-05-17 13:40:19 +02:00
HEATER_2_ACS_BRD,
2023-06-14 03:15:59 +02:00
HEATER_3_OBC_BRD,
2022-05-17 13:40:19 +02:00
HEATER_4_CAMERA,
HEATER_5_STR,
HEATER_6_DRO,
2022-11-23 19:45:37 +01:00
HEATER_7_S_BAND,
2023-07-10 18:29:55 +02:00
NUMBER_OF_SWITCHES = 8,
HEATER_NONE = 0xff
2022-05-17 13:40:19 +02:00
};
2023-07-06 23:06:50 +02:00
enum SwitchState : uint8_t { ON = 1, OFF = 0 };
} // namespace heater
2021-01-28 14:55:21 +01:00
2023-04-11 22:58:13 +02:00
namespace tcs {
extern std::atomic_bool TCS_BOARD_SHORTLY_UNAVAILABLE;
}