aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/pwr.h
diff options
context:
space:
mode:
authorUwe Hermann2011-11-11 21:49:10 +0100
committerUwe Hermann2011-11-11 21:49:10 +0100
commit581084dd391a029cef61fc9275df883cc3c092b3 (patch)
tree02169b1466c8849f109f7fee25155f18a1fd5b6f /include/libopencm3/stm32/pwr.h
parent1d592c1627449545e2285ff2df38651eb919a95d (diff)
stm32/pwr.h: Document reserved bits.
Diffstat (limited to 'include/libopencm3/stm32/pwr.h')
-rw-r--r--include/libopencm3/stm32/pwr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/pwr.h b/include/libopencm3/stm32/pwr.h
index e5b9804..704ff36 100644
--- a/include/libopencm3/stm32/pwr.h
+++ b/include/libopencm3/stm32/pwr.h
@@ -33,6 +33,8 @@
/* --- PWR_CR values ------------------------------------------------------- */
+/* Bits [31:9]: Reserved, must be kept at reset value. */
+
/* DBP: Disable backup domain write protection */
#define PWR_CR_DBP (1 << 8)
@@ -64,9 +66,13 @@
/* --- PWR_CSR values ------------------------------------------------------ */
+/* Bits [31:9]: Reserved, must be kept at reset value. */
+
/* EWUP: Enable WKUP pin */
#define PWR_CSR_EWUP (1 << 8)
+/* Bits [7:3]: Reserved, must be kept at reset value. */
+
/* PVDO: PVD output */
#define PWR_CSR_PVDO (1 << 2)
@@ -78,4 +84,6 @@
/* --- PWR function prototypes ------------------------------------------- */
+/* TODO */
+
#endif