?? config.h
字號:
//這一段無需改動
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
typedef unsigned char uint8; /* 無符號8位整型變量 */
typedef signed char int8; /* 有符號8位整型變量 */
typedef unsigned short uint16; /* 無符號16位整型變量 */
typedef signed short int16; /* 有符號16位整型變量 */
typedef unsigned int uint32; /* 無符號32位整型變量 */
typedef signed int int32; /* 有符號32位整型變量 */
typedef float fp32; /* 單精度浮點數(32位長度) */
typedef double fp64; /* 雙精度浮點數(64位長度) */
/********************************/
/* uC/OS-II的特殊代碼 */
/********************************/
#define USER_USING_MODE 0x10 /* 用戶模式,ARM代碼 */
// /* 只能是0x10,0x30,0x1f,0x3f之一 */
#include "os_cpu.h"
#include "os_cfg.h"
#include "ucos_ii.h"
#include <string.h>
/********************************/
/* 應用程序配置 */
/********************************/
//以下根據需要改動
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <setjmp.h>
#include <rt_misc.h>
/*********************************************************************************************************
** End Of File
********************************************************************************************************/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -