pub trait ReadBits<'a> {
type ReadBitsDone: 'a + Future<Output = u32>;
// Required method
fn read_bits(&'a mut self, num_bits: usize) -> Self::ReadBitsDone;
}Expand description
Defines how the helper RAII variable returned by Read::start_reading() should behave.
Notice the timing requirement from ST7735’s datasheet. Most important ones:
SCKlow duration and high durations are at least 60ns long.SCKperiod is at least 150ns long.