HDMI 1.4/2.0 TX Subsystem
104
PG235 October 4, 2017
Appendix
C:
Application Software Development
XhdmiAudGen_SetPattern(&AudioGen, 8, XAUD_PAT_MUTE);
To update the audio channel allocation.
Information can be found in Table 20 in CED-861-D, under Audio InfoFrame Data Byte 4.
In the API,
void XV_HdmiTxSs_SendAuxInfoframe(XV_HdmiTxSs *InstancePtr, void *AuxPtr);
You must set the data byte value before calculating the CRC.
Example
/* Channel Allocation */
InstancePtr->HdmiTxPtr->Aux.Data.Byte[4] = 0x13;
You may choose to construct your own infoframe in the application software, and use
API XV_HdmiTxSs_SendGenericAuxInfoframe to send out.
Use Case 6: Enable HDMI Mode
Use the following API:
XV_HdmiTxSS_SetHdmiMode(&HdmiTxSs);
XV_HdmiTxSs_AudioMute(&HdmiTxSs, FALSE);
Use Case 7: Enable DVI Mode
Use the following API:
XV_HdmiTxSS_SetDviMode(&HdmiTxSs);
XV_HdmiTxSs_AudioMute(&HdmiTxSs, TRUE);