eGUI alias D4D
Release 3.0
Reference Manual
Introduction
Pages
Reference
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
d4dtch_resistive.h
Go to the documentation of this file.
1
/**************************************************************************
2
*
3
* Copyright 2014 by Petr Gargulak. eGUI Community.
4
* Copyright 2009-2013 by Petr Gargulak. Freescale Semiconductor, Inc.
5
*
6
***************************************************************************
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU Lesser General Public License Version 3
9
* or later (the "LGPL").
10
*
11
* As a special exception, the copyright holders of the eGUI project give you
12
* permission to link the eGUI sources with independent modules to produce an
13
* executable, regardless of the license terms of these independent modules,
14
* and to copy and distribute the resulting executable under terms of your
15
* choice, provided that you also meet, for each linked independent module,
16
* the terms and conditions of the license of that module.
17
* An independent module is a module which is not derived from or based
18
* on this library.
19
* If you modify the eGUI sources, you may extend this exception
20
* to your version of the eGUI sources, but you are not obligated
21
* to do so. If you do not wish to do so, delete this
22
* exception statement from your version.
23
*
24
* This program is distributed in the hope that it will be useful,
25
* but WITHOUT ANY WARRANTY; without even the implied warranty of
26
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
27
*
28
* You should have received a copy of the GNU General Public License
29
* and the GNU Lesser General Public License along with this program.
30
* If not, see <http://www.gnu.org/licenses/>.
31
*
32
***************************************************************************/
46
#ifndef __D4DTCH_RESISTIVE_H
47
#define __D4DTCH_RESISTIVE_H
48
49
#if (D4D_MK_STR(D4D_LLD_TCH) == d4dtch_resistive_ID)
50
51
/******************************************************************************
52
* Includes
53
******************************************************************************/
54
#include "d4dtch_resistive_cfg.h"
55
56
/******************************************************************************
57
* Constants
58
******************************************************************************/
59
60
/****** Algorithm constants *****/
61
#ifndef AVERAGE_BUFF_LEN
62
#define AVERAGE_BUFF_LEN 6
63
#endif
64
65
#ifndef DELAY_NOP_CNT
66
#define DELAY_NOP_CNT 32
67
#endif
68
69
70
/******************************************************************************
71
* Types
72
******************************************************************************/
73
74
/******************************************************************************
75
* Macros
76
******************************************************************************/
77
78
/******************************************************************************
79
* Global variables
80
******************************************************************************/
81
82
/******************************************************************************
83
* Global functions
84
******************************************************************************/
85
86
#endif
87
#endif
/* __D4DTCH_RESISTIVE_H */
88
89
90
91
92
93
94
95
96
97
GIT
PRIVATE
eGUI
D4D
low_level_drivers
touch_screen
touch_screen_drivers
resistive
d4dtch_resistive.h
Generated on Thu Sep 21 2017 08:47:44 for eGUI alias D4D by
1.8.5