?? taskstart.c
字號:
/********************************************************************
/ /
/ MicroC/Os-II The Real-Time Kernel /
/ TaskStart.c /
*********************************************************************/
#include "mc9s12dg128.h "
#include "includes.h"
#include "global.h"
#include "lib.h"
#include "int.h"
/********************************************************************/
#pragma CODE_SEG TASKCODESEG //save the TaskStart code in banked flash
#pragma STRING_SEG TASKSTRINGSEG //save the TaskStart string in banked flash
/********************************************************************/
void TaskStart(void *pdata)
{
PORTB=0XFF;
pdata=pdata;
LibRTIInit();
for(;;)
{
PORTB=~PORTB;
OSTimeDly(50);
}
}
/********************************************************************/
#pragma CODE_SEG DEFAULT
#pragma STRING_SEG DEFAULT
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -