eive-obsw/mission/system/definitions.h

21 lines
569 B
C
Raw Normal View History

#ifndef MISSION_SYSTEM_DEFINITIONS_H_
#define MISSION_SYSTEM_DEFINITIONS_H_
#include <fsfw/modes/ModeMessage.h>
2022-08-26 16:12:22 +02:00
#include <fsfw/introspection/ClasslessEnum.h>
2022-03-22 15:49:22 +01:00
namespace power {
2022-03-22 15:49:22 +01:00
enum class States { IDLE, SWITCHING_POWER, CHECKING_POWER, MODE_COMMANDING };
enum class OpCodes { NONE, TO_OFF_DONE, TO_NOT_OFF_DONE, TIMEOUT_OCCURED };
2022-03-22 15:49:22 +01:00
} // namespace power
namespace duallane {
2022-08-26 16:12:22 +02:00
FSFW_CLASSLESS_ENUM(Submodes, Submode_t, ((A_SIDE, 0, "Side A")) ((B_SIDE, 1, "Side B")) ((DUAL_MODE, 2, "Dual mode")))
} // namespace duallane
#endif /* MISSION_SYSTEM_DEFINITIONS_H_ */