⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 SmallRTOSAVR.rar
💻 H
字号:
/*********************************************************************************************************
**                                        Small RTOS
**                                   The Real-Time Kernel
**                           (c) Copyright 2002-2003, chenmingji
**                                     All Rights Reserved
**                                      V1.50.0 内部测试版
**
**--------------文件信息--------------------------------------------------------------------------------
**文   件   名: CONFIG.H
**创   建   人: 陈明计
**最后修改日期: 2004年8月8日
**描       述: 应用相关的配置头文件
** 修改人: 焦进星
** 日 期: 2007年12月30日
** 描 述: 移植到AVR系列芯片,适用于atmega16/32等
********************************************************************************************************/
#ifndef __RT_CONFIG_HPP
#define __RT_CONFIG_HPP

/********************************/
/*     "以下为系统配置"           */
/********************************/
#ifndef TRUE
#define TRUE  1
#endif

#ifndef FALSE
#define FALSE 0
#endif

/********************************/
/*     "操作系统定义"            */
/********************************/
#include "..\APP\OS_CFG.H"
#include "..\AVR\OS_CPU.H"
#include "..\OS\OS.H"

/********************************/
/*      AVR的特殊代码           */
/********************************/
//这一段无需改动


/********************************/
/*     应用程序配置             */
/********************************/
//以下根据需要改动
#include <io.h>
#include <wdt.h>
#include <sleep.h>
#include <Interrupt.h>
#include <inttypes.h>
#include <stdbool.h>

/********************************/
/*     本例子的配置             */
/********************************/


#endif
/*********************************************************************************************************
**                            End Of File
********************************************************************************************************/

⌨️ 快捷键说明

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