type.h

来自「using ewavr compiler, mega128 port test 」· C头文件 代码 · 共 24 行

H
24
字号
typedef unsigned char byte;				// Type definition for 'word'
typedef unsigned char BYTE;

typedef unsigned int word;              // Type definition for 'word'
typedef unsigned int WORD;


// **************************************************************************************
//	Bit operation union define
// **************************************************************************************
typedef union {
	unsigned char Byte;
	struct {
		unsigned char b0 : 1;
		unsigned char b1 : 1;
		unsigned char b2 : 1;
		unsigned char b3 : 1;
		unsigned char b4 : 1;
		unsigned char b5 : 1;
		unsigned char b6 : 1;
		unsigned char b7 : 1;
	} Bit;
} BIT;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?