Logo
TIDM-CAPTIVATE-64-BUTTON Example Applications Guide  v1.00.00.00
TIDM-CAPTIVATE-64-BUTTON_IllegalTouchDetect/captivate_config/CAPT_UserConfig.h
1 /* --COPYRIGHT--,BSD
2  * Copyright (c) 2014, Texas Instruments Incorporated
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the distribution.
15  *
16  * * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  * --/COPYRIGHT--*/
32 
33 // Generated by Captivate Design Center v1_00_00_00 on Thu Oct 29 08:53:59 CDT 2015
34 
35 
36 //*****************************************************************************
37 // CAPT_UserConfig.h
38 //
41 //
44 //
45 //*****************************************************************************
46 
47 //*****************************************************************************
48 //
49 // NOTE: This is an automatically generated source code file! The Captivate
50 // Design Center generates the User Configuration file automatically based
51 // upon the sensor layout that was created.
52 //
53 // Changes to this file will be OVERWRITTEN if a you select
54 // "Update Existing Project" under "Generate Source Code" in the Design Center.
55 //
56 // To avoid interference with the code generation process, keep ALL application
57 // code external to this file.
58 //
59 //*****************************************************************************
60 
61 //*****************************************************************************
64 //*****************************************************************************
65 
66 #ifndef CAPT_USERCONFIG_H_
67 #define CAPT_USERCONFIG_H_
68 
69 #include "captivate.h"
70 
71 //
72 // Compile-Time System Configuration Definitions
73 //
74 #define CAPT_SENSOR_COUNT (1)
75 #define CAPT_INTERFACE (__CAPT_BULKI2C_INTERFACE__)
76 #define CAPT_CONDUCTED_NOISE_IMMUNITY_ENABLE (false)
77 #define CAPT_WAKEONPROX_ENABLE (false)
78 #define CAPT_WAKEONPROX_SENSOR (none)
79 
80 //
81 // Captivate Frequency Count Definitions
82 // If conducted noise is enabled, multiple
83 // frequency scanning is enabled. These definitions
84 // ensure that RAM space is set aside to store
85 // frequency specific information.
86 //
87 #if CAPT_CONDUCTED_NOISE_IMMUNITY_ENABLE
88 #define CAPT_SELF_FREQ_CNT (4)
89 #define CAPT_MUTUAL_FREQ_CNT (4)
90 #else
91 #define CAPT_SELF_FREQ_CNT (1)
92 #define CAPT_MUTUAL_FREQ_CNT (1)
93 #endif
94 
95 //*****************************************************************************
96 //
100 //
101 //*****************************************************************************
102 #define CAPT_MS_TO_CYCLES(ms) (ms << 5)
103 
104 //
105 // Captivate Sensor Prototypes
106 // These prototypes enable access to sensors
107 // from the application.
108 //
109 extern tSensor keypad64Button;
110 
111  //*****************************************************************************
112  //
116  //
117  //*****************************************************************************
118 extern tSensor* g_pCaptivateSensorArray[CAPT_SENSOR_COUNT];
119 
120 //*****************************************************************************
121 //
124 //
125 //*****************************************************************************
126 extern const tEMCConfig g_EMCConfig;
127 
128 //*****************************************************************************
129 //
132 //
133 //*****************************************************************************
134 extern tCaptivateApplication g_uiApp;
135 
136 #endif /* CAPT_USERCONFIG_H_ */
137 
138 //*****************************************************************************
141 //*****************************************************************************
tCaptivateApplication g_uiApp
Definition: TIDM-CAPTIVATE-64-BUTTON_BasicDemo/captivate_config/CAPT_UserConfig.c:1323
const tEMCConfig g_EMCConfig
Definition: TIDM-CAPTIVATE-64-BUTTON_BasicDemo/captivate_config/CAPT_UserConfig.c:1298
tSensor * g_pCaptivateSensorArray[CAPT_SENSOR_COUNT]
Definition: TIDM-CAPTIVATE-64-BUTTON_BasicDemo/captivate_config/CAPT_UserConfig.c:1285