⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 typedef.h

📁 C8051F120与串口、并口、D12、USB、LCD应用
💻 H
字号:
/*-----------------------------------------------------------------------

    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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -