Home
last modified time | relevance | path

Searched refs:WDT (Results 1 – 9 of 9) sorted by relevance

/hal_nuvoton-3.7.0/m46x/StdDriver/inc/
Dwdt.h79 #define WDT_CLEAR_RESET_FLAG() (WDT->CTL = (WDT->CTL & ~(WDT_CTL_IF_Msk | WDT_CTL_WKF_Msk)…
91 #define WDT_CLEAR_TIMEOUT_INT_FLAG() (WDT->CTL = (WDT->CTL & ~(WDT_CTL_RSTF_Msk | WDT_CTL_WKF_Ms…
103 #define WDT_CLEAR_TIMEOUT_WAKEUP_FLAG() (WDT->CTL = (WDT->CTL & ~(WDT_CTL_RSTF_Msk | WDT_CTL_IF_Msk…
116 #define WDT_GET_RESET_FLAG() ((WDT->CTL & WDT_CTL_RSTF_Msk)? 1UL : 0UL)
129 #define WDT_GET_TIMEOUT_INT_FLAG() ((WDT->CTL & WDT_CTL_IF_Msk)? 1UL : 0UL)
142 #define WDT_GET_TIMEOUT_WAKEUP_FLAG() ((WDT->CTL & WDT_CTL_WKF_Msk)? 1UL : 0UL)
157 #define WDT_RESET_COUNTER() (WDT->RSTCNT = WDT_RESET_COUNTER_KEYWORD)
181 WDT->CTL = 0UL; in WDT_Close()
182 while(WDT->CTL & WDT_CTL_SYNC_Msk) /* Wait disable WDTEN bit completed, it needs 2 * WDT_CLK. */ in WDT_Close()
199 WDT->CTL |= WDT_CTL_INTEN_Msk; in WDT_EnableInt()
[all …]
/hal_nuvoton-3.7.0/m2l31x/StdDriver/inc/
Dwdt.h79 #define WDT_CLEAR_RESET_FLAG() (WDT->CTL = (WDT->CTL & ~(WDT_CTL_IF_Msk | WDT_CTL_WKF_Msk)…
91 #define WDT_CLEAR_TIMEOUT_INT_FLAG() (WDT->CTL = (WDT->CTL & ~(WDT_CTL_RSTF_Msk | WDT_CTL_WKF_Ms…
103 #define WDT_CLEAR_TIMEOUT_WAKEUP_FLAG() (WDT->CTL = (WDT->CTL & ~(WDT_CTL_RSTF_Msk | WDT_CTL_IF_Msk…
116 #define WDT_GET_RESET_FLAG() ((WDT->CTL & WDT_CTL_RSTF_Msk)? 1UL : 0UL)
129 #define WDT_GET_TIMEOUT_INT_FLAG() ((WDT->CTL & WDT_CTL_IF_Msk)? 1UL : 0UL)
142 #define WDT_GET_TIMEOUT_WAKEUP_FLAG() ((WDT->CTL & WDT_CTL_WKF_Msk)? 1UL : 0UL)
157 #define WDT_RESET_COUNTER() (WDT->RSTCNT = WDT_RESET_COUNTER_KEYWORD)
181 WDT->CTL = 0UL; in WDT_Close()
182 while(WDT->CTL & WDT_CTL_SYNC_Msk) /* Wait disable WDTEN bit completed, it needs 2 * WDT_CLK. */ in WDT_Close()
199 WDT->CTL |= WDT_CTL_INTEN_Msk; in WDT_EnableInt()
[all …]
/hal_nuvoton-3.7.0/m48x/StdDriver/inc/
Dwdt.h71 #define WDT_CLEAR_RESET_FLAG() (WDT->CTL = (WDT->CTL & ~(WDT_CTL_IF_Msk | WDT_CTL_WKF_Msk)…
83 #define WDT_CLEAR_TIMEOUT_INT_FLAG() (WDT->CTL = (WDT->CTL & ~(WDT_CTL_RSTF_Msk | WDT_CTL_WKF_Ms…
95 #define WDT_CLEAR_TIMEOUT_WAKEUP_FLAG() (WDT->CTL = (WDT->CTL & ~(WDT_CTL_RSTF_Msk | WDT_CTL_IF_Msk…
108 #define WDT_GET_RESET_FLAG() ((WDT->CTL & WDT_CTL_RSTF_Msk)? 1UL : 0UL)
121 #define WDT_GET_TIMEOUT_INT_FLAG() ((WDT->CTL & WDT_CTL_IF_Msk)? 1UL : 0UL)
134 #define WDT_GET_TIMEOUT_WAKEUP_FLAG() ((WDT->CTL & WDT_CTL_WKF_Msk)? 1UL : 0UL)
149 #define WDT_RESET_COUNTER() (WDT->RSTCNT = WDT_RESET_COUNTER_KEYWORD)
167 WDT->CTL = 0UL; in WDT_Close()
182 WDT->CTL |= WDT_CTL_INTEN_Msk; in WDT_EnableInt()
198 WDT->CTL &= ~(WDT_CTL_INTEN_Msk | WDT_CTL_RSTF_Msk | WDT_CTL_IF_Msk | WDT_CTL_WKF_Msk); in WDT_DisableInt()
/hal_nuvoton-3.7.0/m46x/StdDriver/src/
Dwdt.c59 WDT->ALTCTL = u32ResetDelay; in WDT_Open()
61 WDT->CTL = u32TimeoutInterval | WDT_CTL_WDTEN_Msk | in WDT_Open()
65 …while((WDT->CTL & WDT_CTL_SYNC_Msk) == WDT_CTL_SYNC_Msk) /* Wait enable WDTEN bit completed, it ne… in WDT_Open()
/hal_nuvoton-3.7.0/m2l31x/StdDriver/src/
Dwdt.c59 WDT->ALTCTL = u32ResetDelay; in WDT_Open()
61 WDT->CTL = u32TimeoutInterval | WDT_CTL_WDTEN_Msk | in WDT_Open()
65 …while((WDT->CTL & WDT_CTL_SYNC_Msk) == WDT_CTL_SYNC_Msk) /* Wait enable WDTEN bit completed, it ne… in WDT_Open()
/hal_nuvoton-3.7.0/m48x/StdDriver/src/
Dwdt.c55 WDT->ALTCTL = u32ResetDelay; in WDT_Open()
57 WDT->CTL = u32TimeoutInterval | WDT_CTL_WDTEN_Msk | in WDT_Open()
/hal_nuvoton-3.7.0/m48x/Devices/M480/Include/
DM480.h398 #define WDT ((WDT_T *) WDT_BASE) macro
/hal_nuvoton-3.7.0/m2l31x/Devices/M2L31/Include/
DM2L31.h487 #define WDT ((WDT_T *) WDT_BASE) macro
/hal_nuvoton-3.7.0/m46x/Devices/M460/Include/
Dm460.h477 #define WDT ((WDT_T *) WDT_BASE) macro