?? config.h
字號:
#ifndef __config_H__
#define __config_H__
//#pragma REGPARMS
#include <iom16v.h>
//#include <intrins.h>
//#include <absacc.h>
//#include <string.h>
//#define RAND_MAX 249 //為產生0-249之間的隨機數而設置如果不定義則默認為INT_MAX
//#include <stdlib.h>
#include <macros.h>
//#include <eeprom.h>
//#define const code
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
typedef unsigned char uint8; /* 定義可移植的無符號8位整數關鍵字 */
typedef signed char int8; /* 定義可移植的有符號8位整數關鍵字 */
typedef unsigned int uint16; /* 定義可移植的無符號16位整數關鍵字 */
typedef signed int int16; /* 定義可移植的有符號16位整數關鍵字 */
typedef unsigned long uint32; /* 定義可移植的無符號32位整數關鍵字 */
typedef signed long int32; /* 定義可移植的有符號32位整數關鍵字 */
#ifndef NULL
#define NULL 0
#endif
//#define OS_SEM_MEM_SEL
/********************************/
/* "以下為程序配置" */
/********************************/
//#include "..\iicdriver\24cxx.h"
//#include "..\fat\fat.h"
//#include "..\serialdriver\sio.h"
//#include "..\minios\minios.h"
//#include "..\message\message.h"
#include "..\MB90092\MB90092.h"
//#include "..\uitil\uitil.h"
//#include "..\file\file.h"
//#include "..\gsm\gsm.h"
//#include "..\unicode\charutil.h"
//#include "..\keyboard\keyboard.h"
//#include "..\scheduler\scheduler.h"
//#include "..\intraeeprom\intraeeprom.h"
//#include "..\moniter\moniter.h"
//#include "..\watchdog\watchdog.h"
/* 定義模擬IIC使用的IO口線 */
/*sbit SCL = P1 ^ 4;
sbit SDA = P1 ^ 3;
sbit LED = P2 ^ 0;
sbit BELL = P1^6;
*/
#endif
/**********************end****************************************/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -