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

SCB::sys_reset() has the wrong mask for AIRCR PRIGROUP #338

Closed
msamsonoff opened this issue Apr 19, 2021 · 0 comments · Fixed by #339
Closed

SCB::sys_reset() has the wrong mask for AIRCR PRIGROUP #338

msamsonoff opened this issue Apr 19, 2021 · 0 comments · Fixed by #339

Comments

@msamsonoff
Copy link
Contributor

src/peripheral/scb.rs:835 has

const SCB_AIRCR_PRIGROUP_MASK: u32 = 0x5 << 8;

This field is three bits. The mask should be 0x7 or 0b111.

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 a pull request may close this issue.

1 participant