fdhwlib  2.0.25
SltRegisterVector Class Reference

#include <SltRegisterVector.h>

Inheritance diagram for SltRegisterVector:
Pbus SltMultiplicityParameter SltPageStatusReg SltTimeStamp

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

The Slt board contains some registers that can be access like a vector, e.g.

the sensor data, testpuls, ...

Changes:

  • Implementation of the read commands changed. The Pbus read block commands are not used any more because of the missing implementation of DMA access for these registers. The performance decrease is neglectable because of the length of the defined vectors (2002-09-17, ak).

Definition at line 35 of file SltRegisterVector.h.


Constructor & Destructor Documentation

SltRegisterVector::SltRegisterVector ( const char *  name,
int  slotID,
unsigned int  regID,
int  r,
int  w,
int  len 
)
virtual SltRegisterVector::~SltRegisterVector ( ) [virtual]

Member Function Documentation

virtual void SltRegisterVector::get ( FEunitData **  data) [virtual]

Pass the data of the register vector to the DAQ application.

Reimplemented in SltPageStatusReg.

unsigned long SltRegisterVector::getAddr ( int  elem = 0)

Get address.

int SltRegisterVector::getLength ( )
const char* SltRegisterVector::getName ( )
bool SltRegisterVector::isReadable ( )
bool SltRegisterVector::isWriteable ( )
unsigned long SltRegisterVector::read ( int  elem = 0)

Reimplemented in SltTimeStamp.

void SltRegisterVector::read ( unsigned long *  data,
int  len 
)
void SltRegisterVector::read ( unsigned long *  data)

Reimplemented in SltTimeStamp.

void SltRegisterVector::setBitsToHigh ( int  elem,
unsigned long  mask 
)
void SltRegisterVector::setBitsToLow ( int  elem,
unsigned long  mask 
)
void SltRegisterVector::write ( int  elem,
unsigned long  data 
)
void SltRegisterVector::write ( unsigned long *  data,
int  len 
)
void SltRegisterVector::write ( unsigned long *  data)
void SltRegisterVector::writeBits ( int  elem,
unsigned long  data,
unsigned long  mask,
int  shift 
)

Member Data Documentation

unsigned long SltRegisterVector::addr [protected]

Definition at line 89 of file SltRegisterVector.h.

int SltRegisterVector::len [protected]

Definition at line 101 of file SltRegisterVector.h.

const char* SltRegisterVector::name [protected]

Definition at line 92 of file SltRegisterVector.h.

bool SltRegisterVector::readable [protected]

Definition at line 95 of file SltRegisterVector.h.

bool SltRegisterVector::writeable [protected]

Definition at line 98 of file SltRegisterVector.h.


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