systick.c

来自「CortexM0上移植UCOS-II」· C语言 代码 · 共 29 行

C
29
字号
/**************************************************************************
//文件名称:systick.c
//功    能:系统中断服务程序
//作    者:懒猫爱飞
//日    期:2011.04.25
//描    述:Target:lpc1114  Crystal:12M  Compiler: MDK4.12  
//修    改:
**************************************************************************/	
#include "LPC11xx.h"			
#include "systick.h"
#include "gpio.h" 
#include "ucos_ii.h"
#include "config.h"		

/**************************************************************************
// 函数名称 :void SysTick_Handler(void)
// 函数功能 : systick中断服务程序,systick计数器溢出中断
// 入口参数 : void *nouse
// 出口参数 : 无
// 备    注 :无
**************************************************************************/
void SysTick_Handler(void)
{
	OSIntEnter();					// Must be called first at every hardware interrupt entry point 
   	OSTimeTick();					// Must be called during tick isr 
   	OSIntExit();
}

⌨️ 快捷键说明

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