Trait InjectMode

Source
pub trait InjectMode<ADC, Pin: Channel<ADC>> {
    type Error;

    // Required method
    fn prepare_injected(&mut self, _pin: &mut Pin, triger_source: InjTrigSource);
}

Required Associated Types§

Source

type Error

Error type returned by ADC methods

Required Methods§

Source

fn prepare_injected(&mut self, _pin: &mut Pin, triger_source: InjTrigSource)

Implementors§

Source§

impl<PIN> InjectMode<Adc, PIN> for Adc
where PIN: Channel<Adc, ID = u8>,