wdtps
Vitis Drivers API Documentation
|
This file contains a design example using the System Watchdog Timer driver (XWdtPs) and hardware device.
None.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a sdm 05/27/11 First release 3.6 sb 06/27/23 Added support for system device-tree flow. *
Functions | |
int | WdtPsSelfTestExample (u16 DeviceId) |
This function does a minimal test on the watchdog timer device and driver as a design example. More... | |
int | main (void) |
Main function to call the self test example. More... | |
int main | ( | void | ) |
Main function to call the self test example.
References WdtPsSelfTestExample().
int WdtPsSelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the watchdog timer device and driver as a design example.
The purpose of this function is to illustrate how to use the XWdtPs driver.
This function may require some time (seconds or even minutes) to execute because it waits for the watchdog timer to expire.
DeviceId | is the unique device id of the device. |
References XWdtPs_Config::BaseAddress, XWdtPs_CfgInitialize(), XWdtPs_LookupConfig(), and XWdtPs_SelfTest().
Referenced by main().