Skip to content
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

Use embedded_hal::spi::Mode #52

Open
TheZoq2 opened this issue Jul 9, 2020 · 0 comments
Open

Use embedded_hal::spi::Mode #52

TheZoq2 opened this issue Jul 9, 2020 · 0 comments

Comments

@TheZoq2
Copy link

TheZoq2 commented Jul 9, 2020

Some crates, for example https://docs.rs/embedded-nrf24l01/0.1.0/embedded_nrf24l01/setup/index.html use a function to return a mode that it wants the SPI peripheral to be. However, as far as I can tell, this can not be used with rppal.

Perhaps a rppal::Mode::from_embedded_hal function would be the best solution, as embedded_hal is an optional feature here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Feature requests
  
Awaiting triage
Development

No branches or pull requests

2 participants