eGUI alias D4D
Release 3.0
Reference Manual
Introduction
Pages
Reference
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
d4dtch_mcf52277_asp.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_MDF52277_ASP_H
47
#define __D4DTCH_MDF52277_ASP_H
48
49
#if (D4D_MK_STR(D4D_LLD_TCH) == d4dtch_mcf52277_asp_ID)
50
51
/******************************************************************************
52
* Includes
53
******************************************************************************/
54
#include "d4dtch_mcf52277_asp_cfg.h"
55
56
/******************************************************************************
57
* Constants
58
******************************************************************************/
59
60
/******************************************************************************
61
* Types
62
******************************************************************************/
63
64
/******************************************************************************
65
* Macros
66
******************************************************************************/
67
68
#ifndef D4DTCH_MIRROVED_X
69
#define D4DTCH_MIRROVED_X 0
70
#endif
71
72
#ifndef D4DTCH_MIRROVED_Y
73
#define D4DTCH_MIRROVED_Y 0
74
#endif
75
76
#ifndef D4DTCH_SWAP_AXES
77
#define D4DTCH_SWAP_AXES 0
78
#endif
79
80
81
#ifndef D4DTCH_ASYNCH_EVENTS
82
#define D4DTCH_ASYNCH_EVENTS 0
83
#endif
84
85
#ifndef D4DTCHHW_VECTOR_RAM
86
#define D4DTCHHW_VECTOR_RAM __VECTOR_RAM
87
#endif
88
89
/****** Algorithm constants/macros *****/
90
#ifndef D4DTCH_FULL_SCALE
91
#define D4DTCH_FULL_SCALE 0x0FFF
92
#endif
93
94
#ifndef D4DTCH_X_TOUCH_MIN
95
#define D4DTCH_X_TOUCH_MIN (D4DTCH_FULL_SCALE / 10)
96
#endif
97
98
#ifndef D4DTCH_Y_TOUCH_MIN
99
#define D4DTCH_Y_TOUCH_MIN (D4DTCH_FULL_SCALE / 10)
100
#endif
101
102
#ifndef D4DTCH_X_TOUCH_OFFMAX
103
#define D4DTCH_X_TOUCH_OFFMAX (D4DTCH_X_TOUCH_MIN * 4)
104
#endif
105
106
#ifndef D4DTCH_Y_TOUCH_OFFMAX
107
#define D4DTCH_Y_TOUCH_OFFMAX (D4DTCH_Y_TOUCH_MIN * 4)
108
#endif
109
110
#ifndef D4DTCH_SAMPLE_MARGIN
111
#define D4DTCH_SAMPLE_MARGIN (D4DTCH_FULL_SCALE / 256)
112
#endif
113
114
/******************************************************************************
115
* Global variables
116
******************************************************************************/
117
118
/******************************************************************************
119
* Global functions
120
******************************************************************************/
121
122
#endif
123
#endif
/* __D4DTCH_MDF52277_ASP_H */
124
125
126
127
128
129
130
131
132
133
GIT
PRIVATE
eGUI
D4D
low_level_drivers
touch_screen
touch_screen_drivers
mcf52277_asp
d4dtch_mcf52277_asp.h
Generated on Thu Sep 21 2017 08:47:44 for eGUI alias D4D by
1.8.5