STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
DiabloEnums.h
Go to the documentation of this file.
1#pragma once
2
3#include <stdint.h>
4
5namespace daq {
6
7/**
8 * @brief Defines the type of data contained in a packet.
9 */
10enum class PacketType : uint8_t {
17 ABORT = 7,
25 LOGS = 15 // Board -> server: buffered, newline-delimited log text (see create_log_packet)
26};
27
28/**
29 * @brief Defines the operational state of a board.
30 */
43
44/**
45 * @brief Defines the overall state of the engine system.
46 * This is communicated from the server to the boards.
47 */
48enum class EngineState : uint8_t {
49 // These are examples; the full list would be defined by the system leads.
50 SAFE = 0,
53 FIRING = 3,
55};
56
57} // namespace daq
const std::string ABORT
EngineState
Defines the overall state of the engine system.
Definition DiabloEnums.h:48
BoardState
Defines the operational state of a board.
Definition DiabloEnums.h:31
PacketType
Defines the type of data contained in a packet.
Definition DiabloEnums.h:10