HAL Library 17- IWDG for STM32Fxxx

Sometimes you need watchdog timer to look at your system if it gets stuck. I made a little library to work with it and to be compatible with HAL based drivers.

IWDG timer in STM32Fxxx device has its own clock which is independent from main system clock. You have to constantly reset it’s counter value or it will elapse and reset MCU.


Read more about new HAL libraries


  • Detects if system was reset by watchdog
  • Supports different timeouts
  • Resets watchdog


  • HAL
  • TM
    • STm32Fxxx HAL
    • defines.h

Functions and enumerations


Project is available on Github, download all libraries below.


Owner of this site. Application engineer, currently employed by STMicroelectronics. Exploring latest technologies and owner of different libraries posted on Github.

You may also like...