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