aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libopenstm32/rcc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libopenstm32/rcc.h b/include/libopenstm32/rcc.h
index d610a8c..d65f9f3 100644
--- a/include/libopenstm32/rcc.h
+++ b/include/libopenstm32/rcc.h
@@ -215,4 +215,12 @@
#define PWREN (1 << 28)
#define DACEN (1 << 29)
+/* --- RCC_BDCR values -------------------------------------------------- */
+
+#define LSEON (1 << 0)
+#define LSERDY (1 << 1)
+#define LSEBYP (1 << 2)
+#define RTCEN (1 << 15)
+#define BDRST (1 << 16)
+
#endif