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
Enable asynchronous access.
Required Methods§
Sourcefn clear_interrupt()
fn clear_interrupt()
Clear the ADC interrupt
Sourcefn waker() -> &'static AtomicWaker
fn waker() -> &'static AtomicWaker
Obtain 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".