Skip to content

Commit 0d40861

Browse files
committed
add missing MMIO attributes
1 parent 85cee2a commit 0d40861

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cortex-m/src/peripheral/nvic.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pub struct RegisterBlock {
3131

3232
/// Interrupt Active Bit (not present on Cortex-M0 variants)
3333
#[cfg(not(armv6m))]
34+
#[mmio(PureRead)]
3435
iabr: [u32; 16],
3536
#[cfg(armv6m)]
3637
_reserved4: [u32; 16],
@@ -74,6 +75,7 @@ pub struct RegisterBlock {
7475

7576
/// Software Trigger Interrupt
7677
#[cfg(not(armv6m))]
78+
#[mmio(Write)]
7779
stir: u32,
7880
}
7981

0 commit comments

Comments
 (0)