eive-obsw/mission/com/defs.h

34 lines
627 B
C
Raw Normal View History

#ifndef MISSION_COMDEFS_H_
#define MISSION_COMDEFS_H_
2023-03-24 19:37:03 +01:00
#include <cstdint>
namespace com {
2023-01-26 14:42:13 +01:00
enum class Datarate : uint8_t {
LOW_RATE_MODULATION_BPSK,
HIGH_RATE_MODULATION_0QPSK,
NUM_DATARATES
};
2023-01-27 14:44:40 +01:00
enum Submode : uint8_t {
2023-02-06 20:15:45 +01:00
RX_ONLY = 10,
RX_AND_TX_DEFAULT_DATARATE = 11,
RX_AND_TX_LOW_DATARATE = 12,
RX_AND_TX_HIGH_DATARATE = 13,
RX_AND_TX_CW = 14,
2023-01-27 14:44:40 +01:00
NUM_SUBMODES
};
enum class CcsdsSubmode : uint8_t {
UNSET = 0,
DATARATE_LOW = 1,
DATARATE_HIGH = 2,
DATARATE_DEFAULT = 3
};
enum class ParameterId : uint8_t { DATARATE = 0, TRANSMITTER_TIMEOUT = 1 };
2023-01-27 14:44:40 +01:00
} // namespace com
#endif /* MISSION_COMDEFS_H_ */