2022-03-05 03:02:09 +01:00
|
|
|
#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-05 03:02:09 +01:00
|
|
|
|
2022-03-22 15:49:22 +01:00
|
|
|
namespace power {
|
2022-03-05 03:02:09 +01:00
|
|
|
|
2022-03-22 15:49:22 +01:00
|
|
|
enum class States { IDLE, SWITCHING_POWER, CHECKING_POWER, MODE_COMMANDING };
|
2022-03-17 19:23:39 +01:00
|
|
|
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")))
|
2022-03-05 03:02:09 +01:00
|
|
|
|
|
|
|
} // namespace duallane
|
|
|
|
|
|
|
|
#endif /* MISSION_SYSTEM_DEFINITIONS_H_ */
|