libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
iwdg_common_all.c File Reference
Include dependency graph for iwdg_common_all.c:

Go to the source code of this file.

Macros

#define LSI_FREQUENCY   32000
 
#define COUNT_LENGTH   12
 
#define COUNT_MASK   ((1 << COUNT_LENGTH)-1)
 

Functions

void iwdg_start (void)
 IWDG Enable Watchdog Timer. More...
 
void iwdg_set_period_ms (uint32_t period)
 IWDG Set Period in Milliseconds. More...
 
bool iwdg_reload_busy (void)
 IWDG Get Reload Register Status. More...
 
bool iwdg_prescaler_busy (void)
 IWDG Get Prescaler Register Status. More...
 
void iwdg_reset (void)
 IWDG reset Watchdog Timer. More...