DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
DAPHNEEthFrame.hxx
Go to the documentation of this file.
1
3
4inline uint16_t
6{
7
8 // We're static_casting the returned DAPHNEEthFrame::word_t to a uint16_t, which is fine since
9 // the ADC value is guaranteed to be storable in 16 bits
10
14}
15
16inline void
24
25} // namespace dunedaq::fddetdataformats
void set_adc(int i, uint16_t val)
Set the ith ADC value in the frame to val.
uint16_t get_adc(int i) const
Get the ith ADC value in the frame.
WordType get_adc_1d(const int i_adc, const WordType(&adc_array)[NWords])
Definition Utils.hpp:156
void set_adc_1d(const int i_adc, WordType adc_val, WordType(&adc_array)[NWords])
Definition Utils.hpp:195