![]() |
cresample
Xilinx SDK Drivers API Documentation
|
This file contains an example how CRESAMPLE type conversions will be done 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 | CresampleTypeConversion (u16 DeviceId) |
This function is to select the type of conversion from menu based on the selection conversion will take place. More... | |
int | main (void) |
Main function to call the example. More... | |
Variables | |
XCresample | Cresample |
Instance of the Cresample core. More... | |
#define CRESAMPLE_DEVICE_ID XPAR_CRESAMPLE_0_DEVICE_ID |
CRESAMPLE Device ID.
Referenced by main().
int CresampleTypeConversion | ( | u16 | DeviceId | ) |
This function is to select the type of conversion from menu based on the selection conversion will take place.
Cresample | is a pointer to the XCresample instance to be worked on. |
References XCresample_Config::BaseAddress, XCresample::Config, XHorizontal_Coeffs::HCoeff, XCresample_Config::NumHTaps, XCresample_Config::NumVTaps, XVertical_Coeffs::VCoeff, XCresample_CfgInitialize(), XCresample_Clear_HCoef_Values(), XCresample_Clear_VCoef_Values(), XCresample_LookupConfig(), XCresample_SetHCoefs(), and XCresample_SetVCoefs().
Referenced by main().
int main | ( | void | ) |
Main function to call the example.
References CRESAMPLE_DEVICE_ID, and CresampleTypeConversion().
XCresample Cresample |
Instance of the Cresample core.