File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,18 @@ pub struct RegisterBlock {
3333 /// Interrupt Active Bit (not present on Cortex-M0 variants)
3434 #[ cfg( not( armv6m) ) ]
3535 pub iabr : [ RO < u32 > ; 16 ] ,
36- #[ cfg( any ( armv6m, armv8m ) ) ]
36+ #[ cfg( armv6m) ]
3737 _reserved4 : [ u32 ; 16 ] ,
3838
39+ _reserved5 : [ u32 ; 16 ] ,
40+
3941 #[ cfg( armv8m) ]
4042 /// Interrupt Target Non-secure (only present on Arm v8-M)
4143 pub itns : [ RW < u32 > ; 16 ] ,
42- #[ cfg( armv8m) ]
43- _reserved5 : [ u32 ; 32 ] ,
44-
4544 #[ cfg( not( armv8m) ) ]
46- _reserved5 : [ u32 ; 48 ] ,
45+ _reserved6 : [ u32 ; 16 ] ,
46+
47+ _reserved7 : [ u32 ; 16 ] ,
4748
4849 /// Interrupt Priority
4950 ///
@@ -74,7 +75,7 @@ pub struct RegisterBlock {
7475 pub ipr : [ RW < u32 > ; 8 ] ,
7576
7677 #[ cfg( not( armv6m) ) ]
77- _reserved6 : [ u32 ; 580 ] ,
78+ _reserved8 : [ u32 ; 580 ] ,
7879
7980 /// Software Trigger Interrupt
8081 #[ cfg( not( armv6m) ) ]
You can’t perform that action at this time.
0 commit comments