![]() |
vtc
Vitis Drivers API Documentation
|
This file contains an example using the VTC driver to do self test on the core.
MODIFICATION HISTORY:
Ver Who Date Changes
6.1 adk 08/23/14 First Release.
Functions | |
| int | XVtcSelfTestExample (UINTPTR BaseAddress) |
| The following constants map to the XPAR parameters created in the xparameters.h file. More... | |
| int | main (void) |
| Main/Entry function for self test example. More... | |
Variables | |
| XVtc | VtcInst |
| Instance of the VTC core. More... | |
| int main | ( | void | ) |
Main/Entry function for self test example.
References XVtcSelfTestExample().
| int XVtcSelfTestExample | ( | UINTPTR | BaseAddress | ) |
The following constants map to the XPAR parameters created in the xparameters.h file.
This function does a minimal test on the VTC driver.
They are defined here such that a user can easily change all the needed parameters in one place.
| DeviceId | is an ID of VTC core or device. |
References XVtc_Config::BaseAddress, XVtc_CfgInitialize(), XVtc_LookupConfig(), and XVtc_SelfTest().
Referenced by main().
| XVtc VtcInst |
Instance of the VTC core.