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

Implement embassy_embedded_hal::SetConfig #1919

Closed
phemmer opened this issue Aug 11, 2024 · 1 comment · Fixed by #2477
Closed

Implement embassy_embedded_hal::SetConfig #1919

phemmer opened this issue Aug 11, 2024 · 1 comment · Fixed by #2477
Assignees
Milestone

Comments

@phemmer
Copy link

phemmer commented Aug 11, 2024

This is a feature request to implement embassy_embedded_hal::SetConfig on anything which currently implements SpiBus (which would be Spi and SpiDma).

This would be useful with SpiDeviceWithConfig (blocking and async) for running multiple SPI devices with different clock speed capabilities on the same bus.

Yes, the user (me) could put a wrapper around Spi/SpiDma to implement SetConfig, and that might be what I do as a short term solution. But Just thought it would be good to have a native implementation.

@Dominaezzz
Copy link
Collaborator

Related #1666 and #1826

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
4 participants