aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-11-19 16:22:15 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:52 -0400
commitdf223dde202f340f3885dafe60d1de22a13b27d9 (patch)
tree97bfab291f3bd3b53b7c0bc45a7bfc115157638c
parent23ab3693e37af790497f62ad4d6a605e2a151aba (diff)
downloadlibrambutan-df223dde202f340f3885dafe60d1de22a13b27d9.tar.gz
librambutan-df223dde202f340f3885dafe60d1de22a13b27d9.zip
libmaple/nvic.h: Explanatory commenting.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r--libmaple/include/libmaple/nvic.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmaple/include/libmaple/nvic.h b/libmaple/include/libmaple/nvic.h
index afcb769..23425df 100644
--- a/libmaple/include/libmaple/nvic.h
+++ b/libmaple/include/libmaple/nvic.h
@@ -81,7 +81,9 @@ typedef struct nvic_reg_map {
* vector table.
*
* It also must define a static inline nvic_irq_disable_all(), which
- * writes 0xFFFFFFFF to all ICE registers available in the family.
+ * writes 0xFFFFFFFF to all ICE registers available in the family. (We
+ * place the include here to give the family header access to
+ * NVIC_BASE, in order to let it do so).
*/
#include <family/nvic.h>