typedef.h
来自「C8051F120与串口、并口、D12、USB、LCD应用」· C头文件 代码 · 共 33 行
H
33 行
/*-----------------------------------------------------------------------
Copyright (C) 2006 Beijing Jiaotong University, Computer Science
Creator: xiaoqiang
File: TypeDef.h
Description:
define type for c51 platform. the purple of the file is for
transplant to other platform. At other platform the file must
be modified to the comptible type.
History:
2006-7-21 xiaoqiang created
------------------------------------------------------------------------*/
#ifndef _TYPEDEF_H_
#define _TYPEDEF_H_
typedef char s8; //1 byte
typedef unsigned char u8; //1 byte
typedef int s16; //2 bytes
typedef unsigned int u16; //2 bytes
typedef long s32; //4bytes
typedef unsigned long u32; //4bytes
typedef u8 bool;
#define true 1
#define false 0
#endif //_TYPEDEF_H_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?