| spdif Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Macros | Functions
xspdif.c File Reference

## Macros
#define | XSPDIF_SOFT_RESET_REGISTER_VALUE 0X0A
| Soft Reset Register value to reset. More...

## Functions
int | XSpdif_CfgInitialize (XSpdif *InstancePtr, XSpdif_Config *CfgPtr, UINTPTR EffectiveAddr)
| This function initializes the XSpdif. More...
void | XSpdif_Enable (XSpdif *InstancePtr, u8 Enable)
| This function enables/disables the XSpdif. More...
void | XSpdif_SoftReset (XSpdif *InstancePtr)
| This function is used to soft reset the interrupt registers. More...
void | XSpdif_ResetFifo (XSpdif *InstancePtr)
| This function resets the Fifo. More...
void | XSpdif_SetClkConfig (XSpdif *InstancePtr, u8 Clk_DivNum)
| This function sets the clock configuration bits. More...
u32 | XSpdif_GetFs (XSpdif *InstancePtr, u32 AudClk)
| This function calculates the Sampling Frequency (Fs) and returns it's value. More...
void | XSpdif_Rx_GetChStat (XSpdif *InstancePtr, u8 *ChStatBuf)
| This function reads all the Channel Status registers and writes to a buffer. More...
void | XSpdif_Rx_GetChA_UserData (XSpdif *InstancePtr, u8 *ChA_UserDataBuf)
| This function reads the Channel A user data and writes to a buffer. More...
void | XSpdif_Rx_GetChB_UserData (XSpdif *InstancePtr, u8 *ChB_UserDataBuf)
| This function reads the Channel B user data and writes to a buffer. More...