![]() |
dual_splitter
Xilinx SDK Drivers API Documentation
|
This file contains an example of how to use the Dual Splitter driver.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 sha 08/05/14 Initial release.
Macros | |
#define | XDUALSPLITTER_DEVICE_ID XPAR_DUALSPLITTER_0_DEVICE_ID |
The following constants map to the XPAR parameters created in the xparameters.h file. More... | |
Functions | |
int | XDualSplitterExample (u16 DeviceId) |
This function demonstrates the use of Dual Splitter driver functions. More... | |
int | main (void) |
This is the main function for Dual Splitter example. More... | |
Variables | |
XDualSplitter | DualSplitterInst |
Instance of the Dual Splitter core. More... | |
#define XDUALSPLITTER_DEVICE_ID XPAR_DUALSPLITTER_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 | ) |
This is the main function for Dual Splitter example.
None. |
References XDUALSPLITTER_DEVICE_ID, and XDualSplitterExample().
int XDualSplitterExample | ( | u16 | DeviceId | ) |
This function demonstrates the use of Dual Splitter driver functions.
DeviceId | is the unique device ID of the Dual Splitter core. |
References XDualSplitter_Config::BaseAddress, XDualSplitter_CfgInitialize(), XDualSplitter_Enable, XDualSplitter_LookupConfig(), XDualSplitter_RegUpdateDisable, XDualSplitter_RegUpdateEnable, XDualSplitter_SetImageSize(), and XDualSplitter_SetImgParam().
Referenced by main().
XDualSplitter DualSplitterInst |
Instance of the Dual Splitter core.