Files
Jungfraujoch/acquisition_device/Completion.h
leonarski_f d82bd13917 Minor fixes for CI and dependencies
Improvements in documentation and readability of JungfraujochDevice function
2023-12-14 22:39:17 +01:00

26 lines
498 B
C++

// Copyright (2019-2023) Paul Scherrer Institute
#ifndef JUNGFRAUJOCH_COMPLETION_H
#define JUNGFRAUJOCH_COMPLETION_H
#include <cstdint>
struct WorkRequest {
uint32_t handle;
};
struct Completion {
enum class Type {Start, End, Image} type;
uint64_t frame_number;
uint32_t handle;
uint16_t packet_count;
uint16_t data_collection_id;
uint16_t module_number;
bool pedestal;
};
Completion parse_hw_completion(uint32_t hw_input);
#endif //JUNGFRAUJOCH_COMPLETION_H