![]() |
enhance
Xilinx SDK Drivers API Documentation
|
This file contains an example using the XEnhance driver to do self test on the device.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a drg/jz 01/13/10 First Release 1.03a sg 08/14/12 Updated the example for CR 666306. Modified the device ID to use the first Device Id Removed the printf at the start of the main 7.0 adk 02/19/14 Modified function names as per guidelines
Functions | |
u32 | XEnhanceSelfTestExample (u16 DeviceId) |
This function does a minimal test on the XEnhance driver. More... | |
int | main (void) |
Main function to call the example. More... | |
Variables | |
XEnhance | InstancePtr |
Instance of the Enhance Device. More... | |
int main | ( | void | ) |
Main function to call the example.
References XEnhanceSelfTestExample().
u32 XEnhanceSelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the XEnhance driver.
DeviceId | is the XPAR_<ENHANCE_instance>_DEVICE_ID value from xparameters.h. |
References XEnhance_Config::BaseAddress, XEnhance_CfgInitialize(), XEnhance_LookupConfig(), and XEnhance_SelfTest().
Referenced by main().
XEnhance InstancePtr |
Instance of the Enhance Device.
Referenced by XEnhance_CfgInitialize(), XEnhance_IntrHandler(), and XEnhance_Setup().