-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SpiDevice implementations in embedded-hal-bus don't provide a way to use active-high chip select #584
Comments
pub struct ExclusiveDevice<BUS, CS, D, const CSHIGH = false> { ??? |
Couldn't you just create an This seems like a non issue to me. |
As a matter of fact, I wrote an inverted-pin crate that does exactly that. |
I am using a SPI display which requires active-high chip select, but all of the
SpiDevice
implementations don't mention the polarity of their CS pin anywhere. Looking at the implementation, these implementations are all hard-coded to use active-low CS, which won't work for this display. Adding a way of specifying the chip select polarity would make this usable for this case.The text was updated successfully, but these errors were encountered: