[][src]Trait kernel::hil::adc::Client

pub trait Client {
    fn sample_ready(&self, sample: u16);
}

Trait for handling callbacks from simple ADC calls.

Required methods

fn sample_ready(&self, sample: u16)

Called when a sample is ready.

Loading content...

Implementors

Loading content...