-
Notifications
You must be signed in to change notification settings - Fork 11
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
SPI1/SPI2 master mode #2
base: master
Are you sure you want to change the base?
Conversation
src/spi.rs
Outdated
/// CRC error | ||
Crc, | ||
#[doc(hidden)] | ||
_Extensible, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use a #[non_exhaustive]
here instead?
I've pushed an I2C commit too, because I'm refactoring something that's currently on I2C to SPI. I'll split up the PR when it works, just having -> Moved to #3, will rebase when that gets merged. |
4cb687b
to
ab8fe0e
Compare
@eupn Apparently my slave device talks in MSB-first u16 mode. I don't think the MSB-first mode is a documented thing in |
Based on the STM32L0 code.
Currently untested and WIP