DUNE-DAQ
DUNE Trigger and Data Acquisition software
Toggle main menu visibility
Loading...
Searching...
No Matches
dunedaq
sourcecode
wibmod
src
wibmod
WIB1
WIBException.hh
Go to the documentation of this file.
1
#ifndef __WIB_EXCEPTION_HH__
2
#define __WIB_EXCEPTION_HH__ 1
3
4
#include "
wibmod/WIB1/BUException/ExceptionBase.hh
"
5
6
namespace
BUException
{
7
//Exceptions for WIB
8
ExceptionClassGenerator
(WIB_INDEX_OUT_OF_RANGE,
"Index out of range\n"
)
9
// ExceptionClassGenerator(WIB_FEMB_RANGE,"WIB FEMB out of range\n")
10
// ExceptionClassGenerator(WIB_DAQ_LINK_RANGE,"WIB DAQ Link out of range\n")
11
ExceptionClassGenerator
(WIB_BUSY,
"WIB BUSY\n"
)
12
ExceptionClassGenerator
(WIB_FEATURE_NOT_SUPPORTED,
"Requested feature is not available\n"
)
13
ExceptionClassGenerator
(WIB_BAD_ARGS,
"WIB bad args"
)
14
ExceptionClassGenerator
(WIB_ERROR,
"WIB Error"
)
15
ExceptionClassGenerator
(WIB_DAQMODE_UNKNOWN,
"Unknown whether WIB is in RCE or FELIX mode\n"
)
16
ExceptionClassGenerator
(WIB_FAKE_DATA_ON_HALF_FELIX_LINK,
"Fake data mode set on only 1 FEMB of a FELIX link--not allowed"
)
17
ExceptionClassGenerator
(WIB_FLASH_TIMEOUT,
"A timeout occured on WIB flash"
)
18
ExceptionClassGenerator
(WIB_FLASH_ERROR,
"An error while using the flash"
)
19
ExceptionClassGenerator
(WIB_FLASH_IHEX_ERROR,
"An error while parsing intel Hex files"
)
20
ExceptionClassGenerator
(WIB_DTS_ERROR,
"WIB timing system error"
)
21
ExceptionClassGenerator
(FEMB_FIRMWARE_VERSION_MISMATCH,
"FEMB firmware version mismatch"
)
22
ExceptionClassGenerator
(FEMB_REG_READ_ERROR,
"Can't read FEMB registers"
)
23
ExceptionClassGenerator
(FEMB_SPI_READBACK_MISMATCH,
"FEMB ASIC SPI readback mismatch--problems communicating with ASICs"
)
24
ExceptionClassGenerator
(FEMB_ADC_SYNC_ERROR,
"FEMB can't sync FIFOs from ADC ASICs"
)
25
}
26
27
#endif
ExceptionBase.hh
ExceptionClassGenerator
#define ExceptionClassGenerator(ClassName, ClassDescription)
Definition
ExceptionBase.hh:28
BUException
Definition
AddressTableException.hh:6
BUException::ExceptionClassGenerator
ExceptionClassGenerator(BAD_FILE,"Bad File\n") ExceptionClassGenerator(INVALID_NAME
Generated on
for DUNE-DAQ by
1.17.0