Skip to main content

AdcChannel

Trait AdcChannel 

Source
pub trait AdcChannel<H, ADC: AdcOps<H>> {
    // Required method
    fn channel(&self) -> ADC::Channel;
}
Expand description

Trait marking a type as an ADC channel for a certain ADC.

Required Methods§

Source

fn channel(&self) -> ADC::Channel

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<H, ADC: AdcOps<H>> AdcChannel<H, ADC> for Channel<H, ADC>