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

📄 stddefs.h

📁 该程序是在linux arm下实现的基于framebuffer的LCD驱动
💻 H
字号:
/******************************************************************************

 (c) Copyright Motorola Semiconductors Hong Kong Limited 1995-2000
 ALL RIGHTS RESERVED

******************************************************************************
 Project Name  : Personal Portable System Manager, PPSM
 Project No.   : PDAPSM031
 Title         : Definitions of integer types
 File Name     : stddefs.h
 Created On    : 03/28/95
 Modifications : 02/07/00 EC - Added logic to support configurable
 				 			   interrupt (VZ-011)
 Release       : 12/15/00 PPSM v3.22
**********************************************************************/
#ifndef STDDEFS_INCLUDED
#define STDDEFS_INCLUDED

/* Typedefs for integer types */
typedef	unsigned char	U8;	/*  unsigned 8 bit data  */
typedef	unsigned short	U16;	/*  unsigned 16 bit data */
typedef	unsigned int	U32;	/*  unsigned 32 bit data */
typedef	char		S8;	/*  signed 8 bit data  */
typedef	short		S16;	/*  signed 16 bit data */
typedef	int		S32;	/*  signed 32 bit data */

typedef	U8 *	P_U8;		/*  unsigned 8 bit data  */
typedef	U16 *	P_U16;		/*  unsigned 16 bit data */
typedef	U32 *	P_U32;		/*  unsigned 32 bit data */
typedef	S8 *	P_S8;		/*  signed 8 bit data  */
typedef	S16 *	P_S16;		/*  signed 16 bit data */
typedef	S32 *	P_S32;		/*  signed 32 bit data */

typedef	U16	TEXT;		/* 16-bit text data */
typedef	P_U16	P_TEXT;		/* 16-bit text data */

typedef	S16	STATUS;		/* status word is a signed short */

typedef	void *	P_VOID;	/* pointer to void */

/*** ADD VZ-011 ... ***/
#if defined(VZ328)
typedef void (* PFIRPTHANDLER)(P_U32);	/*** ADD VZ-011 ***/
#endif
/*** ... ADD VZ-011 ***/

/*  point structure  */
typedef	struct
{
	U16	x;		/*  x point  */
	U16	y;		/*  y point  */
} POINT, *P_POINT;

/*  area structure  */
typedef	struct	
{
	POINT	top;		/*  Top left corner  */
	POINT	bottom;		/*  Bottom right corner  */
} AREA, *P_AREA;

/*  point structure  */
typedef	struct
{
	S16	x;		/*  x point  */
	S16	y;		/*  y point  */
} SPOINT, *P_SPOINT;


/*  area structure  */
typedef	struct	
{
	SPOINT	top;		/*  Top left corner  */
	SPOINT	bottom;		/*  Bottom right corner  */
} SAREA, *P_SAREA;


/*  Beep information  */
typedef struct
{
	U32	frequency;	/*  Beeper's frequency  */
	U32	duration;	/*  Beeper's duration   */
} BEEPINFO;

#endif

⌨️ 快捷键说明

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