system.c
来自「基于51单片机UCOS移植」· C语言 代码 · 共 37 行
C
37 行
/*
*********************************************************************************************************
* uC/OS-II
* The Real-Time Kernel
*
* (c) Copyright 1992-2002, Jean J. Labrosse, Weston, FL
* All Rights Reserved
*
*
* uCOS_51 for MCS-51
*
* File : system.c
* By : Jean J. Labrosse
* Created by : QQ 591881218
*********************************************************************************************************
*/
#ifndef OS_MASTER_FILE
#include "..\ucos_51\ucos-ii\inc\includes.h"
#endif
void InitSystem(void) REENTRANT // 系统初始化
{
OSInit();
InitTimer0();
// InitSerial();
// InitSerialBuffer();
}
void LogoDisp(void) REENTRANT // Logo display
{
PrintStr("\n\t\t\t\t\t********************************\n");
PrintStr("\t\t\t\t\t* uC/OS-II *\n");
PrintStr("\t\t\t\t\t* The Real-Time Kernel *\n");
PrintStr("\t\t\t\t\t* uCOS_51 for MCS-51 *\n");
PrintStr("\t\t\t\t\t********************************\n\n\n");
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?