isrs.c

来自「Blackfin 533 打印机驱动」· C语言 代码 · 共 25 行

C
25
字号
#include "BF533 Flags.h"

//--------------------------------------------------------------------------//
// Function:	Timer0_ISR													//
//																			//
// Parameters:	None														//
//																			//
// Return:		None														//
//																			//
// Description:	This ISR is executed every time Timer0 expires.				//
//				The old LED pattern is shifted by one; the direction		//
//				depends on the state of sLight_Move_Direction, which is		//
//				changed in FlagA_ISR.										//
//--------------------------------------------------------------------------//
extern char gWait;
EX_INTERRUPT_HANDLER(Timer0_ISR)
{
	//static unsigned char ucActive_LED = 0x01;
	// confirm interrupt handling
	*pTIMER_STATUS = 0x0001;
	gWait=0;

}

⌨️ 快捷键说明

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