53#define WWDT_RELOAD_WORD (0x00005AA5)
62 WWDT->STATUS = WWDT_STATUS_WWDTRF_Msk;
71 WWDT->STATUS = WWDT_STATUS_WWDTIF_Msk;
80 WWDT->STATUS = WWDT_STATUS_WWDTF_Msk;
91 return (WWDT->STATUS & WWDT_STATUS_WWDTRF_Msk) ? true :
false;
102 return (WWDT->STATUS & WWDT_STATUS_WWDTIF_Msk) ? true :
false;
113 return (WWDT->STATUS & WWDT_STATUS_WWDTF_Msk) ? true :
false;
131 return (WWDT->CTL & WWDT_CTL_CMPDAT_Msk) >> WWDT_CTL_CMPDAT_Pos;
_WWDT_Prescale
Definition: pan_wwdt.h:33
enum _WWDT_Prescale WWDT_PrescaleDef
@ WWDT_PRESCALER_64
Definition: pan_wwdt.h:40
@ WWDT_PRESCALER_16
Definition: pan_wwdt.h:38
@ WWDT_PRESCALER_32
Definition: pan_wwdt.h:39
@ WWDT_PRESCALER_8
Definition: pan_wwdt.h:37
@ WWDT_PRESCALER_192
Definition: pan_wwdt.h:42
@ WWDT_PRESCALER_512
Definition: pan_wwdt.h:45
@ WWDT_PRESCALER_768
Definition: pan_wwdt.h:46
@ WWDT_PRESCALER_1
Definition: pan_wwdt.h:34
@ WWDT_PRESCALER_384
Definition: pan_wwdt.h:44
@ WWDT_PRESCALER_2
Definition: pan_wwdt.h:35
@ WWDT_PRESCALER_4
Definition: pan_wwdt.h:36
@ WWDT_PRESCALER_256
Definition: pan_wwdt.h:43
@ WWDT_PRESCALER_2048
Definition: pan_wwdt.h:49
@ WWDT_PRESCALER_1024
Definition: pan_wwdt.h:47
@ WWDT_PRESCALER_128
Definition: pan_wwdt.h:41
@ WWDT_PRESCALER_1536
Definition: pan_wwdt.h:48
__STATIC_INLINE uint32_t WWDT_GetCounter(void)
This function to reflects current WWDT counter value.
Definition: pan_wwdt.h:120
void WWDT_Open(WWDT_PrescaleDef preScale, uint32_t u32CmpValue, uint32_t u32EnableInt)
This function make WWDT module start counting with different counter period and compared window value...
__STATIC_INLINE void WWDT_ClearIntFlag(void)
This function clear WWDT compare match interrupt flag.
Definition: pan_wwdt.h:69
#define WWDT_RELOAD_WORD
Definition: pan_wwdt.h:53
void WWDT_Close(void)
This function stops WWDT counting.
__STATIC_INLINE uint32_t WWDT_GetCompareValue(void)
This function reflects current WWDT compare value (CMPDAT)
Definition: pan_wwdt.h:129
__STATIC_INLINE bool WWDT_GetWWDTFFlag(void)
This function is used to indicate WWDT compare match event flag.
Definition: pan_wwdt.h:111
__STATIC_INLINE void WWDT_ClearWWDTFFlag(void)
This function clear WWDT compare match event flag.
Definition: pan_wwdt.h:78
__STATIC_INLINE void WWDT_ReloadCounter(void)
This function is used to reload the WWDT counter value to 0x3F.
Definition: pan_wwdt.h:141
__STATIC_INLINE bool WWDT_GetResetFlag(void)
This function is use to get WWDT time-out reset system flag.
Definition: pan_wwdt.h:89
__STATIC_INLINE void WWDT_ClearResetFlag(void)
This function clear WWDT time-out reset system flag.
Definition: pan_wwdt.h:60
__STATIC_INLINE bool WWDT_GetIntFlag(void)
This function is used to indicate WWDT compare match interrupt flag.
Definition: pan_wwdt.h:100