📄 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 + -