![]() |
wdtps
Xilinx SDK Drivers API Documentation
|
Data Structures | |
| struct | XWdtPs_Config |
| This typedef contains configuration information for the device. More... | |
| struct | XWdtPs |
| The XWdtPs driver instance data. More... | |
Macros | |
| #define | XWDTPS_RESET_SIGNAL 0x01U |
| Reset signal request. More... | |
| #define | XWDTPS_IRQ_SIGNAL 0x02U |
| IRQ signal request. More... | |
| #define | XWDTPS_CLK_PRESCALE 0x01U |
| Clock Prescale request. More... | |
| #define | XWDTPS_COUNTER_RESET 0x02U |
| Counter Reset request. More... | |
| #define | XWdtPs_IsWdtExpired(InstancePtr) |
| Check if the watchdog timer has expired. More... | |
| #define | XWdtPs_RestartWdt(InstancePtr) |
| Restart the watchdog timer. More... | |
Functions | |
| XWdtPs_Config * | XWdtPs_LookupConfig (u16 DeviceId) |
| Lookup the device configuration based on the unique device ID. More... | |
| s32 | XWdtPs_CfgInitialize (XWdtPs *InstancePtr, XWdtPs_Config *ConfigPtr, u32 EffectiveAddress) |
| Initialize a specific watchdog timer instance/driver. More... | |
| void | XWdtPs_Start (XWdtPs *InstancePtr) |
| Start the watchdog timer of the device. More... | |
| void | XWdtPs_Stop (XWdtPs *InstancePtr) |
| Disable the watchdog timer. More... | |
| void | XWdtPs_EnableOutput (XWdtPs *InstancePtr, u8 Signal) |
| Enables the indicated signal/output. More... | |
| void | XWdtPs_DisableOutput (XWdtPs *InstancePtr, u8 Signal) |
| Disables the indicated signal/output. More... | |
| u32 | XWdtPs_GetControlValue (XWdtPs *InstancePtr, u8 Control) |
| Returns the current control setting for the indicated signal/output. More... | |
| void | XWdtPs_SetControlValue (XWdtPs *InstancePtr, u8 Control, u32 Value) |
| Updates the current control setting for the indicated signal/output with the provided value. More... | |
| s32 | XWdtPs_SelfTest (XWdtPs *InstancePtr) |
| Run a self-test on the timebase. More... | |