wdttb
Vitis Drivers API Documentation
xwdttb.c File Reference

Functions

s32 XWdtTb_CfgInitialize (XWdtTb *InstancePtr, const XWdtTb_Config *CfgPtr, UINTPTR EffectiveAddr)
 This function initializes the AXI Timebase Watchdog Timer core. More...
 
s32 XWdtTb_Initialize (XWdtTb *InstancePtr, u16 DeviceId)
 Initialize a specific legacy/window watchdog timer/timebase instance/driver. More...
 
void XWdtTb_Start (XWdtTb *InstancePtr)
 This function starts the legacy or window watchdog timer. More...
 
s32 XWdtTb_Stop (XWdtTb *InstancePtr)
 This function disables the legacy or window watchdog timer. More...
 
u32 XWdtTb_IsWdtExpired (const XWdtTb *InstancePtr)
 This function checks if the legacy watchdog timer has expired or window watchdog timer either in second window or not in second window. More...
 
u32 XWdtTb_IsGenericWdtFWExpired (const XWdtTb *InstancePtr)
 This function checks if the Generic watchdog timer has First window expired or not. More...
 
void XWdtTb_RestartWdt (const XWdtTb *InstancePtr)
 This function restarts the legacy or window watchdog timer. More...
 
void XWdtTb_AlwaysEnable (const XWdtTb *InstancePtr)
 This function keeps Window Watchdog Timer always enabled. More...
 
void XWdtTb_ClearLastEvent (const XWdtTb *InstancePtr)
 This function clears event(s) that present after system reset. More...
 
void XWdtTb_ClearResetPending (const XWdtTb *InstancePtr)
 This function clears the window watchdog reset pending. More...
 
void XWdtTb_IntrClear (const XWdtTb *InstancePtr)
 This function clears window watchdog timer interrupt (WINT) bit. More...
 
void XWdtTb_SetByteCount (const XWdtTb *InstancePtr, u32 ByteCount)
 This function sets byte count to determine the interrupt assertion point in the second window configuration. More...
 
u32 XWdtTb_GetByteCount (const XWdtTb *InstancePtr)
 This function provides byte count value of the selected byte count in the second window configuration. More...
 
void XWdtTb_SetByteSegment (const XWdtTb *InstancePtr, u32 ByteSegment)
 This function sets byte segment selection to determine the interrupt assertion point in the second window configuration. More...
 
u32 XWdtTb_GetByteSegment (const XWdtTb *InstancePtr)
 This function provides byte segment selection in the second window configuration. More...
 
void XWdtTb_EnableSst (const XWdtTb *InstancePtr)
 This function enables Second Sequence Timer (SST) function. More...
 
void XWdtTb_DisableSst (const XWdtTb *InstancePtr)
 This function disables Second Sequence Timer (SST) function. More...
 
void XWdtTb_EnablePsm (const XWdtTb *InstancePtr)
 This function enables Program Sequence Monitor (PSM) function. More...
 
void XWdtTb_DisablePsm (const XWdtTb *InstancePtr)
 This function disables Program Sequence Monitor (PSM) function. More...
 
void XWdtTb_EnableFailCounter (XWdtTb *InstancePtr)
 This function enables Fail Counter (FC) function. More...
 
void XWdtTb_DisableFailCounter (XWdtTb *InstancePtr)
 This function disables Fail Counter (FC) function. More...
 
void XWdtTb_EnableExtraProtection (const XWdtTb *InstancePtr)
 This function provides extra safeguard against unintentional clear of WEN bit. More...
 
void XWdtTb_DisableExtraProtection (const XWdtTb *InstancePtr)
 This function enables unintentional clear of WEN bit. More...
 
void XWdtTb_SetWindowCount (const XWdtTb *InstancePtr, u32 FirstWinCount, u32 SecondWinCount)
 This function sets the count value for the first and second window. More...
 
void XWdtTb_SetGenericWdtWindow (const XWdtTb *InstancePtr, u32 GWOR_config)
 This function sets the count value for the GWDT_Compare_value_reg0 ,GWDT_Compare_value_reg1 & GWDT_Offset_regs . More...
 
void XWdtTb_SetGenericWdtWindowTimeOut (const XWdtTb *InstancePtr, u32 MilliSeconds)
 This function sets the count value for the GWDT_Offset_regs . More...
 
u32 XWdtTb_ProgramWDTWidth (const XWdtTb *InstancePtr, u32 width)
 This function programs the width of Watchdog Timer. More...
 
u8 XWdtTb_GenAnswer (u8 TokenVal, u8 AnsByteCnt, u8 TokenFdbk)
 This routine generates responses based on input token in QA mode. More...