wdttb
Xilinx SDK Drivers API Documentation
xwdttb.h File Reference

Data Structures

struct  XWdtTb_Config
 This typedef contains configuration information for the device. More...
 
struct  XWdtTb
 The XWdtTb driver instance data. More...
 

Enumerations

enum  XWdtTb_Event { XWDTTB_NO_BAD_EVENT = 0, XWDTTB_RS_KICK_EVENT, XWDTTB_TSR_MM_EVENT, XWDTTB_SEC_WIN_EVENT }
 This typedef contains enumeration of different events in basic mode. More...
 

Functions

s32 XWdtTb_CfgInitialize (XWdtTb *InstancePtr, XWdtTb_Config *CfgPtr, u32 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 (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...
 
void XWdtTb_RestartWdt (XWdtTb *InstancePtr)
 This function restarts the legacy or window watchdog timer. More...
 
XWdtTb_ConfigXWdtTb_LookupConfig (u16 DeviceId)
 This function returns a reference to an XWdtTb_Config structure based on the core id, DeviceId. More...
 
void XWdtTb_AlwaysEnable (XWdtTb *InstancePtr)
 This function keeps Window Watchdog Timer always enabled. More...
 
void XWdtTb_ClearLastEvent (XWdtTb *InstancePtr)
 This function clears event(s) that present after system reset. More...
 
void XWdtTb_ClearResetPending (XWdtTb *InstancePtr)
 This function clears the window watchdog reset pending. More...
 
void XWdtTb_IntrClear (XWdtTb *InstancePtr)
 This function clears window watchdog timer interrupt (WINT) bit. More...
 
void XWdtTb_SetByteCount (XWdtTb *InstancePtr, u32 ByteCount)
 This function sets byte count to determine the interrupt assertion point in the second window configuration. More...
 
u32 XWdtTb_GetByteCount (XWdtTb *InstancePtr)
 This function provides byte count value of the selected byte count in the second window configuration. More...
 
void XWdtTb_SetByteSegment (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 (XWdtTb *InstancePtr)
 This function provides byte segment selection in the second window configuration. More...
 
void XWdtTb_EnableSst (XWdtTb *InstancePtr)
 This function enables Second Sequence Timer (SST) function. More...
 
void XWdtTb_DisableSst (XWdtTb *InstancePtr)
 This function disables Second Sequence Timer (SST) function. More...
 
void XWdtTb_EnablePsm (XWdtTb *InstancePtr)
 This function enables Program Sequence Monitor (PSM) function. More...
 
void XWdtTb_DisablePsm (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 (XWdtTb *InstancePtr)
 This function provides extra safeguard against unintentional clear of WEN bit. More...
 
void XWdtTb_DisableExtraProtection (XWdtTb *InstancePtr)
 This function enables unintentional clear of WEN bit. More...
 
void XWdtTb_SetWindowCount (XWdtTb *InstancePtr, u32 FirstWinCount, u32 SecondWinCount)
 This function sets the count value for the first and second window. More...
 
s32 XWdtTb_SelfTest (XWdtTb *InstancePtr)
 This function runs a self-test on the timebase or window if enabled. More...