pub trait ThreadedHandler {
    type Data: ForeignOwnable;

    fn handle_threaded_irq(
        data: <Self::Data as ForeignOwnable>::Borrowed<'_>
    ) -> Return; fn handle_primary_irq(
        _data: <Self::Data as ForeignOwnable>::Borrowed<'_>
    ) -> Return { ... } }
Expand description

A threaded irq handler.

Required Associated Types

The context data associated with and made available to the handlers.

Required Methods

Called from the handler thread.

Provided Methods

Called from interrupt context when the irq first happens.

Implementors