aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/scb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmaple/scb.h b/libmaple/scb.h
index f851a08..8bfdda3 100644
--- a/libmaple/scb.h
+++ b/libmaple/scb.h
@@ -29,6 +29,8 @@
#ifndef _SCB_H_
#define _SCB_H_
+/* FIXME this definition is missing doxygen comments */
+
typedef struct scb_reg_map {
__io uint32 CPUID; // CPU ID Base Register
__io uint32 ICSR; // Interrupt Control State Register
@@ -51,6 +53,8 @@ typedef struct scb_reg_map {
__io uint32 ISAR[5]; // ISA Feature Register
} scb_reg_map;
+/* FIXME these names violate the libmaple naming conventions */
+
#define SCB_BASE 0xE000ED00
#define SCB ((scb_reg_map*)(SCB_BASE))