XilinxProcessorIPLib/drivers/audio_formatter/examples/xaudioformatter_intr_example.c
void *XS2MMAFCallback(void *data)
{
	XAudioFormatter *AFInstancePtr = (XAudioFormatter *)data;
	/* clear interrupt flag */
	S2MMAFIntrReceived = 1;
	AFInstancePtr->ChannelId = XAudioFormatter_S2MM;
	XAudioFormatterDMAStop(&AFInstance);
}
/*****************************************************************************/
/**
 *
 * This function is called from the interrupt handler of audio formatter core.
 * After the first S2MM interrupt is received the interrupt_flag is set here.
 *
 * @return
 *
 * @note	This function assumes a Microblaze or ARM system and no
 *	operating system is used.
 *
*******************************************************************************/
This function is called from the interrupt handler of audio formatter core.
After the first S2MM interrupt is received the interrupt_flag is set here.

@return

@note        This function assumes a Microblaze or ARM system and no
operating system is used.
This function is called from the interrupt handler of audio formatter core . After the first S2MM interrupt is received the interrupt_flag is set here . @return @note This function assumes a Microblaze or ARM system and no operating system is used .
void *XS2MMAFCallback(void *data)
{
	XAudioFormatter *AFInstancePtr = (XAudioFormatter *)data;
	S2MMAFIntrReceived = 1;
	AFInstancePtr->ChannelId = XAudioFormatter_S2MM;
	XAudioFormatterDMAStop(&AFInstance);
}
void * XS2MMAFCallback ( void * data ) { XAudioFormatter * AFInstancePtr = ( XAudioFormatter * ) data ; S2MMAFIntrReceived = 1 ; AFInstancePtr -> ChannelId = XAudioFormatter_S2MM ; XAudioFormatterDMAStop ( & AFInstance ) ; }
This function is called from the interrupt handler of audio formatter core.
This function is called from the interrupt handler of audio formatter core .
/* clear interrupt flag */