Trait AdcPin

Source
pub trait AdcPin<I>: AnyPin<Mode = AlternateB> + Sealed
where I: AdcInstance,
{ const CHANNEL: u8; }
Expand description

Trait representing a GPIO pin which can be used as an input for an ADC

Required Associated Constants§

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§