tpg
Vitis Drivers API Documentation
|
This file contains an example using the XTpg driver to do self test on the device.
None
MODIFICATION HISTORY:
Ver Who Date Changes
3.0 adk 01/15/14 First release ms 04/10/17 Modified filename tag to include the file in doxygen examples.
Macros | |
#define | TPG_DEVICE_ID XPAR_TPG_0_DEVICE_ID |
TPG Device ID. More... | |
Functions | |
int | XTpgSelfTestExample (u16 DeviceId) |
This function does a minimal test on the XTpg driver. More... | |
int | main (void) |
Main function to call the example. More... | |
Variables | |
XTpg | Tpg |
Instance of the TPG Device. More... | |
#define TPG_DEVICE_ID XPAR_TPG_0_DEVICE_ID |
TPG Device ID.
Referenced by main().
int main | ( | void | ) |
Main function to call the example.
References TPG_DEVICE_ID, and XTpgSelfTestExample().
int XTpgSelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the XTpg driver.
DeviceId | is the XPAR_<TPG_instance>_DEVICE_ID value from xparameters.h. |
References XTpg_Config::BaseAddress, XTpg_CfgInitialize(), XTpg_LookupConfig(), and XTpg_SelfTest().
Referenced by main().
XTpg Tpg |
Instance of the TPG Device.