pub trait HighSpeedClient {
    fn samples_ready(&self, buf: &'static mut [u16], length: usize);
}
Expand description

Trait for handling callbacks from high-speed ADC calls.

Required Methods

Called when a buffer is full. The length provided will always be less than or equal to the length of the buffer. Expects an additional call to either provide another buffer or stop sampling

Implementors