sdiaud
Vitis Drivers API Documentation
xsdiaud.c File Reference

Macros

#define BIT(n)   (1 << (n))
 Audio Embed total number of bytes in the 6 channel status registers. More...
 

Functions

int XSdiAud_CfgInitialize (XSdiAud *InstancePtr, XSdiAud_Config *CfgPtr, UINTPTR EffectiveAddr)
 This function initializes the XSdiAud. More...
 
void XSdiAud_Enable (XSdiAud *InstancePtr, u8 Enable)
 This function enables/disables the XSdiAud. More...
 
void XSdiAud_GetChStat (XSdiAud *InstancePtr, u8 *ChStatBuf)
 This function reads all the Channel Status registers and writes to a buffer. More...
 
u32 XSdiAud_GetCoreVersion (XSdiAud *InstancePtr)
 This function reads the core version register and returns its value. More...
 
u32 XSdiAud_GetIntStat (XSdiAud *InstancePtr)
 This function reads the Interrupt Status register and returns its value. More...
 
void XSdiAud_Emb_SetSmpRate (XSdiAud *InstancePtr, XSdiAud_SampRate XSdiAud_SRate)
 This Audio Embed function sets the sampling rate. More...
 
void XSdiAud_Emb_SetSmpSize (XSdiAud *InstancePtr, XSdiAud_SampSize XSdiAud_SSize)
 This Audio Embed function sets the sample size in only SD Mode. More...
 
void XSdiAud_Emb_SetAsx (XSdiAud *InstancePtr, XSdiAud_Asx XSdiAud_Async_data_flag)
 This Audio Embed function sets the asynchronous data flag. More...
 
void XSdiAud_SetAesChPair (XSdiAud *InstancePtr, XSdiAud_AesChPair XSdiAud_ACP)
 This Audio function selects the aes channel pair. More...
 
void XSdiAud_Emb_SetVidProps (XSdiAud *InstancePtr, XSdiAud_Emb_Vid_Props *XSdiAud_VP)
 This Audio Embed function sets the video properties of the image like transport scan, transport rate and transport family. More...
 
void XSdiAud_Emb_EnExtrnLine (XSdiAud *InstancePtr, u8 XSdiAud_En)
 This Audio Embed function enables the external line number. More...
 
void XSdiAud_Ext_DisableClkPhase (XSdiAud *InstancePtr, u8 XSdiAud_SetClkP)
 This Audio Extract function sets the clock phase. More...
 
void XSdiAud_GetActGrpStatus (XSdiAud *InstancePtr, XSdiAud_ActGrpSt *GrpSt)
 This function detects the Audio groups and returns the groups which are present. More...
 
void XSdiAud_SetCh (XSdiAud *InstancePtr, u32 XSdiAudSetChMask)
 This function sets the channel valid register. More...
 
void XSdiAud_MuteCh (XSdiAud *InstancePtr, u32 XSdiAudMuteChMask)
 This function mutes a specific channel based on the mask provided. More...
 
u8 XSdiAud_Ext_GetFIFOOvFlwStatus (XSdiAud *InstancePtr)
 This function reads the FIFO overflow status. More...
 
void XSdiAud_Ext_GetAcChStatus (XSdiAud *InstancePtr, XSdiAud_ActChSt *ActChSt)
 This function reads the active channel information decoded from audio control packet. More...
 
void XSdiAud_Ext_GetSRStatus (XSdiAud *InstancePtr, XSdiAud_SRSt *SRSt)
 This function reads the sample rate information decoded from audio control packet (0 - 48 KHz, 1 - 44.1 KHz, 2 - 32 KHz, 3 - Reserved). More...
 
void XSdiAud_Ext_GetAsxStatus (XSdiAud *InstancePtr, XSdiAud_AsxSt *AsxSt)
 This function reads the ASX information decoded from audio control packet. More...
 
void XSdiAud_ConfigReset (XSdiAud *InstancePtr)
 This function is used to soft reset the XSdiAud registers.It resets all the configuration registers. More...
 
void XSdiAud_CoreReset (XSdiAud *InstancePtr, u8 RstCoreEnable)
 This function is used to soft reset the XSdiAud core. More...