![]() |
spdif
Xilinx SDK Drivers API Documentation
|
This file contains a example for using the SPDIF hardware device and SPDIF driver.
MODIFICATION HISTORY:
Ver Who Date Changes
1.0 kar 01/25/18 First release
Functions | |
int | SpdifSelfTestExample (u16 DeviceId) |
This function does a minimal test on the Spdif device and driver as a design example. More... | |
int | main (void) |
Main function to call the Self Test example. More... | |
int main | ( | void | ) |
Main function to call the Self Test example.
None. |
References SpdifSelfTestExample().
int SpdifSelfTestExample | ( | u16 | DeviceId | ) |
This function does a minimal test on the Spdif device and driver as a design example.
DeviceId | is the Device ID of the Spdif Device and is the XPAR_<spdif_instance>_DEVICE_ID value from xparameters.h |
References XSpdif_Config::BaseAddress, XSpdif_CfgInitialize(), and XSpdif_LookupConfig().
Referenced by main().