diff --git a/XilinxProcessorIPLib/drivers/dp/src/xdprx_hw.h b/XilinxProcessorIPLib/drivers/dp/src/xdprx_hw.h index c35c3923..24055e44 100644 --- a/XilinxProcessorIPLib/drivers/dp/src/xdprx_hw.h +++ b/XilinxProcessorIPLib/drivers/dp/src/xdprx_hw.h @@ -251,6 +251,26 @@ channel status. */ /* @} */ +/** @name DPRX core registers: Audio. + * @{ + */ +#define XDPRX_RX_AUDIO_CONTROL 0x300 /**< Enables audio stream + packets in main link. */ +#define XDPRX_RX_AUDIO_INFO_DATA(NUM) (0x304 + 4 * (NUM - 1)) /**< Word + formatted as per CEA + 861-C info frame. */ +#define XDPRX_RX_AUDIO_MAUD 0x324 /**< M value of audio stream + as decoded from audio + time stamp packet. */ +#define XDPRX_RX_AUDIO_NAUD 0x328 /**< N value of audio stream + as decoded from audio + time stamp packet. */ +#define XDPRX_RX_AUDIO_STATUS 0x32C /**< Status of audio stream. */ +#define XDPRX_RX_AUDIO_EXT_DATA(NUM) (0x330 + 4 * (NUM - 1)) /**< Word + formatted as per + extension packet. */ +/* @} */ + /******************* Macros (Inline Functions) Definitions ********************/ /** @name Register access macro definitions. diff --git a/XilinxProcessorIPLib/drivers/dp/src/xdptx_hw.h b/XilinxProcessorIPLib/drivers/dp/src/xdptx_hw.h index a79be995..25f18b49 100644 --- a/XilinxProcessorIPLib/drivers/dp/src/xdptx_hw.h +++ b/XilinxProcessorIPLib/drivers/dp/src/xdptx_hw.h @@ -283,8 +283,9 @@ buffer control. */ #define XDPTX_TX_AUDIO_CHANNELS 0x0304 /**< Used to input active channel count. */ -#define XDPTX_TX_AUDIO_INFO_DATA 0x0308 /**< Word formatted as per - CEA 861-C info frame. */ +#define XDPTX_TX_AUDIO_INFO_DATA(NUM) (0x0308 + 4 * (NUM - 1)) /**< Word + formatted as per CEA + 861-C info frame. */ #define XDPTX_TX_AUDIO_MAUD 0x0328 /**< M value of audio stream as computed by the DisplayPort TX core when @@ -295,7 +296,8 @@ DisplayPort TX core when audio and link clocks are synchronous. */ -#define XDPTX_TX_AUDIO_EXT_DATA 0x0330 /**< Word formatted as per +#define XDPTX_AUDIO_EXT_DATA(NUM) (0x0330 + 4 * (NUM - 1)) /**< Word + formatted as per extension packet. */ /* @} */