#include <interrupt.h>
Drivers wishing to implement an interrupt service route must provide an object implementing this interface to the interrupt handler.
The phase 1 handler is called with interrupts disabled and nees to be small, fast, and efficient. It should return true to indicate it has services the interrupt, false otherwise.
The phase 2 handler is called with interrupts enabled. It is called only if the phase 1 handler indicated that it serviced the interrupt successfully.
Public Member Functions | |
virtual | ~Interrupt ()=0 |
Purve virtual Interrupt destructor. | |
virtual bool | phase1 (int interruptNumber, void *serviceData)=0 |
The phase 1 interrupt handler. | |
virtual void | phase2 (int interruptNumber, void *serviceData)=0 |
The phase 2 interrupt handler. |
|
Purve virtual Interrupt destructor.
|
|
The phase 1 interrupt handler.
|
|
The phase 2 interrupt handler.
|