fdhwlib
2.0.25
|
#include <sltirvector.h>
The class provides tools to interprete the interrupt vector generated by the slt board.
To get the information about the slotid use the pbus command getIRorigin() which returns slotid.
Definition at line 27 of file sltirvector.h.
SltIRvector::SltIRvector | ( | const char * | name, |
int | slotID, | ||
unsigned int | regID, | ||
int | r, | ||
int | w | ||
) |
SltIRvector::~SltIRvector | ( | ) |
int SltIRvector::getIRmask | ( | ) |
int SltIRvector::getIRmask | ( | unsigned long | irvector | ) |
int SltIRvector::getIRorigin | ( | ) |
int SltIRvector::getIRorigin | ( | unsigned long | irvector | ) |
Calculate the origin form the interrupt acknoledge vector.
The command makes no access to the pbus. It is more based on the definition of the hardware than on the pbus layer - but it is very comfortable to have the information about the slotid at this layer?!
Reimplemented from Pbus.
int SltIRvector::getIRsource | ( | ) |
int SltIRvector::getIRsource | ( | unsigned long | irsource | ) |
unsigned long SltIRvector::addr [private] |
Reimplemented from SltRegister.
Definition at line 44 of file sltirvector.h.
const char* SltIRvector::name [private] |
Reimplemented from SltRegister.
Definition at line 47 of file sltirvector.h.
bool SltIRvector::readable [private] |
Reimplemented from SltRegister.
Definition at line 50 of file sltirvector.h.
bool SltIRvector::writeable [private] |
Reimplemented from SltRegister.
Definition at line 53 of file sltirvector.h.