Robin Mueller
808e01dfd3
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
19 lines
532 B
C++
19 lines
532 B
C++
#ifndef MISSION_DEVICES_DEVICEDEFINITIONS_SCEXDEFINITIONS_H_
|
|
#define MISSION_DEVICES_DEVICEDEFINITIONS_SCEXDEFINITIONS_H_
|
|
|
|
#include <cstdint>
|
|
|
|
// Definitions for the Solar Cell Experiment
|
|
namespace scex {
|
|
|
|
enum ScexCmds : uint8_t { PING = 0b00111, ONE_CELL = 0b00110, FRAM = 0b00001 };
|
|
|
|
static constexpr uint8_t IDLE_BIT_0_DEF_STATE = 0;
|
|
static constexpr uint8_t IDLE_BIT_1_DEF_STATE = 1;
|
|
|
|
uint8_t createCmdByte(ScexCmds cmd, bool tempCheck);
|
|
|
|
} // namespace scex
|
|
|
|
#endif /* MISSION_DEVICES_DEVICEDEFINITIONS_SCEXDEFINITIONS_H_ */
|