| scuwdt Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Data Structures | Macros | Functions | Variables
xscuwdt.h File Reference

## Data Structures
struct | XScuWdt_Config
| This typedef contains configuration information for the device. More...
struct | XScuWdt
| The XScuWdt driver instance data. More...

## Macros
#define | XSCUWDT_H
| < prevent circular inclusions More...
#define | XScuWdt_IsWdtExpired(InstancePtr)
| This function is used to check if the watchdog has timed-out and the last reset was caused by the watchdog reset. More...
#define | XScuWdt_IsTimerExpired(InstancePtr)
| This function is used to check if the watchdog counter has reached 0 in timer mode. More...
#define | XScuWdt_RestartWdt(InstancePtr)
| Re-start the watchdog timer. More...
#define | XScuWdt_LoadWdt(InstancePtr, Value)
| Write to the watchdog timer load register. More...
#define | XScuWdt_SetWdMode(InstancePtr)
| Put the watchdog timer in Watchdog mode by setting the WD mode bit of the Watchdog control register. More...
#define | XScuWdt_SetTimerMode(InstancePtr)
| Put the watchdog timer in Timer mode by writing 0x12345678 and 0x87654321 successively to the Watchdog Disable Register. More...
#define | XScuWdt_GetControlReg(InstancePtr)
| Get the contents of the watchdog control register. More...
#define | XScuWdt_SetControlReg(InstancePtr, ControlReg)
| Write to the watchdog control register. More...
#define | XScuWdt_EnableAutoReload(InstancePtr)
| Enable auto-reload mode. More...

## Functions
XScuWdt_Config * | XScuWdt_LookupConfig (u16 DeviceId)
| Lookup the device configuration based on the unique device ID. More...
s32 | XScuWdt_SelfTest (XScuWdt *InstancePtr)
| Run a self-test on the WDT. More...
s32 | XScuWdt_CfgInitialize (XScuWdt *InstancePtr, XScuWdt_Config *ConfigPtr, u32 EffectiveAddress)
| Initialize a specific watchdog timer instance/driver. More...
void | XScuWdt_Start (XScuWdt *InstancePtr)
| Start the watchdog counter of the device. More...
void | XScuWdt_Stop (XScuWdt *InstancePtr)
| Stop the watchdog timer. More...

## Variables
XScuWdt_Config | XScuWdt_ConfigTable []
| This table contains configuration information for each watchdog timer device in the system. More...