aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-03-30 03:44:57 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-03-30 03:45:08 -0400
commit09de1019a60125f3f5932a21377670d3cb030121 (patch)
tree2bf1f9cca695c05c04e944380e5240515763ed13 /libmaple
parentf8081eeb04c9cb511adaf58e201c7cfbe1ddfbd4 (diff)
downloadlibrambutan-09de1019a60125f3f5932a21377670d3cb030121.tar.gz
librambutan-09de1019a60125f3f5932a21377670d3cb030121.zip
Nitpicks
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))