pub trait AdcRead {
// Required method
fn read_channel(&mut self, ch: u8) -> u16;
}Expand description
Trait for reading a single channel from an ADC peripheral.
pub trait AdcRead {
// Required method
fn read_channel(&mut self, ch: u8) -> u16;
}Trait for reading a single channel from an ADC peripheral.