Skip to content

Conversation

superbort
Copy link
Contributor

This introduces a function called "query_configuration" which reads the current config and returns a "SpidevOptions" object.

For the mode it tries 32 bit first and if that fails because the kernel is to old, it retries with 8 bit.

This commit introduces the `query_configuration` function which reads the current configuration from the SPI device and returns a `SpidevOptions` object.
This commit introduces the `query_configuration` function which reads the current configuration from the SPI device and returns a `SpidevOptions` object.
@superbort superbort requested a review from a team as a code owner September 22, 2023 14:22
Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thank you!
Could you add an entry to the changelog?

Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@eldruin eldruin enabled auto-merge September 25, 2023 12:27
@eldruin eldruin added this pull request to the merge queue Sep 25, 2023
Merged via the queue into rust-embedded:master with commit 75c319b Sep 25, 2023
@barafael
Copy link

@superbort does this PR address the last item in the table in the readme ?

eldruin added a commit to eldruin/rust-spidev that referenced this pull request Nov 21, 2024
eldruin added a commit to eldruin/rust-spidev that referenced this pull request Mar 4, 2025
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

Successfully merging this pull request may close these issues.

3 participants