pub trait AdcChannel: Sealed { // Required method fn channel(&self) -> u8; }
Trait for entities that can be used as ADC channels.
This is implemented by AdcPin and by TempSense. The trait is sealed and can’t be implemented in other crates.
AdcPin
TempSense
Get the channel id used to configure the ADC peripheral.