File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ pub struct RegisterBlock {
48
48
pub shpr : [ RW < u32 > ; 2 ] ,
49
49
50
50
/// System Handler Control and State
51
- pub shcrs : RW < u32 > ,
51
+ pub shcsr : RW < u32 > ,
52
52
53
53
/// Configurable Fault Status (not present on Cortex-M0 variants)
54
54
#[ cfg( not( armv6m) ) ]
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ fn scb() {
121
121
assert_eq ! ( address( & scb. scr) , 0xE000_ED10 ) ;
122
122
assert_eq ! ( address( & scb. ccr) , 0xE000_ED14 ) ;
123
123
assert_eq ! ( address( & scb. shpr) , 0xE000_ED18 ) ;
124
- assert_eq ! ( address( & scb. shcrs ) , 0xE000_ED24 ) ;
124
+ assert_eq ! ( address( & scb. shcsr ) , 0xE000_ED24 ) ;
125
125
assert_eq ! ( address( & scb. cfsr) , 0xE000_ED28 ) ;
126
126
assert_eq ! ( address( & scb. hfsr) , 0xE000_ED2C ) ;
127
127
assert_eq ! ( address( & scb. dfsr) , 0xE000_ED30 ) ;
You can’t perform that action at this time.
0 commit comments