⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reg.h

📁 ARM9基于WINDOWSCE的BSP源代码
💻 H
字号:
/*
*   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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -