12 #ifndef __WDT_SFRS_H__
13 #define __WDT_SFRS_H__
36 #define WDT_SFRS ((__IO WDT_SFRS_t *) (0x50020018))
38 #define WDT_PRES_2PWR13 0
39 #define WDT_PRES_2PWR19 1
40 #define WDT_PRES_2PWR22 2
41 #define WDT_PRES_2PWR32 3
static __INLINE void f_WDT_Disable(void)
Disable watchdog timer.
Definition: wdt_sfrs.h:54
uint8_t BYTE
Definition: wdt_sfrs.h:27
static __INLINE void f_WDT_ResetEnable(void)
Enable watchdog timer reset.
Definition: wdt_sfrs.h:62
static __INLINE void f_WDT_ResetDisable(void)
Disable watchdog timer reset.
Definition: wdt_sfrs.h:70
static __INLINE uint8_t f_WDT_IsReset(void)
Check if watchdog timer reset occurred.
Definition: wdt_sfrs.h:99
uint32_t WDTCLR
Definition: wdt_sfrs.h:30
static __INLINE void f_WDT_Clear(void)
Clear watchdog timer.
Definition: wdt_sfrs.h:88
static __INLINE void f_WDT_Enable(void)
Enable watchdog timer.
Definition: wdt_sfrs.h:46
static __INLINE void f_WDT_SetPrescaler(uint8_t val)
Select watchdog timer clock pre-scaler.
Definition: wdt_sfrs.h:80
#define WDT_SFRS
The starting address of WDT SFRS.
Definition: wdt_sfrs.h:36
A structure to represent Special Function Registers for WDT.
Definition: wdt_sfrs.h:18