![]() |
cresample
Xilinx SDK Drivers API Documentation
|
This file contains an example using the XCRESAMPLE driver to do self test on the device.
None
MODIFICATION HISTORY:
Ver Who Date Changes
4.0 adk 03/12/14 First release.
Macros | |
#define | CRESAMPLE_DEVICE_ID XPAR_CRESAMPLE_0_DEVICE_ID |
CRESAMPLE Device ID. More... | |
Functions | |
int | XCresampleSelfTestExample (u16 DeviceId) |
This function does a minimal test on the XCRESAMPLE driver. More... | |
int | main (void) |
Main function to call the example. More... | |
Variables | |
XCresample | Cresample |
Instance of the CRESAMPLE Device. More... | |
#define CRESAMPLE_DEVICE_ID XPAR_CRESAMPLE_0_DEVICE_ID |
CRESAMPLE Device ID.
Referenced by main().
int main | ( | void | ) |
Main function to call the example.
References CRESAMPLE_DEVICE_ID, and XCresampleSelfTestExample().
int XCresampleSelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the XCRESAMPLE driver.
DeviceId | is the XPAR_<CRESAMPLE_instance>_DEVICE_ID value from xparameters.h. |
References XCresample_Config::BaseAddress, XCresample_CfgInitialize(), XCresample_LookupConfig(), and XCresample_SelfTest().
Referenced by main().
XCresample Cresample |
Instance of the CRESAMPLE Device.