aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2012-06-27 14:02:02 -0700
committerPiotr Esden-Tempski2012-06-27 14:02:02 -0700
commit98174e4a0c6acfe5e427c58fdccbe0f8652d9214 (patch)
tree3b8e0398d5844f759fb61d75f46e899302f60fe1 /include
parent2e9e378b4bd0039f970797c132856bbaddc86599 (diff)
parent0fabe4462b048fb453743754e9bc4969a01a4f9b (diff)
Merge pull request #13 "Code for iwdg module STM32F series"
Merge remote-tracking branch 'ksarkies/iwdg-dev'
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