os20i.h
来自「本程序为ST公司开发的源代码」· C头文件 代码 · 共 45 行
H
45 行
/* * os20i.h * * Copyright (C) STMicroelectronics Ltd. 2000 * * internal constants and definitions */#ifndef __os20_os20i_h#define __os20_os20i_h #ifndef __boolean#define __booleantypedef enum { false = 0, true = 1 } boolean;#endif/*constants*/#define BYTES_PER_WORD 4#define WORD_MASK (-BYTES_PER_WORD)#ifndef NULL#define NULL ((void*)0)#endif#define NULL_TASK ((task_t*)NULL)#include "interri.h"#include "messagi.h"#include "memoryi.h"#include "semaphi.h"#include "taski.h"#include "kerneli.h"#include "timei.h"#if (OS20_OUTPUT == 1)#include "stdio.h"#include "string.h"#include "lld_uart.h"#define print(data) LLD_UART_u32Write(0, data, strlen(data)); //UART0 debug port#else#define print(data)#endif#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?