aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKen Sarkies2012-06-13 22:14:53 +0930
committerKen Sarkies2012-06-13 22:14:53 +0930
commit2f4cd293248b012c87be34d4f45786b7f8c06770 (patch)
treea91108043e870a55094e566de2156acacced3d08 /include
parent7011d47c70076f995e8470c59eeaa8f3efcc9f05 (diff)
Code for iwdg module STM32F series
Diffstat (limited to 'include')
-rw-r--r--include/libopencm3/stm32/iwdg.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/libopencm3/stm32/iwdg.h b/include/libopencm3/stm32/iwdg.h
index 2d24482..2a8ee9d 100644
--- a/include/libopencm3/stm32/iwdg.h
+++ b/include/libopencm3/stm32/iwdg.h
@@ -78,8 +78,12 @@
/* PVU: Watchdog prescaler value update */
#define IWDG_SR_PVU (1 << 0)
-/* --- IWDG funtion prototypes---------------------------------------------- */
+/* --- IWDG function prototypes---------------------------------------------- */
-/* TODO */
+void iwdg_start(void);
+void iwdg_set_period_ms(u32 period);
+bool iwdg_reload_busy(void);
+bool iwdg_prescaler_busy(void);
+void iwdg_reset(void);
#endif