tsk_kernel.c

来自「基于MSP430FG4618MCU的铭正同创LCD驱动程序。」· C语言 代码 · 共 32 行

C
32
字号
#include "sys_def.h"
#include "sys_rsc.h"

#include "drv_cld.h"
#include "drv_lcd.h"
#include "drv_kbd.h"

#include "mng_tsk.h"
#include "mng_irq.h"
#include "mng_tmr.h"

#include "lib_lcd.h"

#include "tsk_kernel.h"

/*******************************************************************************
// 外部函数定义
*******************************************************************************/
void KernelInit()
{
	return;
}

int KernelProc(const Msg_t* pstMsg)
{
	DrawInt(pstMsg->ucSrcID, 0, 16, 0x80);
	DrawInt(pstMsg->ucTgtID, 32, 16, 0x80);
	DrawInt(pstMsg->iMsgID, 64, 16, 0x80);
	DrawString(acCalendar, (UCHAR)-1, 0, 48, 0x80);
	return OK;
}

⌨️ 快捷键说明

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