XilinxProcessorIPLib/drivers/audio_formatter/src/xaudioformatter.c
void XAudioFormatterSetS2MMTimeOut(XAudioFormatter *InstancePtr, u32 TimeOut)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);

	XAudioFormatter_WriteReg(InstancePtr->BaseAddress,
		XAUD_FORMATTER_S2MM_TIMEOUT, TimeOut);
}
/*****************************************************************************/
/**
 ** This function sets the S2MM timeout.
 **
 ** @param  InstancePtr is a pointer to the Audio Formatter instance.
 ** @param  TimeOut is the Timeout value after which all the data is flushed to
 **         memory if there is no incoming data from any channel.
 **
 ** @return - None
 **
 ******************************************************************************/
This function sets the S2MM timeout.
@param  InstancePtr is a pointer to the Audio Formatter instance.
@param  TimeOut is the Timeout value after which all the data is flushed to
memory if there is no incoming data from any channel.

@return - None
This function sets the S2MM timeout . @param InstancePtr is a pointer to the Audio Formatter instance . @param TimeOut is the Timeout value after which all the data is flushed to memory if there is no incoming data from any channel . @return - None
void XAudioFormatterSetS2MMTimeOut(XAudioFormatter *InstancePtr, u32 TimeOut)
{
	Xil_AssertVoid(InstancePtr != NULL);
	Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY);
	XAudioFormatter_WriteReg(InstancePtr->BaseAddress,
		XAUD_FORMATTER_S2MM_TIMEOUT, TimeOut);
}
void XAudioFormatterSetS2MMTimeOut ( XAudioFormatter * InstancePtr , u32 TimeOut ) { Xil_AssertVoid ( InstancePtr != NULL ) ; Xil_AssertVoid ( InstancePtr -> IsReady == XIL_COMPONENT_IS_READY ) ; XAudioFormatter_WriteReg ( InstancePtr -> BaseAddress , XAUD_FORMATTER_S2MM_TIMEOUT , TimeOut ) ; }
This function sets the S2MM timeout.
This function sets the S2MM timeout .