pub trait ConversionMode<ADC> {
// Required methods
fn on_start(adc: &mut Adc<ADC>);
fn on_complete(adc: &mut Adc<ADC>);
fn on_stop(adc: &mut Adc<ADC>);
}
Expand description
Describes how an interrupt-driven ADC should finalize the peripheral upon the completion of a conversion.
Required Methods§
fn on_start(adc: &mut Adc<ADC>)
fn on_complete(adc: &mut Adc<ADC>)
fn on_stop(adc: &mut Adc<ADC>)
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.