📄 os20i.h
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -