📄 pendev.h
字号:
/******************************************************************************
(c) copyright Motorola Semiconductors Hong Kong Limited 1995, 1996, 1997, 1998
ALL RIGHTS RESERVED
******************************************************************************
Project Name : Personal Portable System Manager, PPSM
Project No. : PDAPSM031
Title : Pen device driver header files
File Name : PENDRV.H
Created On : 08/19/95
Release : 20/04/99 PPSM V3.11
*****************************************************************************/
#ifndef PENDRV_INCLUDED
#define PENDRV_INCLUDED
#define SPI_DEFAULT 0x420F /* 16 bit=1111, 10 bit=1001 */
#define XCH_BIT 0x0100
#define XCH_MASK 0xFEFF
#define SPMEN_BIT 0x0200
#define SPMEN_MASK 0xFDFF
#define SPIM_IRQ_BIT 0x0080
#define SPIM_IRQ_MASK 0xFF7F
#define PD_INIT 0x0F
#define PE_INIT 0x08 /* use PE3 to control *ADCS */
#define PE_CS_LOW 0xF7
#define PE_CS_HIGH 0x08
#define PD_CS_IDLE 0x0F
#define PD_CS_ACTIVE 0x0D
#define PE_CS_IDLE 0xF0
#define LONG_DEL 15
#define DIFF_LIMIT 3
#ifdef FMA /* 03/09/98 Changed the value so that no misleading pen up will be detected */
#define EDGE_MIN_LIMIT 0x12
#define EDGE_MAX_LIMIT 0x3E6
#endif
#define EDGE_MIN_LIMIT 0x0
#define EDGE_MAX_LIMIT 0x3FE
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -