pub trait Client {
// Required method
fn sample_ready(&self, sample: u16);
}
Expand description
Trait for handling callbacks from simple ADC calls.
Required Methods§
sourcefn sample_ready(&self, sample: u16)
fn sample_ready(&self, sample: u16)
Called when a sample is ready.