Skip to main content

ADCPin

Trait ADCPin 

Source
pub trait ADCPin: Pin {
    type AdcChannel: AdcChannel;
}
Expand description

A marker trait designating a pin which is capable of operating as an ADC pin

Required Associated Types§

Source

type AdcChannel: AdcChannel

Return the ADC channel for this pin

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.

Implementors§