We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04ee333 + 733e6d6 commit ac5f677Copy full SHA for ac5f677
src/peripheral/scb.rs
@@ -48,7 +48,7 @@ pub struct RegisterBlock {
48
pub shpr: [RW<u32>; 2],
49
50
/// System Handler Control and State
51
- pub shcrs: RW<u32>,
+ pub shcsr: RW<u32>,
52
53
/// Configurable Fault Status (not present on Cortex-M0 variants)
54
#[cfg(not(armv6m))]
src/peripheral/test.rs
@@ -121,7 +121,7 @@ fn scb() {
121
assert_eq!(address(&scb.scr), 0xE000_ED10);
122
assert_eq!(address(&scb.ccr), 0xE000_ED14);
123
assert_eq!(address(&scb.shpr), 0xE000_ED18);
124
- assert_eq!(address(&scb.shcrs), 0xE000_ED24);
+ assert_eq!(address(&scb.shcsr), 0xE000_ED24);
125
assert_eq!(address(&scb.cfsr), 0xE000_ED28);
126
assert_eq!(address(&scb.hfsr), 0xE000_ED2C);
127
assert_eq!(address(&scb.dfsr), 0xE000_ED30);
0 commit comments