Class InterruptHandler

Inheritance Relationships

Derived Types

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, 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