100 #ifdef HAL_IWDG_MODULE_ENABLED 114 #define HAL_IWDG_DEFAULT_TIMEOUT 48u 171 __HAL_IWDG_START(hiwdg);
175 IWDG_ENABLE_WRITE_ACCESS(hiwdg);
185 while (hiwdg->
Instance->SR != 0x00u)
187 if ((
HAL_GetTick() - tickstart) > HAL_IWDG_DEFAULT_TIMEOUT)
205 __HAL_IWDG_RELOAD_COUNTER(hiwdg);
241 __HAL_IWDG_RELOAD_COUNTER(hiwdg);
HAL_StatusTypeDef HAL_IWDG_Refresh(IWDG_HandleTypeDef *hiwdg)
Refresh the IWDG.
This file contains all the functions prototypes for the HAL module driver.
uint32_t HAL_GetTick(void)
Provide a tick value in millisecond.
HAL_StatusTypeDef HAL_IWDG_Init(IWDG_HandleTypeDef *hiwdg)
Initialize the IWDG according to the specified parameters in the IWDG_InitTypeDef and start watchdog...
IWDG Handle Structure definition.
assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock))