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§

source

fn on_interrupt()

Signals the driver of an interrupt.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<P> AsyncPeripheral for I2C<I2C0, P, Controller>
where Self: Wakeable,

source§

impl<P> AsyncPeripheral for I2C<I2C1, P, Controller>
where Self: Wakeable,

source§

impl<PINS> AsyncPeripheral for I2C<I2C0, PINS, Peripheral>
where I2C<I2C0, PINS, Peripheral>: Wakeable,

source§

impl<PINS> AsyncPeripheral for I2C<I2C1, PINS, Peripheral>
where I2C<I2C1, PINS, Peripheral>: Wakeable,