📄 zlg_avalon_ps2mouse.h
字号:
/****************************************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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -