sampint3.c

来自「上传一个带源代码的嵌入式实时多任务操作系统CMX」· C语言 代码 · 共 16 行

C
16
字号
#include <reg166.h>
#include <cxfuncs.h>

/* this interrupt does absolutly nothing, but shows the user that if
  the interrupt uses the pragma noframe directive, that it must call
  the CMX K_OS_Intrp_Exit_No_Frame, as the LAST function before the end brace. */
#pragma noframe

interrupt( 0x23) void
t3_handler( void )
{
	/* ... user code ... */
	K_OS_Intrp_Exit_No_Frame();
}

⌨️ 快捷键说明

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