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.