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

📄 lcd_dvc.h

📁 与Nucleus Plus配套的图形库
💻 H
字号:
/*************************************************************************/
/*                                                                       */
/*        Copyright (c) 1999 Accelerated Technology, Inc.                */
/*                                                                       */
/* PROPRIETARY RIGHTS of Accelerated Technology are involved in the      */
/* subject matter of this material.  All manufacturing, reproduction,    */
/* use, and sales rights pertaining to this subject matter are governed  */
/* by the license agreement.  The recipient of this software implicitly  */
/* accepts the terms of the license.                                     */
/*                                                                       */
/*************************************************************************/

/*************************************************************************/
/*                                                                       */
/* FILE NAME                                            VERSION          */
/*                                                                       */
/*      lcd_dvc.h                                        1.1             */
/*                                                                       */
/* COMPONENT                                                             */
/*                                                                       */
/*      All                                                              */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This file contains the device dependent structures.              */
/*                                                                       */
/* AUTHOR                                                                */
/*                                                                       */
/*      Robert G. Burrill, Accelerated Technology, Inc.                  */
/*                                                                       */
/* DATA STRUCTURES                                                       */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* FUNCTIONS                                                             */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* DEPENDENCIES                                                          */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*         NAME            DATE                    REMARKS               */
/*                                                                       */
/*                                                                       */
/*************************************************************************/

#define numDisplays 4	/* Number of supported display devices */

typedef struct _DBPstruc{	/* Display Bank Parameter Structure		*/
	byte wnType;				/* hardware window type				*/
	long wnSize;				/* scan lines/bank					*/
	long wnOff;					/* offset to second hardware window	*/
	int (*bnkMgr)();			/* offset of bank manager			*/
	void (*plnMgr)();			/* offset of plane manager			*/
	void (*altMgr)();			/* offset of alt plane manager		*/
} DBPstruc;

typedef struct _DspDevc{	/* Display Device Structure				*/
	int devcName;				/* Name of device					*/
	DBPstruc *bnkTblPtr;		/* Pointer to bank manager table	*/
	int (*devTblPtr)();			/* Pointer to device driver table	*/
} DspDevc;
extern DspDevc displayTable[numDisplays];

#define hasAltMgr	0x80	/* high bit of wnType indicates altmgr */

/*-------- Device Bank and Plane Parameter Tables start here  --------*/
extern DBPstruc tLCD;			/* Generic LCD */

/* Internal Input Device Managers */
extern long mwIdevTbl[16];
	
/* Bank & plane manager function prototypes */
int BankStub(void);
void PlaneStub(void);

/* Device manager function prototypes */
int DevStub(void);
int	dLCD(void);

⌨️ 快捷键说明

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