Trait st7735_async_low::spi::Read [−][src]
Defines how the MCU should use the SCK
and SDA
pins to read data.
It is assumed the reading isn’t super important (mostly for debugging purposes); and the implementation is actually quite hard because some commands read without a dummy bit and some read with a dummy bit. So the user can choose to simply not implement it. The write commands of Commands will still work in that case.
Calling start_reading()
should switch the device into reading mode,
which should be switched back into writing mode when the returned object
of start_reading()
is dropped.