fdhwlib  2.0.25
SltIRvector Class Reference

#include <sltirvector.h>

Inheritance diagram for SltIRvector:
SltRegister Pbus

List of all members.

Public Member Functions

Private Attributes


Detailed Description

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.


Constructor & Destructor Documentation

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

Member Function Documentation

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?!

Returns:
The slotid of the board generating the interrupt

Reimplemented from Pbus.

int SltIRvector::getIRsource ( )
int SltIRvector::getIRsource ( unsigned long  irsource)

Member Data Documentation

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.


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