Trait kernel::hil::adc::Client

source ·
pub trait Client {
    // Required method
    fn sample_ready(&self, sample: u16);
}
Expand description

Trait for handling callbacks from simple ADC calls.

Required Methods§

source

fn sample_ready(&self, sample: u16)

Called when a sample is ready.

Implementors§