From 1d592c1627449545e2285ff2df38651eb919a95d Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 11 Nov 2011 21:48:35 +0100 Subject: stm32/wwdg.h: Document reserved bits, add WWDG_CFG_W. --- include/libopencm3/stm32/wwdg.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include') diff --git a/include/libopencm3/stm32/wwdg.h b/include/libopencm3/stm32/wwdg.h index 552d02e..e9eb209 100644 --- a/include/libopencm3/stm32/wwdg.h +++ b/include/libopencm3/stm32/wwdg.h @@ -36,6 +36,8 @@ /* --- WWDG_CR values ------------------------------------------------------ */ +/* Bits [31:8]: Reserved */ + /* WDGA: Activation bit */ #define WWDG_CR_WDGA (1 << 7) @@ -51,6 +53,8 @@ /* --- WWDG_CFR values ----------------------------------------------------- */ +/* Bits [31:10]: Reserved */ + /* EWI: Early wakeup interrupt */ #define WWDG_CFR_EWI (1 << 9) @@ -63,12 +67,17 @@ /* W[6:0]: 7-bit window value */ #define WWDG_CFG_W_LSB 0 +#define WWDG_CFG_W (1 << 0) /* --- WWDG_SR values ------------------------------------------------------ */ +/* Bits [31:1]: Reserved */ + /* EWIF: Early wakeup interrupt flag */ #define WWDG_SR_EWIF (1 << 0) /* --- WWDG funtion prototypes---------------------------------------------- */ +/* TODO */ + #endif -- cgit v1.2.3