Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Support for polling wait in shared bus systems #27

Open
korken89 opened this issue Sep 10, 2020 · 0 comments
Open

Support for polling wait in shared bus systems #27

korken89 opened this issue Sep 10, 2020 · 0 comments

Comments

@korken89
Copy link

While waiting for the flash memory to complete its work, a lot of time can traverse.
In my case I have a radio IC on the same SPI as the flash memory that logging is happening on, and it would be awesome to be able to do the wait checks in a polling manner.
This would allow for the high priority SPI transactions with, in my case, the radio to happen in parallel with waiting for flash operations.

One way to do this is to use type states and have a Busy state for polling.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant