fdhwlib  2.0.25
SltControlReg Class Reference

#include <SltControlReg.h>

Inheritance diagram for SltControlReg:
SltRegister Pbus

List of all members.

Public Member Functions

Public Attributes


Detailed Description

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:

  • 6.6.01 ak: Signal sources and bit fields sizes have changed.

Definition at line 146 of file SltControlReg.h.


Constructor & Destructor Documentation

SltControlReg::SltControlReg ( const char *  name,
int  slotID,
int  regID,
int  r,
int  w 
)
SltControlReg::~SltControlReg ( )

Member Function Documentation

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

  • trigger
  • inhibit
  • secstrobe
  • deadtime

Reimplemented from SltRegister.


Member Data Documentation

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.


The documentation for this class was generated from the following file: