Skip to main content

AdcChannel

Trait AdcChannel 

Source
pub trait AdcChannel<H, ADC>
where ADC: AdcOps<H>,
{ // Required method fn channel(&self) -> <ADC as AdcOps<H>>::Channel; }
Available on crate feature mcu-atmega only.
Expand description

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

Required Methods§

Source

fn channel(&self) -> <ADC as AdcOps<H>>::Channel

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§