fdhwlib
2.0.25
|
#include <SltRegister.h>
The class contains the register address modell of the SLT board.
The individual register address is calculated from the slot ID and the register ID.
Definition at line 30 of file SltRegister.h.
SltRegister::SltRegister | ( | const char * | name, |
int | slotID, | ||
unsigned int | regID, | ||
int | r, | ||
int | w | ||
) |
virtual SltRegister::~SltRegister | ( | ) | [virtual] |
virtual void SltRegister::get | ( | FEunitData ** | data | ) | [virtual] |
Pass the data of the register vector to the DAQ application.
unsigned long SltRegister::getAddr | ( | ) |
Get address.
const char* SltRegister::getName | ( | ) |
bool SltRegister::isReadable | ( | ) |
bool SltRegister::isWriteable | ( | ) |
unsigned long SltRegister::read | ( | ) |
Reimplemented in SltControlReg, and SltStatusReg.
void SltRegister::setBitsToHigh | ( | unsigned long | mask | ) |
void SltRegister::setBitsToLow | ( | unsigned long | mask | ) |
void SltRegister::write | ( | unsigned long | data | ) |
void SltRegister::writeBits | ( | unsigned long | data, |
unsigned long | mask, | ||
int | shift | ||
) |
virtual int SltRegister::writeBitsByName | ( | char * | name, |
unsigned long | data | ||
) | [virtual] |
Set a bit field by name.
The bit field have to be defined in the specialized classes.
name | name of the bit field |
data | vaues to write to the specified bit field |
Reimplemented in SltControlReg, and SltSetSecondCounter.
unsigned long SltRegister::addr [private] |
Reimplemented in SltIRvector.
Definition at line 79 of file SltRegister.h.
const char* SltRegister::name [private] |
Reimplemented in SltIRvector.
Definition at line 82 of file SltRegister.h.
bool SltRegister::readable [private] |
Reimplemented in SltIRvector.
Definition at line 85 of file SltRegister.h.
bool SltRegister::writeable [private] |
Reimplemented in SltIRvector.
Definition at line 88 of file SltRegister.h.