GlobLib
HAL and API libraries for MCUs and hardware.
stm32f103cb_iwdg.h
Go to the documentation of this file.
1 #ifndef STM32F103CB_IWDG_H_
2 #define STM32F103CB_IWDG_H_
3 
43 #include "stm32f103cb_gpio.h"
44 #include "stm32f103cb_debug.h"
45 #include <libopencm3/stm32/iwdg.h>
46 #include <stdint.h>
47 
56 mcu_error IWDG_setup(uint32_t timeout);
65 bool IWDG_resetCheck(void);
70 void IWDG_feed(void);
74 #endif
Header file for stm32f103cb DEBUG.
Header file for stm32f103 GPIO.
void IWDG_feed(void)
Reload the watchdog timer.
mcu_error IWDG_setup(uint32_t timeout)
Initialize the independant watchdog timer.
bool IWDG_resetCheck(void)
Check if reset occured from watchdog timeout.
mcu_error
Error enumerators for the Debug peripheral.