86 #define One_us ((uint32)SCU_FSYS / 1000000u)
87 #define SysTickRL ((sint32)SCU_FSYS / (sint32)SysTickFreq)
93 #define SysTickFreq 1000u
#define CPU
Definition: tle985x.h:6269
#define CPU_SYSTICK_RVR_RELOAD_Pos
Definition: tle985x.h:8776
#define CPU_SYSTICK_RVR_RELOAD_Msk
Definition: tle985x.h:8777
#define CPU_SYSTICK_CVR_CURRENT_Msk
Definition: tle985x.h:8774
#define CPU_SYSTICK_CVR_CURRENT_Pos
Definition: tle985x.h:8773
SFR low level access library.
INLINE void Field_Wrt32(volatile uint32 *reg, uint8 pos, uint32 msk, uint32 val)
This function writes a bit field in a 32-bit register.
Definition: sfr_access.h:358
INLINE uint32 u32_Field_Rd32(const volatile uint32 *reg, uint8 pos, uint32 msk)
This function reads a 32-bit field of a 32-bit register.
Definition: sfr_access.h:453
CMSIS register HeaderFile.
General type declarations.
#define INLINE
Definition: types.h:145
uint8_t uint8
8 bit unsigned value
Definition: types.h:153
uint32_t uint32
32 bit unsigned value
Definition: types.h:155
void WDT1_Init(void)
Performs the initial service of the WDT1 (closes the long open window).
void WDT1_SOW_Service(uint32 NoOfSOW)
Triggers a short-window (~30ms) of the WDT1.
INLINE void SysTick_ReloadValue_Set(uint32 val)
sets the SysTick Reload value
Definition: wdt1.h:271
INLINE uint32 Systick_ReloadValue_Get(void)
returns the current SysTick reload value
Definition: wdt1.h:266
INLINE uint32 Systick_Value_Get(void)
returns the current SysTick timer count value
Definition: wdt1.h:261
void WDT1_Stop(void)
Stops the service of WDT1 by stopping the SysTick timer.
INLINE void WDT1_Window_Count(void)
Increments the WDT1 Window Counter.
Definition: wdt1.h:256
void SysTick_Init(void)
Initializes the SysTick timer to 1ms interval.
bool WDT1_Service(void)
Services the WDT1 in the open window.
void Delay_us(uint32 delay_time_us)
Delays the regular program execution by a given number of Microseconds.