Trait rp2040_hal::async_utils::AsyncPeripheral
source · pub trait AsyncPeripheral: Wakeable {
// Required method
fn on_interrupt();
}
Expand description
Marks driver instances that can be bound to an interrupt to wake async tasks.
Required Methods§
sourcefn on_interrupt()
fn on_interrupt()
Signals the driver of an interrupt.
Object Safety§
This trait is not object safe.