reg.h
来自「ARM9基于WINDOWSCE的BSP源代码」· C头文件 代码 · 共 61 行
H
61 行
/*
* The content of this file or document is CONFIDENTIAL and PROPRIETARY
* to Jade Technologies Co., Ltd. It is subjected to the terms of a
* License Agreement between Licensee and Jade Technologies Co., Ltd.
* restricting among other things, the use, reproduction, distribution
* and transfer. Each of the embodiments, including this information
* and any derivative work shall retain this copyright notice.
*
* Copyright (c) 2004 - 2005 Jade Technologies Co., Ltd.
* All rights reserved.
----------------------------------------------------------------
File: REG.H,v
Revision: 1.1
----------------------------------------------------------------
$
Module Name:
reg.h
Abstract:
This module contains the layout and definitions for the Touch/Audio ASIC.
Notes:
Only the registers and defintions needed for the touch panel are defined.
--*/
// Include the Touch/Audio common declarations
//
// @doc INTERNAL DRIVERS PDD TOUCH_PANEL
// @const ULONG | NUMBER_SAMPLES_PER_POINT |
//
// Defines the number of samples per point sampled by the ADC.
//
#define NUMBER_SAMPLES_PER_POINT 3
//
// Status field valid values
//
#define TOUCH_PEN_DOWN 0
#define TOUCH_PEN_UP 1
#define TOUCH_PEN_SAMPLE 2
//
// @doc INTERNAL DRIVERS PDD TOUCH_PANEL
// @type TOUCHPANEL_POINT_SAMPLES |
// Array of NUMBER_SAMPLES_PER_POINT samples.
//
typedef struct {
USHORT XSample; //@field X Coordinate.
USHORT YSample; //@field Y Coordinate.
} TOUCHPANEL_POINT_SAMPLE, *PTOUCHPANEL_POINT_SAMPLE;
typedef TOUCHPANEL_POINT_SAMPLE TOUCHPANEL_POINT_SAMPLES[ NUMBER_SAMPLES_PER_POINT ];
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?