eive-tmtc/eive_tmtc/tmtc/tcs/defs.py

28 lines
504 B
Python
Raw Normal View History

2023-01-31 15:41:51 +01:00
import enum
class CtrlSetId(enum.IntEnum):
PRIMARY_SENSORS = 0
DEVICE_SENSORS = 1
SUS_TEMP_SENSORS = 2
2023-02-21 02:28:32 +01:00
HEATER_INFO = 4
2023-07-10 16:03:08 +02:00
TCS_CTRL_INFO = 5
2023-07-06 14:15:28 +02:00
class TcsSubmode(enum.IntEnum):
DEFAULT = 0
NO_HEATER_CTRL = 1
2023-07-10 18:29:24 +02:00
class Heater(enum.IntEnum):
HEATER_0_PLOC_PROC_BRD = 0
HEATER_1_PCDU_BRD = 1
HEATER_2_ACS_BRD = 2
HEATER_3_OBC_BRD = 3
HEATER_4_CAMERA = 4
HEATER_5_STR = 5
HEATER_6_DRO = 6
HEATER_7_SYRLINKS = 7
NUMBER_OF_SWITCHES = 8
NONE = 0xFF