aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-09-05 18:05:17 +0000
committerGravatar GitHub <noreply@github.com> 2021-09-05 18:05:17 +0000
commitbb49576aabf72f6b29f49090418c63f9ff241bc7 (patch)
tree86c233924da3ad8276cde522f93b590be6f74554 /src
parent5e01de8fba064cf8b72d6fb60e6467d0ff9d4da9 (diff)
parentcf75bbcfb8c8010968328b51a939dd7313fc50b7 (diff)
downloadcortex-m-bb49576aabf72f6b29f49090418c63f9ff241bc7.tar.gz
cortex-m-bb49576aabf72f6b29f49090418c63f9ff241bc7.tar.zst
cortex-m-bb49576aabf72f6b29f49090418c63f9ff241bc7.zip
Merge #339
339: Fix AIRCR PRIGROUP mask r=thejpster a=msamsonoff Closes #338 Co-authored-by: Matthew W. Samsonoff <matt.samsonoff@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/peripheral/scb.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripheral/scb.rs b/src/peripheral/scb.rs
index a2f309a..688c431 100644
--- a/src/peripheral/scb.rs
+++ b/src/peripheral/scb.rs
@@ -832,7 +832,7 @@ impl SCB {
}
const SCB_AIRCR_VECTKEY: u32 = 0x05FA << 16;
-const SCB_AIRCR_PRIGROUP_MASK: u32 = 0x5 << 8;
+const SCB_AIRCR_PRIGROUP_MASK: u32 = 0x7 << 8;
const SCB_AIRCR_SYSRESETREQ: u32 = 1 << 2;
impl SCB {