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.
Macros | |
#define | XVTC_DEVICE_ID XPAR_VTC_0_DEVICE_ID |
The following constants map to the XPAR parameters created in the xparameters.h file. More... | |
Functions | |
int | XVtcSelfTestExample (u16 DeviceId) |
This function does a minimal test on the VTC driver. More... | |
int | main (void) |
Main/Entry function for self test example. More... | |
Variables | |
XVtc | VtcInst |
Instance of the VTC core. More... | |
#define XVTC_DEVICE_ID XPAR_VTC_0_DEVICE_ID |
The following constants map to the XPAR parameters created in the xparameters.h file.
They are defined here such that a user can easily change all the needed parameters in one place.
Referenced by main().
int main | ( | void | ) |
Main/Entry function for self test example.
References XVTC_DEVICE_ID, and XVtcSelfTestExample().
int XVtcSelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the VTC driver.
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.