Class InterruptHandler
Defined in File sim_interrupt.h
Inheritance Relationships
Derived Types
public ArchAVR_ExtInt(Class ArchAVR_ExtInt)public ArchAVR_NVM(Class ArchAVR_NVM)public ArchAVR_WDT(Class ArchAVR_WDT)public ArchXT_Port(Class ArchXT_Port)public ArchXT_SPI::_InterruptHandler(Class ArchXT_SPI::_InterruptHandler)public InterruptFlag(Class InterruptFlag)
Class Documentation
-
class InterruptHandler
Abstract interface to a interrupt controller.
It allows to raise (or cancel) an single interrupt. The same handler can be used for several interrupts.
See also
AVR_InterruptController
Subclassed by ArchAVR_ExtInt, ArchAVR_NVM, ArchAVR_WDT, ArchXT_Port, ArchXT_SPI::_InterruptHandler, InterruptFlag
Public Functions
-
InterruptHandler()
-
virtual ~InterruptHandler()
-
void raise_interrupt(int_vect_t vector) const
-
void cancel_interrupt(int_vect_t vector) const
-
bool interrupt_raised(int_vect_t vector) const
-
virtual void interrupt_ack_handler(int_vect_t vector)
Callback method called when a vector has been ACK’ed by the CPU. (i.e. the CPU is about to jump to the corresponding vector table entry)
The default implementation does nothing.
-
InterruptHandler(const InterruptHandler&) = delete
-
InterruptHandler &operator=(const InterruptHandler&) = delete
-
InterruptHandler()