?? zlg_avalon_ps2mouse.h
字號(hào):
/****************************************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__ */
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -