Closed twitchyliquid64 closed 5 years ago
In SPI Mode 2 & 3 (CPOL = 1), the idle level is high.
In the current implementation, if the user does not set the clock to HIGH before calling SPI::new(...), the first bit will be lost.
SPI::new(...)
This is something of an RFC. I think we should set the clock pin to the idle level for the user. The user of this library should not need to know implementation details like this.
Yeah, makes sense to me.
In SPI Mode 2 & 3 (CPOL = 1), the idle level is high.
In the current implementation, if the user does not set the clock to HIGH before calling
SPI::new(...)
, the first bit will be lost.