pub trait Instance: Sealed {
// Required methods
fn listen();
fn unlisten();
fn clear_interrupt();
fn waker() -> &'static AtomicWaker;
}Available on crate feature
unstable only.Expand description
Enables asynchronous access.
Required Methods§
Sourcefn clear_interrupt()
fn clear_interrupt()
Clears the ADC interrupt.
Sourcefn waker() -> &'static AtomicWaker
fn waker() -> &'static AtomicWaker
Obtains the waker for the ADC interrupt.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".