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

📄 datatype.h

📁 测试STN LCM产品
💻 H
字号:
#ifndef __DATATYPES__
#define __DATATYPES__

typedef char int8;
typedef int  int16;
typedef long int32;

typedef unsigned char uint8;
typedef unsigned int  uint16;
typedef unsigned long uint32;

typedef uint8* str;
// ---------------------------- Data Structures --------------------------------
// The structure of color data
typedef struct ColorInfo
{
	uint8 Rdata;
	uint8 Gdata;
	uint8 Bdata;
}tColor;

// Information for drawing a rectangle
typedef struct RectInfo
{
	uint8 X0;	// Upleft
	uint8 Y0; 
	uint8 X1; 	// Downright
	uint8 Y1;
}tRect;

// Information for LCM
typedef struct LCM_Info
{
	str Name;
	str Interface;
	str Customer;
}tLCM;

// The structure of Hanzi
typedef struct typFNT_GB16
{
	uint8 Index[2];               // GB2312
	uint8 Msk[32];                // Mask data
}tFont1616;
// -----------------------------------------------------------------------------

#endif

⌨️ 快捷键说明

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