c_isr.c

来自「at91rm9200处理器i2s接口源代码」· C语言 代码 · 共 31 行

C
31
字号
//*----------------------------------------------------------------------------
//*         ATMEL Microcontroller Software Support  -  ROUSSET  -
//*----------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*----------------------------------------------------------------------------
//* File Name           : c_isr.c
//* Object              : Interrupt service routine called by assembler function in asm_isr.s
//* Creation            : NLe   27/11/2002
//*
//*----------------------------------------------------------------------------
#include "main.h"

//*----------------------------------------------------------------------------
//* \fn    AT91F_I2S_Handler
//* \brief This function is invoked by AT91F_ASM_I2S_Handler
//* This function updates the next SSC PDC pointer to send the next buffer
//*----------------------------------------------------------------------------
void AT91F_I2S_Handler(void)
{
	volatile unsigned int status;
	
	//* Get status and acknowledge IT
	status = pSSC->SSC_SR;	
	AT91F_PDC_SetNextTx ((AT91PS_PDC) &(pSSC->SSC_RPR), (char *)wav_file, AT91C_WAV_FILE_SIZE/2);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?