aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/peripheral/nvic.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/peripheral/nvic.rs b/src/peripheral/nvic.rs
index 57fa94b..bd4a045 100644
--- a/src/peripheral/nvic.rs
+++ b/src/peripheral/nvic.rs
@@ -33,9 +33,16 @@ pub struct RegisterBlock {
/// Interrupt Active Bit (not present on Cortex-M0 variants)
#[cfg(not(armv6m))]
pub iabr: [RO<u32>; 16],
- #[cfg(armv6m)]
+ #[cfg(any(armv6m, armv8m))]
_reserved4: [u32; 16],
+ #[cfg(armv8m)]
+ /// Interrupt Target Non-secure (only present on Arm v8-M)
+ pub itns: [RW<u32>; 16],
+ #[cfg(armv8m)]
+ _reserved5: [u32; 32],
+
+ #[cfg(not(armv8m))]
_reserved5: [u32; 48],
/// Interrupt Priority