sdiaud
Xilinx SDK Drivers API Documentation
xsdiaud.c File Reference

Macros

#define XSDIAUD_CHSTAT_NUMBER_OF_BYTES   24
 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_Ext_GetChStat (XSdiAud *InstancePtr, u8 *ChStatBuf)
 This function reads all the Channel Status registers and writes to a buffer. 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_SetLineStd (XSdiAud *InstancePtr, XSdiAud_LineStnd XSdiAud_LS)
 This Audio Embed function sets the line standard. More...
 
void XSdiAud_Emb_EnExtrnLine (XSdiAud *InstancePtr, u8 XSdiAud_En)
 This Audio Embed function enables the external line number. More...
 
void XSdiAud_Ext_SetClkPhase (XSdiAud *InstancePtr, u8 XSdiAud_SetClkP)
 This Audio Extract function sets the clock phase. More...
 
XSdiAud_GrpsPrsnt XSdiAud_DetAudGrp (XSdiAud *InstancePtr)
 This function detects the Audio groups and returns the groups which are present. More...
 
void XSdiAud_SetCh (XSdiAud *InstancePtr, XSdiAud_GrpNum XSdiStrtGrpNum, XSdiAud_NumOfCh XSdiANumOfCh)
 This function sets the channel count by taking the number of channels and the start group number as the arguments. More...
 
void XSdiAud_Ext_Mute (XSdiAud *InstancePtr, XSdiAud_GrpNum XSdiAGrpNum, XSdiAud_GrpXChNum XSdiAChNum)
 This function mutes a specific channel in a specific group. More...
 
u32 XSdiAud_Ext_GetActCh (XSdiAud *InstancePtr)
 This function reads the control packet status register and returns the 16 bit active channel field related to the 4 groups. More...
 
void XSdiAud_ResetReg (XSdiAud *InstancePtr)
 This function is used to soft reset the XSdiAud registers.It resets all the configuration registers. More...
 
void XSdiAud_ResetCoreEn (XSdiAud *InstancePtr, u8 RstCoreEnable)
 This function is used to soft reset the XSdiAud core. More...
 
void XSdiAud_Emb_RateCntrlEn (XSdiAud *InstancePtr, u8 XSdiAud_RCE)
 This Audio Embed function controls the rate at which audio samples are inserted on to the SDI stream. More...