pub trait Instance: Sealed {
// Required methods
fn enable_interrupt();
fn disable_interrupt();
fn clear_interrupt();
fn waker() -> &'static AtomicWaker;
}
Available on crate feature
unstable
only.Expand description
Enable asynchronous access.
Required Methods§
Sourcefn enable_interrupt()
fn enable_interrupt()
Enable the ADC interrupt
Sourcefn disable_interrupt()
fn disable_interrupt()
Disable the ADC interrupt
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", so this trait is not object safe.