aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Otto2010-05-02 21:08:00 +0200
committerThomas Otto2010-05-02 21:08:00 +0200
commit11b366b27dc26900bf1b6f737e465049ad9fad18 (patch)
tree4ff9671f697c3de2a121bae2d87cdc5a994affa6
parentc249c7f772d0108800ac39a9abbacf75825814db (diff)
Corrected IWDG_BASE calculations.
-rw-r--r--include/libopenstm32/iwdg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libopenstm32/iwdg.h b/include/libopenstm32/iwdg.h
index 609b565..6665fea 100644
--- a/include/libopenstm32/iwdg.h
+++ b/include/libopenstm32/iwdg.h
@@ -26,16 +26,16 @@
/* --- IWDG registers ------------------------------------------------------ */
/* Key Register (IWDG_KR) */
-#define IWDG_KR MMIO32(iwdg_base + 0x00)
+#define IWDG_KR MMIO32(IWDG_BASE + 0x00)
/* Prescaler register (IWDG_PR) */
-#define IWDG_PR MMIO32(iwdg_base + 0x04)
+#define IWDG_PR MMIO32(IWDG_BASE + 0x04)
/* Reload register (IWDG_RLR) */
-#define IWDG_RLR MMIO32(iwdg_base + 0x08)
+#define IWDG_RLR MMIO32(IWDG_BASE + 0x08)
/* Status register (IWDG_SR) */
-#define IWDG_SR MMIO32(iwdg_base + 0x0C)
+#define IWDG_SR MMIO32(IWDG_BASE + 0x0C)
/* --- IWDG_KR values ------------------------------------------------------ */