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

Impl std::io::{Read, Write} for SPI #75

Open
jmeggitt opened this issue Nov 5, 2019 · 2 comments
Open

Impl std::io::{Read, Write} for SPI #75

jmeggitt opened this issue Nov 5, 2019 · 2 comments

Comments

@jmeggitt
Copy link
Contributor

jmeggitt commented Nov 5, 2019

No description provided.

@auscompgeek
Copy link
Member

I'm not entirely sure this necessarily makes sense. This wouldn't give you a way of representing a SPI transaction.

@auscompgeek
Copy link
Member

Looking at spidev, they do implement the std::io traits, so maybe this is reasonable.

auscompgeek added a commit to auscompgeek/first-rust-competition that referenced this issue Dec 14, 2019
auscompgeek added a commit to auscompgeek/first-rust-competition that referenced this issue Dec 14, 2019
auscompgeek added a commit that referenced this issue Sep 18, 2022
* spi: Add SpiOptions

* spi: Implement embedded-hal Transfer

* spi: Use std::time::Duration

* spi: Implement std::io::Read

Ref: #75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants