ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
interface to set interrupt bits More...
#include <InterruptVector.h>
Public Member Functions | |
virtual | ~InterruptVector () |
virtual void | setBit (unsigned bit, bool state)=0 |
set the bit of an interrupt line to state (true = raised) | |
virtual bool | getBit (unsigned bit) const =0 |
get the bit of an interrupt line | |
virtual unsigned | width () const =0 |
number of interrupt bits | |
virtual bool | isActive () const |
virtual void | clear () |
sets every bit to false | |
Public Attributes | |
bool | consumed_by_interruptlistener_ { false } |
interface to set interrupt bits
Definition at line 69 of file InterruptVector.h.
|
virtual |
Definition at line 57 of file InterruptVector.cpp.
|
virtual |
sets every bit to false
Reimplemented in etiss::CPUCore::InterruptVectorWrapper, and etiss::MappedInterruptVector< INT >.
Definition at line 68 of file InterruptVector.cpp.
References setBit(), and width().
|
pure virtual |
get the bit of an interrupt line
Implemented in etiss::CPUCore::InterruptVectorWrapper, and etiss::MappedInterruptVector< INT >.
Referenced by isActive().
|
virtual |
Reimplemented in etiss::CPUCore::InterruptVectorWrapper, and etiss::MappedInterruptVector< INT >.
Definition at line 59 of file InterruptVector.cpp.
References getBit(), and width().
Referenced by etiss::InterruptHandler::execute().
|
pure virtual |
set the bit of an interrupt line to state (true = raised)
Implemented in etiss::CPUCore::InterruptVectorWrapper, and etiss::MappedInterruptVector< INT >.
Referenced by clear(), and etiss::InterruptHandler::execute().
|
pure virtual |
number of interrupt bits
Implemented in etiss::CPUCore::InterruptVectorWrapper, and etiss::MappedInterruptVector< INT >.
Referenced by clear(), and isActive().
Definition at line 94 of file InterruptVector.h.
Referenced by etiss::InterruptHandler::execute().