aboutsummaryrefslogtreecommitdiff
path: root/include/libopenstm32
diff options
context:
space:
mode:
authorUwe Hermann2010-01-22 01:57:05 +0100
committerUwe Hermann2010-01-22 01:57:05 +0100
commitd167b6c9e96357d75f854184cf6a334104f32a7e (patch)
tree859c7d2ee20b2f95f84c01b86fe205f6ff76d6cd /include/libopenstm32
parent0308b49b76031ccb96961fe16be1c707cf2edb88 (diff)
Add RCC_AHBENR bit definitions.
Thanks Thomas Otto <tommi@viadmin.org> for the patch!
Diffstat (limited to 'include/libopenstm32')
-rw-r--r--include/libopenstm32/rcc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/libopenstm32/rcc.h b/include/libopenstm32/rcc.h
index 208c49f..0ea7de5 100644
--- a/include/libopenstm32/rcc.h
+++ b/include/libopenstm32/rcc.h
@@ -230,7 +230,13 @@
/* --- RCC_AHBENR values --------------------------------------------------- */
-/* TODO */
+#define SDIOEN (1 << 10)
+#define FSMCEN (1 << 8)
+#define CRCEN (1 << 6)
+#define FLITFEN (1 << 4)
+#define SRAMEN (1 << 2)
+#define DMA2EN (1 << 1)
+#define DMA1EN (1 << 0)
/* --- RCC_APB2ENR values -------------------------------------------------- */