aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/include
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/include')
-rw-r--r--libmaple/include/libmaple/nvic.h24
1 files changed, 18 insertions, 6 deletions
diff --git a/libmaple/include/libmaple/nvic.h b/libmaple/include/libmaple/nvic.h
index dfdd901..ac102d9 100644
--- a/libmaple/include/libmaple/nvic.h
+++ b/libmaple/include/libmaple/nvic.h
@@ -56,17 +56,29 @@ extern "C"{
/** NVIC register map type. */
typedef struct nvic_reg_map {
__io uint32 ISER[8]; /**< Interrupt Set Enable Registers */
- uint32 RESERVED0[24]; /**< Reserved */
+ /** Reserved */
+ uint32 RESERVED0[24];
+
__io uint32 ICER[8]; /**< Interrupt Clear Enable Registers */
- uint32 RESERVED1[24]; /**< Reserved */
+ /** Reserved */
+ uint32 RESERVED1[24];
+
__io uint32 ISPR[8]; /**< Interrupt Set Pending Registers */
- uint32 RESERVED2[24]; /**< Reserved */
+ /** Reserved */
+ uint32 RESERVED2[24];
+
__io uint32 ICPR[8]; /**< Interrupt Clear Pending Registers */
- uint32 RESERVED3[24]; /**< Reserved */
+ /** Reserved */
+ uint32 RESERVED3[24];
+
__io uint32 IABR[8]; /**< Interrupt Active bit Registers */
- uint32 RESERVED4[56]; /**< Reserved */
+ /** Reserved */
+ uint32 RESERVED4[56];
+
__io uint8 IP[240]; /**< Interrupt Priority Registers */
- uint32 RESERVED5[644]; /**< Reserved */
+ /** Reserved */
+ uint32 RESERVED5[644];
+
__io uint32 STIR; /**< Software Trigger Interrupt Registers */
} nvic_reg_map;