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

interrupt priority to component mapping? #22

Open
1 task
sethp opened this issue Mar 9, 2023 · 0 comments
Open
1 task

interrupt priority to component mapping? #22

sethp opened this issue Mar 9, 2023 · 0 comments

Comments

@sethp
Copy link
Contributor

sethp commented Mar 9, 2023

consider how to name the priority levels assigned to different components (consts, re-export, etc.)

It seems to me like the goals ought to be:

  • collecting all the named priorities in a single place, so we can easily answer e.g. "is UART0 or UART1 going to take precedence?"
  • making it very easy to re-assign priorities, e.g. "let's raise UART0's priority above UART1's" without violating safety guarantees
    • what might go wrong here? do we have an example change in mind?
  • nice to have: the ability to reshape (ideally, transparently to the other modules) the priority system to introduce e.g. fn masking_threshold for a priority (i.e. the next enum element)

what do you think?

Originally posted by @sethp in #15 (comment)

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

1 participant