📄 asm.h
字号:
/*********************************************************************
* Copyright (c) 2011-2012,李士伟
* All rights reserved.
*文 件 名:asm.h
*描 述:C形式引出arch\lpc2103中的汇编函数
*当前版本:V1.00
*作 者:李士伟
*创建日期:2012.01.12
**********************************************************************/
#ifndef __ASM_H__
#define __ASM_H__
#include <kernel\typedef.h>
#ifdef __cplusplus
extern "C" {
#endif
__swi(0x00) void OS_TaskCtxSw(void); /* call __OS_TaskCtxSw */
__swi(0x01) void OS_StartHighRdyTask(void); /* call __OS_StartHighRdyTask */
__swi(0x02) void OS_ENTER_CRITICAL(void); /* call __OS_ENTER_CRITICAL */
__swi(0x03) void OS_EXIT_CRITICAL(void); /* call __OS_EXIT_CRITICAL */
__swi(0x04) void Reboot(void); /* call __Reset_Handler */
extern OS_STK *__OS_InitTaskStk(void (*task)(void *pdata), void *pdata,
OS_STK *ptos, INT32U mode);
extern void Timer0_Handler(void);
extern void UART0_Handler(void);
extern void I2C0_Handler(void);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -