fdhwlib
2.0.25
|
#include <SltControlReg.h>
This class contains the structure of the control register of the Slt.
The public variables contain the different sources for trigger, inhibit, ... To use these it is necassary to perform a read before.
Changes:
Definition at line 146 of file SltControlReg.h.
SltControlReg::SltControlReg | ( | const char * | name, |
int | slotID, | ||
int | regID, | ||
int | r, | ||
int | w | ||
) |
SltControlReg::~SltControlReg | ( | ) |
void SltControlReg::disableDeadTime | ( | ) |
Disable the counters for veto- and dead-time.
void SltControlReg::enableDeadTime | ( | ) |
Enable the counters for veto- and dead-time.
int SltControlReg::getInhibitSource | ( | ) |
int SltControlReg::getInitADCSource | ( | ) |
int SltControlReg::getNextPageSource | ( | ) |
int SltControlReg::getSecStrobeSource | ( | ) |
int SltControlReg::getTestpulsSource | ( | ) |
int SltControlReg::getTriggerSource | ( | ) |
bool SltControlReg::isEnabledDeadTime | ( | ) |
Request the status of the veto- and dead-time counters.
unsigned long SltControlReg::read | ( | ) |
Returns the data of the control register.
+ in addition the different sources are determined. and stored in the public variables
Reimplemented from SltRegister.
void SltControlReg::setDeadTimeSource | ( | int | source | ) |
Enable/disable the counters for veto- and dead-time.
void SltControlReg::setInhibitSource | ( | int | source | ) |
void SltControlReg::setInitADCSource | ( | int | source | ) |
void SltControlReg::setNextPageSource | ( | int | source | ) |
void SltControlReg::setSecStrobeSource | ( | int | source | ) |
void SltControlReg::setTestpulsSource | ( | int | source | ) |
void SltControlReg::setTriggerSource | ( | int | source | ) |
int SltControlReg::writeBitsByName | ( | char * | name, |
unsigned long | data | ||
) | [virtual] |
Write bit fields by name.
Known bit field of the control register are
Reimplemented from SltRegister.
Definition at line 220 of file SltControlReg.h.
Definition at line 210 of file SltControlReg.h.
Definition at line 218 of file SltControlReg.h.
Definition at line 212 of file SltControlReg.h.
Definition at line 216 of file SltControlReg.h.
Definition at line 214 of file SltControlReg.h.
Definition at line 208 of file SltControlReg.h.