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

📄 flag.h

📁 Rabbit 32Bit RTOS源代码
💻 H
字号:
/*********************************************************************
*                   Copyright (c) 2011-2012,李士伟
*                     All rights reserved.
*文 件 名:flag.h
*描    述:系统函数使用的常数宏标志
*当前版本:V1.00
*作    者:李士伟
*创建日期:2011.10.02
**********************************************************************/
#ifndef __FLAG_H__
#define __FLAG_H__

#define OS_ERR                0
#define OS_NO_ERR             1

#define OS_NO_MORE_TCB        3
#define OS_NO_MORE_MEM        4
#define OS_TASK_SELF_ID       0

#define OS_BASE_PRIO          0
#define OS_BASE_BROADCAST     1

#define OS_NO_SEM             0
#define OS_GET_SEM            1

#define OS_OVERTIME           2

#define OS_MSGBOX_INVALID     0
#define OS_MSGBOX_FULL        1
#define OS_MSGBOX_SAVE        2
#define OS_MSGBOX_SEND        3

#define OS_MSGQ_INVALID       0
#define OS_MSGQ_FULL          1
#define OS_MSGQ_SAVE          2
#define OS_MSGQ_SEND          3

#define OS_NO_EVENT           0
#define OS_SET_EVENT          1
#define OS_EVENT_NOT_CAPTURE  2
#define OS_EVENT_SAVE         3
#define OS_EVENT_SEND         4

#define OS_MUTEX_NO_SIG       0
#define OS_MUTEX_SIG          1

#define OS_TICKS_PER_SECOND   100

#endif

⌨️ 快捷键说明

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