From 653c4624dd4e25a05afe8297edc6018e1c8dcb1d Mon Sep 17 00:00:00 2001 From: Andrei-Liviu Simion Date: Tue, 29 Jul 2014 14:36:14 -0700 Subject: [PATCH] dptx: Added an audio example. The user needs to implement Dptx_ConfigureAudioSrc and Dptx_AudioSendInfoFrame as these functions are application-specific. Signed-off-by: Andrei-Liviu Simion --- .../drivers/dptx/examples/index.html | 1 + .../drivers/dptx/examples/readme.txt | 22 +- .../dptx/examples/xdptx_audio_example.c | 262 ++++++++++++++++++ .../dptx/examples/xdptx_example_common.h | 3 + .../dptx/examples/xdptx_intr_example.c | 4 - .../dptx/examples/xdptx_poll_example.c | 4 - .../dptx/examples/xdptx_selftest_example.c | 4 - .../dptx/examples/xdptx_timer_example.c | 4 - XilinxProcessorIPLib/drivers/dptx/src/xdptx.h | 14 +- 9 files changed, 296 insertions(+), 22 deletions(-) create mode 100644 XilinxProcessorIPLib/drivers/dptx/examples/xdptx_audio_example.c diff --git a/XilinxProcessorIPLib/drivers/dptx/examples/index.html b/XilinxProcessorIPLib/drivers/dptx/examples/index.html index b2e4baaa..0a79dcc3 100755 --- a/XilinxProcessorIPLib/drivers/dptx/examples/index.html +++ b/XilinxProcessorIPLib/drivers/dptx/examples/index.html @@ -10,6 +10,7 @@

Example applications for the dptx driver.