Trait 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§