zlg_avalon_ps2mouse.h
来自「周立功SOPC 嵌入式系统实验教程书籍配套光盘 PS2鼠标驱动代码」· C头文件 代码 · 共 59 行
H
59 行
/****************************************Copyright (c)**************************************************
** Guangzhou ZHIYUAN ELECTRONIC CO.,LTD.
** Research centre
** http://www.zyinside.com, http://www.zlgmcu.com
**
**---------------------------------------File Info-----------------------------------------------------
** File name: zlg_avalon_ps2mouse.h
** Latest modified Date: 2006-05-13
** Latest Version: 1.0
** Descriptions: Provide function declaration for the ps2mouse Core
**
**------------------------------------------------------------------------------------------------------
** Created by: ZhouShuwu
** Created date: 2006-05-13
** Version: 1.0
** Descriptions: The original version
**
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Descriptions:
**
********************************************************************************************************/
#ifndef __ZLG_AVALON_PS2MOUSE_H__
#define __ZLG_AVALON_PS2MOUSE_H__
#include "zlg_avalon_ps2mouse_regs.h"
#include "alt_types.h"
#include "system.h"
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
//extern alt_u32 ReadMouseData(void);
extern void MouseInit(void);
extern volatile alt_u32 MouseDone;
extern volatile alt_u32 MouseData;
/*
* Macros used by alt_sys_init()
*/
#define ZLG_AVALON_PS2MOUSE_INSTANCE(name, dev) \
alt_u32 ps2mouse_addr = name##_BASE
#define ZLG_AVALON_PS2MOUSE_INIT(name, dev) while(0)
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __ZLG_AVALON_PS2MOUSE_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?