2016-07-22 01:28 AM
Hi,
since the WWDG of the STM32L0 series can be deactivated only by a hardware reset I don't understand the purpose of the functionHAL_WWDG_DeInit
in the HAL (v1.7.0). The function and its description suggest, that I can call it to stop the WWDG. Best regards, Markus #hal #stm32l0 #wwdgSolved! Go to Solution.
2016-07-22 07:03 AM
Hi dost.markus,
HAL_WWDG_DeInit is a deInitialization function of WWDG peripheral which just reset the instance's configuration and change the peripheral state to ready for use. Once enabled, the watchdog can be disabled only after reset. This is a specification to maintain the real functionality of WWDG, to maintain downcouting until reset occurs. Otherwise, the downcouter can be reloaded in case its value is lower than the window register and greater than 0x3F. -Hannibal-2016-07-22 07:03 AM
Hi dost.markus,
HAL_WWDG_DeInit is a deInitialization function of WWDG peripheral which just reset the instance's configuration and change the peripheral state to ready for use. Once enabled, the watchdog can be disabled only after reset. This is a specification to maintain the real functionality of WWDG, to maintain downcouting until reset occurs. Otherwise, the downcouter can be reloaded in case its value is lower than the window register and greater than 0x3F. -Hannibal-