Merge pull request #13 "Code for iwdg module STM32F series"

Merge remote-tracking branch 'ksarkies/iwdg-dev'
This commit is contained in:
Piotr Esden-Tempski
2012-06-27 14:02:02 -07:00
2 changed files with 150 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