pub trait Handler {
type Data: PointerWrapper;
fn handle_irq(data: <Self::Data as PointerWrapper>::Borrowed<'_>) -> Return;
}
Expand description
An irq handler.
Required Associated Types
type Data: PointerWrapper
type Data: PointerWrapper
The context data associated with and made available to the handler.
Required Methods
fn handle_irq(data: <Self::Data as PointerWrapper>::Borrowed<'_>) -> Return
fn handle_irq(data: <Self::Data as PointerWrapper>::Borrowed<'_>) -> Return
Called from interrupt context when the irq happens.