Code for iwdg module STM32F series

This commit is contained in:
Ken Sarkies
2012-06-13 22:14:53 +09:30
parent 7011d47c70
commit 2f4cd29324
2 changed files with 152 additions and 2 deletions

View File

@@ -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