57 #define WDT_SR_UNFIFLAG ((uint32_t)(1 << 0)) // WDT Underflow Interrupt Flag bit 58 #define WDT_SR_WINMIFLAG ((uint32_t)(1 << 1)) // WDT Window Match Interrupt Flag bit 60 #define WDT_STATUS_BITMASK 0x0003
Contains the ABOV typedefs for C standard types. It is intended to be used in ISO C conforming develo...
HAL_Status_Type HAL_WDT_Init(WDT_CFG_Type *WDT_Config)
Initialize the WDT peripheral with the specified parameters.
HAL_Status_Type HAL_WDT_ReloadTimeCounter(void)
Reload WDT counter.
HAL_Status_Type HAL_WDT_ClearStatus(uint32_t clrbit)
Clear the timer status register of WDT.
HAL_Status_Type HAL_WDT_ConfigInterrupt(WDT_INT_Type WDT_IntCfg, FunctionalState NewState)
Configure the peripheral interrupt.
uint32_t HAL_WDT_GetStatus(void)
Get the timer status register of WDT.
uint32_t HAL_WDT_GetCurrentCount(void)
Get the current value of WDT.
HAL_Status_Type HAL_WDT_Start(FunctionalState ctrl)
Enable WDT activity.
HAL_Status_Type HAL_WDT_DeInit(void)
Deinitialize WDT.