1 #include "otsdaq-components/DAQHardware/OtsUDPFirmwareDataGen.h"
2 #include "otsdaq/Macros/CoutMacros.h"
3 #include "otsdaq/MessageFacility/MessageFacility.h"
8 OtsUDPFirmwareDataGen::OtsUDPFirmwareDataGen(
unsigned int version)
14 OtsUDPFirmwareDataGen::~OtsUDPFirmwareDataGen(
void) {}
17 void OtsUDPFirmwareDataGen::init(
void) {}
20 void OtsUDPFirmwareDataGen::setNumberOfBurstWords(std::string& buffer,
21 uint64_t numberOfWords)
23 __COUT__ << std::endl;
24 OtsUDPFirmwareCore::writeAdvanced(buffer, 0x1001, numberOfWords);
28 void OtsUDPFirmwareDataGen::setBurstWordsRate(std::string& buffer, uint64_t interval)
30 __COUT__ << std::endl;
31 OtsUDPFirmwareCore::writeAdvanced(buffer, 0x1002, interval);