XilinxProcessorIPLib/drivers/audio_formatter/examples/xaudioformatter_intr_example.c
void *XMM2SAFCallback(void *data)
{
	XAudioFormatter *AFInstancePtr = (XAudioFormatter *)data;
	/* clear interrupt flag */
	MM2SAFIntrReceived = 1;
	AFInstancePtr->ChannelId = XAudioFormatter_MM2S;
	XAudioFormatterDMAStop(&AFInstance);
}
/*****************************************************************************/
/**
 *
 * This function is called from the interrupt handler of audio formatter core.
 * After the first MM2S 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 MM2S 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 MM2S 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 *XMM2SAFCallback(void *data)
{
	XAudioFormatter *AFInstancePtr = (XAudioFormatter *)data;
	MM2SAFIntrReceived = 1;
	AFInstancePtr->ChannelId = XAudioFormatter_MM2S;
	XAudioFormatterDMAStop(&AFInstance);
}
void * XMM2SAFCallback ( void * data ) { XAudioFormatter * AFInstancePtr = ( XAudioFormatter * ) data ; MM2SAFIntrReceived = 1 ; AFInstancePtr -> ChannelId = XAudioFormatter_MM2S ; 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 */