From d167b6c9e96357d75f854184cf6a334104f32a7e Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 22 Jan 2010 01:57:05 +0100 Subject: [PATCH] Add RCC_AHBENR bit definitions. Thanks Thomas Otto for the patch! --- include/libopenstm32/rcc.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/libopenstm32/rcc.h b/include/libopenstm32/rcc.h index 208c49f0..0ea7de57 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 -------------------------------------------------- */