From 2f4cd293248b012c87be34d4f45786b7f8c06770 Mon Sep 17 00:00:00 2001 From: Ken Sarkies Date: Wed, 13 Jun 2012 22:14:53 +0930 Subject: Code for iwdg module STM32F series --- include/libopencm3/stm32/iwdg.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3