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

Can PendSV handle hibernate? #131

Open
tyler-gilbert opened this issue May 6, 2018 · 0 comments
Open

Can PendSV handle hibernate? #131

tyler-gilbert opened this issue May 6, 2018 · 0 comments

Comments

@tyler-gilbert
Copy link
Member

If PendSV is the lowest priority, hibernate can set a flag to indicate to the PendSV handler to deepsleep but not change the context. The deepsleep will happen with the lowest IRQ priority and allow any enabled interrupt to wake the processor (assuming PendSV is set to the lowest IRQ priority and others are slightly above).

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