wdttb
Vitis Drivers API Documentation
|
This file contains an example for using the Generic Watchdog Timer hardware and driver.
None
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 sne 02/04/19 Initial release 5.7 sb 07/12/23 Added support for system device-tree flow.
Functions | |
int | GWdtTbSelfTestExample (u16 DeviceId) |
This function does a minimal test on Generic watchdog timer device and driver as a design example. More... | |
int GWdtTbSelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on Generic watchdog timer device and driver as a design example.
The purpose of this function is to illustrate how to use the XwdtTb component.
DeviceId | is the XPAR_<WDTTB_instance>_DEVICE_ID value from xparameters.h. |
References XWdtTb_Config::BaseAddr, XWdtTb_CfgInitialize(), XWdtTb_LookupConfig(), XWdtTb_SelfTest(), and XWdtTb_Stop().