fybasic.h
来自「拨号程序源码.利用CPU是8位单片机. 拨号芯片为HT9200.」· C头文件 代码 · 共 1,165 行
H
1,165 行
//Copyright(C), 2007-2007, Whcsdc Tech. Co., Ltd.
//File name:fydefine.h
//Author:"杨军"
//Version:"2007版"
//Date: "2007年8月1日"
//Description:"定义了整个程序中使用到的结构"
#if !defined(__BASIC__)
#define __BASIC__
#include<reg51.h>
#include<absacc.h>
#include<Intrins.h>
//#include<float.h>
//#include<math.h>
//#include<ctype.h>
#include<stdlib.h>
#include <string.h>
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef union UBWORD
{
uint aword;
struct
{
uchar byte1;
uchar byte2;
}byte;
}UBWORD;
typedef union UBDWORD
{
ulong adword;
struct
{
uint word1;
uint word2;
}word;
struct
{
uchar byte1;
uchar byte2;
uchar byte3;
uchar byte4;
}byte;
}UBDWORD;
#ifndef TRUE
#define TRUE 1 ;
#endif
#ifndef FALSE
#define FALSE 0 ;
#endif
#endif // !defined(__BASIC__)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?