Andrew Reed
/
CITY1082-capsense-tft
Capsense buttons and Slider, output to Serial over i2c and tft display
cycfg_capsense.h@1:cf461b359823, 2019-12-02 (annotated)
- Committer:
- reedas
- Date:
- Mon Dec 02 22:55:59 2019 +0000
- Revision:
- 1:cf461b359823
Example of Capacitive Sensitive Buttons and slider from MBED example
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
reedas | 1:cf461b359823 | 1 | /******************************************************************************* |
reedas | 1:cf461b359823 | 2 | * File Name: cycfg_capsense.h |
reedas | 1:cf461b359823 | 3 | * Version: 2.0 |
reedas | 1:cf461b359823 | 4 | * |
reedas | 1:cf461b359823 | 5 | * Description: |
reedas | 1:cf461b359823 | 6 | * CapSense middleware configuration |
reedas | 1:cf461b359823 | 7 | * This file should not be modified. It was automatically generated by |
reedas | 1:cf461b359823 | 8 | * CapSense Configurator 2.0.0 build 566 |
reedas | 1:cf461b359823 | 9 | * |
reedas | 1:cf461b359823 | 10 | ******************************************************************************** |
reedas | 1:cf461b359823 | 11 | * Copyright 2019 Cypress Semiconductor Corporation |
reedas | 1:cf461b359823 | 12 | * SPDX-License-Identifier: Apache-2.0 |
reedas | 1:cf461b359823 | 13 | * |
reedas | 1:cf461b359823 | 14 | * Licensed under the Apache License, Version 2.0 (the "License"); |
reedas | 1:cf461b359823 | 15 | * you may not use this file except in compliance with the License. |
reedas | 1:cf461b359823 | 16 | * You may obtain a copy of the License at |
reedas | 1:cf461b359823 | 17 | * |
reedas | 1:cf461b359823 | 18 | * http://www.apache.org/licenses/LICENSE-2.0 |
reedas | 1:cf461b359823 | 19 | * |
reedas | 1:cf461b359823 | 20 | * Unless required by applicable law or agreed to in writing, software |
reedas | 1:cf461b359823 | 21 | * distributed under the License is distributed on an "AS IS" BASIS, |
reedas | 1:cf461b359823 | 22 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
reedas | 1:cf461b359823 | 23 | * See the License for the specific language governing permissions and |
reedas | 1:cf461b359823 | 24 | * limitations under the License. |
reedas | 1:cf461b359823 | 25 | *******************************************************************************/ |
reedas | 1:cf461b359823 | 26 | |
reedas | 1:cf461b359823 | 27 | #if !defined(CYCFG_CAPSENSE_H) |
reedas | 1:cf461b359823 | 28 | #define CYCFG_CAPSENSE_H |
reedas | 1:cf461b359823 | 29 | |
reedas | 1:cf461b359823 | 30 | #include <stddef.h> |
reedas | 1:cf461b359823 | 31 | #include "cy_device_headers.h" |
reedas | 1:cf461b359823 | 32 | #include "cycfg_peripherals.h" |
reedas | 1:cf461b359823 | 33 | |
reedas | 1:cf461b359823 | 34 | #if (CY_CAPSENSE_CORE == __CORTEX_M) |
reedas | 1:cf461b359823 | 35 | |
reedas | 1:cf461b359823 | 36 | |
reedas | 1:cf461b359823 | 37 | #if !defined(Cmod_PORT) || !defined(Cmod_PIN) || !defined(Cmod_PORT_NUM) |
reedas | 1:cf461b359823 | 38 | #error Cmod Capacitor is not assigned: missing #define Cmod_PORT, #define Cmod_PIN, #define Cmod_PORT_NUM |
reedas | 1:cf461b359823 | 39 | #endif |
reedas | 1:cf461b359823 | 40 | |
reedas | 1:cf461b359823 | 41 | #if !defined(CintA_PORT) || !defined(CintA_PIN) || !defined(CintA_PORT_NUM) |
reedas | 1:cf461b359823 | 42 | #error CintA Capacitor is not assigned: missing #define CintA_PORT, #define CintA_PIN, #define CintA_PORT_NUM |
reedas | 1:cf461b359823 | 43 | #endif |
reedas | 1:cf461b359823 | 44 | |
reedas | 1:cf461b359823 | 45 | #if !defined(CintB_PORT) || !defined(CintB_PIN) || !defined(CintB_PORT_NUM) |
reedas | 1:cf461b359823 | 46 | #error CintB Capacitor is not assigned: missing #define CintB_PORT, #define CintB_PIN, #define CintB_PORT_NUM |
reedas | 1:cf461b359823 | 47 | #endif |
reedas | 1:cf461b359823 | 48 | |
reedas | 1:cf461b359823 | 49 | #if !defined(Button0_Rx0_PORT) || !defined(Button0_Rx0_PIN) |
reedas | 1:cf461b359823 | 50 | #error Button0_Rx0 Sensor is not assigned: missing #define Button0_Rx0_PORT, #define Button0_Rx0_PIN |
reedas | 1:cf461b359823 | 51 | #endif |
reedas | 1:cf461b359823 | 52 | |
reedas | 1:cf461b359823 | 53 | #if !defined(Button0_Tx_PORT) || !defined(Button0_Tx_PIN) |
reedas | 1:cf461b359823 | 54 | #error Button0_Tx Sensor is not assigned: missing #define Button0_Tx_PORT, #define Button0_Tx_PIN |
reedas | 1:cf461b359823 | 55 | #endif |
reedas | 1:cf461b359823 | 56 | |
reedas | 1:cf461b359823 | 57 | #if !defined(Button1_Rx0_PORT) || !defined(Button1_Rx0_PIN) |
reedas | 1:cf461b359823 | 58 | #error Button1_Rx0 Sensor is not assigned: missing #define Button1_Rx0_PORT, #define Button1_Rx0_PIN |
reedas | 1:cf461b359823 | 59 | #endif |
reedas | 1:cf461b359823 | 60 | |
reedas | 1:cf461b359823 | 61 | #if !defined(Button1_Tx_PORT) || !defined(Button1_Tx_PIN) |
reedas | 1:cf461b359823 | 62 | #error Button1_Tx Sensor is not assigned: missing #define Button1_Tx_PORT, #define Button1_Tx_PIN |
reedas | 1:cf461b359823 | 63 | #endif |
reedas | 1:cf461b359823 | 64 | |
reedas | 1:cf461b359823 | 65 | #if !defined(LinearSlider0_Sns0_PORT) || !defined(LinearSlider0_Sns0_PIN) |
reedas | 1:cf461b359823 | 66 | #error LinearSlider0_Sns0 Sensor is not assigned: missing #define LinearSlider0_Sns0_PORT, #define LinearSlider0_Sns0_PIN |
reedas | 1:cf461b359823 | 67 | #endif |
reedas | 1:cf461b359823 | 68 | |
reedas | 1:cf461b359823 | 69 | #if !defined(LinearSlider0_Sns1_PORT) || !defined(LinearSlider0_Sns1_PIN) |
reedas | 1:cf461b359823 | 70 | #error LinearSlider0_Sns1 Sensor is not assigned: missing #define LinearSlider0_Sns1_PORT, #define LinearSlider0_Sns1_PIN |
reedas | 1:cf461b359823 | 71 | #endif |
reedas | 1:cf461b359823 | 72 | |
reedas | 1:cf461b359823 | 73 | #if !defined(LinearSlider0_Sns2_PORT) || !defined(LinearSlider0_Sns2_PIN) |
reedas | 1:cf461b359823 | 74 | #error LinearSlider0_Sns2 Sensor is not assigned: missing #define LinearSlider0_Sns2_PORT, #define LinearSlider0_Sns2_PIN |
reedas | 1:cf461b359823 | 75 | #endif |
reedas | 1:cf461b359823 | 76 | |
reedas | 1:cf461b359823 | 77 | #if !defined(LinearSlider0_Sns3_PORT) || !defined(LinearSlider0_Sns3_PIN) |
reedas | 1:cf461b359823 | 78 | #error LinearSlider0_Sns3 Sensor is not assigned: missing #define LinearSlider0_Sns3_PORT, #define LinearSlider0_Sns3_PIN |
reedas | 1:cf461b359823 | 79 | #endif |
reedas | 1:cf461b359823 | 80 | |
reedas | 1:cf461b359823 | 81 | #if !defined(LinearSlider0_Sns4_PORT) || !defined(LinearSlider0_Sns4_PIN) |
reedas | 1:cf461b359823 | 82 | #error LinearSlider0_Sns4 Sensor is not assigned: missing #define LinearSlider0_Sns4_PORT, #define LinearSlider0_Sns4_PIN |
reedas | 1:cf461b359823 | 83 | #endif |
reedas | 1:cf461b359823 | 84 | |
reedas | 1:cf461b359823 | 85 | #if !defined(CY_CAPSENSE_CPU_CLK) |
reedas | 1:cf461b359823 | 86 | #error CPU clock frequency is not set: missing #define CY_CAPSENSE_CPU_CLK |
reedas | 1:cf461b359823 | 87 | #endif |
reedas | 1:cf461b359823 | 88 | |
reedas | 1:cf461b359823 | 89 | #if !defined(CY_CAPSENSE_PERI_CLK) |
reedas | 1:cf461b359823 | 90 | #error Peripheral clock core is not set: missing #define CY_CAPSENSE_PERI_CLK |
reedas | 1:cf461b359823 | 91 | #endif |
reedas | 1:cf461b359823 | 92 | |
reedas | 1:cf461b359823 | 93 | #if !defined(CY_CAPSENSE_VDDA_MV) |
reedas | 1:cf461b359823 | 94 | #error VDDA voltage is not set: missing #define CY_CAPSENSE_VDDA_MV |
reedas | 1:cf461b359823 | 95 | #endif |
reedas | 1:cf461b359823 | 96 | |
reedas | 1:cf461b359823 | 97 | #if !defined(CY_CAPSENSE_PERI_DIV_TYPE) |
reedas | 1:cf461b359823 | 98 | #error Peripheral clock divider type is not set: missing #define CY_CAPSENSE_PERI_DIV_TYPE |
reedas | 1:cf461b359823 | 99 | #endif |
reedas | 1:cf461b359823 | 100 | |
reedas | 1:cf461b359823 | 101 | #if !defined(CY_CAPSENSE_PERI_DIV_INDEX) |
reedas | 1:cf461b359823 | 102 | #error Peripheral clock divider index is not set: missing #define CY_CAPSENSE_PERI_DIV_INDEX |
reedas | 1:cf461b359823 | 103 | #endif |
reedas | 1:cf461b359823 | 104 | |
reedas | 1:cf461b359823 | 105 | |
reedas | 1:cf461b359823 | 106 | |
reedas | 1:cf461b359823 | 107 | #include "cy_capsense.h" |
reedas | 1:cf461b359823 | 108 | |
reedas | 1:cf461b359823 | 109 | #if defined(__cplusplus) |
reedas | 1:cf461b359823 | 110 | extern "C" { |
reedas | 1:cf461b359823 | 111 | #endif |
reedas | 1:cf461b359823 | 112 | |
reedas | 1:cf461b359823 | 113 | /*Widget names */ |
reedas | 1:cf461b359823 | 114 | #define CY_CAPSENSE_BUTTON0_WDGT_ID (0u) |
reedas | 1:cf461b359823 | 115 | #define CY_CAPSENSE_BUTTON1_WDGT_ID (1u) |
reedas | 1:cf461b359823 | 116 | #define CY_CAPSENSE_LINEARSLIDER0_WDGT_ID (2u) |
reedas | 1:cf461b359823 | 117 | |
reedas | 1:cf461b359823 | 118 | /* Button0 sensor names */ |
reedas | 1:cf461b359823 | 119 | #define CY_CAPSENSE_BUTTON0_SNS0_ID (0u) |
reedas | 1:cf461b359823 | 120 | |
reedas | 1:cf461b359823 | 121 | /* Button0 node names */ |
reedas | 1:cf461b359823 | 122 | #define CY_CAPSENSE_BUTTON0_RX0_TX0_ID (0u) |
reedas | 1:cf461b359823 | 123 | |
reedas | 1:cf461b359823 | 124 | /* Button0 sensor element IDs */ |
reedas | 1:cf461b359823 | 125 | #define CY_CAPSENSE_BUTTON0_RX0_ID (0u) |
reedas | 1:cf461b359823 | 126 | #define CY_CAPSENSE_BUTTON0_TX0_ID (1u) |
reedas | 1:cf461b359823 | 127 | |
reedas | 1:cf461b359823 | 128 | /* Button1 sensor names */ |
reedas | 1:cf461b359823 | 129 | #define CY_CAPSENSE_BUTTON1_SNS0_ID (0u) |
reedas | 1:cf461b359823 | 130 | |
reedas | 1:cf461b359823 | 131 | /* Button1 node names */ |
reedas | 1:cf461b359823 | 132 | #define CY_CAPSENSE_BUTTON1_RX0_TX0_ID (0u) |
reedas | 1:cf461b359823 | 133 | |
reedas | 1:cf461b359823 | 134 | /* Button1 sensor element IDs */ |
reedas | 1:cf461b359823 | 135 | #define CY_CAPSENSE_BUTTON1_RX0_ID (0u) |
reedas | 1:cf461b359823 | 136 | #define CY_CAPSENSE_BUTTON1_TX0_ID (1u) |
reedas | 1:cf461b359823 | 137 | |
reedas | 1:cf461b359823 | 138 | /* LinearSlider0 sensor names */ |
reedas | 1:cf461b359823 | 139 | #define CY_CAPSENSE_LINEARSLIDER0_SNS0_ID (0u) |
reedas | 1:cf461b359823 | 140 | #define CY_CAPSENSE_LINEARSLIDER0_SNS1_ID (1u) |
reedas | 1:cf461b359823 | 141 | #define CY_CAPSENSE_LINEARSLIDER0_SNS2_ID (2u) |
reedas | 1:cf461b359823 | 142 | #define CY_CAPSENSE_LINEARSLIDER0_SNS3_ID (3u) |
reedas | 1:cf461b359823 | 143 | #define CY_CAPSENSE_LINEARSLIDER0_SNS4_ID (4u) |
reedas | 1:cf461b359823 | 144 | |
reedas | 1:cf461b359823 | 145 | /* Sensing Methods */ |
reedas | 1:cf461b359823 | 146 | #define CY_CAPSENSE_CSD_EN (1u) |
reedas | 1:cf461b359823 | 147 | #define CY_CAPSENSE_CSX_EN (1u) |
reedas | 1:cf461b359823 | 148 | #define CY_CAPSENSE_CSD_CALIBRATION_EN (1u) |
reedas | 1:cf461b359823 | 149 | #define CY_CAPSENSE_CSX_CALIBRATION_EN (1u) |
reedas | 1:cf461b359823 | 150 | #define CY_CAPSENSE_SMARTSENSE_FULL_EN (0u) |
reedas | 1:cf461b359823 | 151 | #define CY_CAPSENSE_SMARTSENSE_HW_EN (0u) |
reedas | 1:cf461b359823 | 152 | #define CY_CAPSENSE_SMARTSENSE_DISABLED (1u) |
reedas | 1:cf461b359823 | 153 | #define CY_CAPSENSE_CSD_SHIELD_EN (0u) |
reedas | 1:cf461b359823 | 154 | #define CY_CAPSENSE_CSD_SHIELD_CAP_EN (0u) |
reedas | 1:cf461b359823 | 155 | |
reedas | 1:cf461b359823 | 156 | /* Filtering */ |
reedas | 1:cf461b359823 | 157 | #define CY_CAPSENSE_ADAPTIVE_FILTER_EN (0u) |
reedas | 1:cf461b359823 | 158 | #define CY_CAPSENSE_BALLISTIC_MULTIPLIER_EN (0u) |
reedas | 1:cf461b359823 | 159 | #define CY_CAPSENSE_RAWCOUNT_FILTER_EN (0u) |
reedas | 1:cf461b359823 | 160 | #define CY_CAPSENSE_POSITION_FILTER_EN (1u) |
reedas | 1:cf461b359823 | 161 | #define CY_CAPSENSE_CSD_POSITION_FILTER_EN (1u) |
reedas | 1:cf461b359823 | 162 | #define CY_CAPSENSE_CSX_POSITION_FILTER_EN (0u) |
reedas | 1:cf461b359823 | 163 | |
reedas | 1:cf461b359823 | 164 | /* Widgets */ |
reedas | 1:cf461b359823 | 165 | #define CY_CAPSENSE_CSD_BUTTON_EN (0u) |
reedas | 1:cf461b359823 | 166 | #define CY_CAPSENSE_CSD_MATRIX_EN (0u) |
reedas | 1:cf461b359823 | 167 | #define CY_CAPSENSE_CSD_SLIDER_EN (1u) |
reedas | 1:cf461b359823 | 168 | #define CY_CAPSENSE_CSD_TOUCHPAD_EN (0u) |
reedas | 1:cf461b359823 | 169 | #define CY_CAPSENSE_CSD_PROXIMITY_EN (0u) |
reedas | 1:cf461b359823 | 170 | #define CY_CAPSENSE_CSX_BUTTON_EN (1u) |
reedas | 1:cf461b359823 | 171 | #define CY_CAPSENSE_CSX_MATRIX_EN (0u) |
reedas | 1:cf461b359823 | 172 | #define CY_CAPSENSE_CSX_TOUCHPAD_EN (0u) |
reedas | 1:cf461b359823 | 173 | #define CY_CAPSENSE_ADVANCED_CENTROID_5X5_EN (0u) |
reedas | 1:cf461b359823 | 174 | #define CY_CAPSENSE_CSD_LINEAR_SLIDER_EN (1u) |
reedas | 1:cf461b359823 | 175 | #define CY_CAPSENSE_CSD_RADIAL_SLIDER_EN (0u) |
reedas | 1:cf461b359823 | 176 | #define CY_CAPSENSE_CSD_DIPLEX_SLIDER_EN (0u) |
reedas | 1:cf461b359823 | 177 | |
reedas | 1:cf461b359823 | 178 | /* Features */ |
reedas | 1:cf461b359823 | 179 | #define CY_CAPSENSE_GESTURE_EN (0u) |
reedas | 1:cf461b359823 | 180 | #define CY_CAPSENSE_MULTI_FREQUENCY_SCAN_EN (0u) |
reedas | 1:cf461b359823 | 181 | #define CY_CAPSENSE_SNS_AUTO_RESET_EN (0u) |
reedas | 1:cf461b359823 | 182 | |
reedas | 1:cf461b359823 | 183 | typedef struct { |
reedas | 1:cf461b359823 | 184 | cy_stc_capsense_common_context_t commonContext; |
reedas | 1:cf461b359823 | 185 | cy_stc_capsense_widget_context_t widgetContext[3]; |
reedas | 1:cf461b359823 | 186 | cy_stc_capsense_sensor_context_t sensorContext[7]; |
reedas | 1:cf461b359823 | 187 | cy_stc_capsense_position_t position[1]; |
reedas | 1:cf461b359823 | 188 | } cy_stc_capsense_tuner_t; |
reedas | 1:cf461b359823 | 189 | |
reedas | 1:cf461b359823 | 190 | extern cy_stc_capsense_tuner_t cy_capsense_tuner; |
reedas | 1:cf461b359823 | 191 | |
reedas | 1:cf461b359823 | 192 | extern cy_stc_capsense_context_t cy_capsense_context; |
reedas | 1:cf461b359823 | 193 | |
reedas | 1:cf461b359823 | 194 | /* |
reedas | 1:cf461b359823 | 195 | CAPSENSE_CONFIG_START |
reedas | 1:cf461b359823 | 196 | <?xml version="1.0"?> |
reedas | 1:cf461b359823 | 197 | <Configuration major="1" minor="1"> |
reedas | 1:cf461b359823 | 198 | <GeneralProperties> |
reedas | 1:cf461b359823 | 199 | <Property id="REGULAR_RC_IIR_FILTER_EN" value="false"/> |
reedas | 1:cf461b359823 | 200 | <Property id="REGULAR_IIR_RC_N" value="128"/> |
reedas | 1:cf461b359823 | 201 | <Property id="REGULAR_RC_MEDIAN_FILTER_EN" value="false"/> |
reedas | 1:cf461b359823 | 202 | <Property id="REGULAR_RC_AVERAGE_FILTER_EN" value="false"/> |
reedas | 1:cf461b359823 | 203 | <Property id="REGULAR_RC_AVERAGE_SAMPLE_SIZE" value="SAMPLE_4"/> |
reedas | 1:cf461b359823 | 204 | <Property id="PROX_RC_IIR_FILTER_EN" value="false"/> |
reedas | 1:cf461b359823 | 205 | <Property id="PROX_IIR_RC_N" value="128"/> |
reedas | 1:cf461b359823 | 206 | <Property id="PROX_RC_MEDIAN_FILTER_EN" value="false"/> |
reedas | 1:cf461b359823 | 207 | <Property id="PROX_RC_AVERAGE_FILTER_EN" value="false"/> |
reedas | 1:cf461b359823 | 208 | <Property id="PROX_RC_AVERAGE_SAMPLE_SIZE" value="SAMPLE_4"/> |
reedas | 1:cf461b359823 | 209 | <Property id="REGULAR_IIR_BL_N" value="1"/> |
reedas | 1:cf461b359823 | 210 | <Property id="REGULAR_IIR_BL_TYPE" value="PERFORMANCE"/> |
reedas | 1:cf461b359823 | 211 | <Property id="PROX_IIR_BL_N" value="1"/> |
reedas | 1:cf461b359823 | 212 | <Property id="PROX_IIR_BL_TYPE" value="PERFORMANCE"/> |
reedas | 1:cf461b359823 | 213 | <Property id="MULTI_FREQ_SCAN_EN" value="false"/> |
reedas | 1:cf461b359823 | 214 | <Property id="SENSOR_AUTO_RESET_EN" value="false"/> |
reedas | 1:cf461b359823 | 215 | <Property id="SLIDER_MULTIPLIER" value="SNS_NUM_MINUS_1"/> |
reedas | 1:cf461b359823 | 216 | <Property id="TOUCHPAD_MULTIPLIER" value="SNS_NUM_MINUS_1"/> |
reedas | 1:cf461b359823 | 217 | <Property id="BLOCK_ANALOG_WAKEUP_DELAY_US" value="25"/> |
reedas | 1:cf461b359823 | 218 | <Property id="VREF_SOURCE" value="SRSS"/> |
reedas | 1:cf461b359823 | 219 | <Property id="IREF_SOURCE" value="SRSS"/> |
reedas | 1:cf461b359823 | 220 | <Property id="PROX_TOUCH_COEFF" value="300"/> |
reedas | 1:cf461b359823 | 221 | <Property id="NUM_CENTROIDS" value="1"/> |
reedas | 1:cf461b359823 | 222 | </GeneralProperties> |
reedas | 1:cf461b359823 | 223 | <CsdProperties> |
reedas | 1:cf461b359823 | 224 | <Property id="CSD_AUTOTUNE" value="DISABLE"/> |
reedas | 1:cf461b359823 | 225 | <Property id="CSD_MOD_CLK_DIVIDER" value="1"/> |
reedas | 1:cf461b359823 | 226 | <Property id="CSD_INACTIVE_SNS_CONNECTION" value="GROUND"/> |
reedas | 1:cf461b359823 | 227 | <Property id="CSD_CHARGE_TRANSFER" value="SOURCING"/> |
reedas | 1:cf461b359823 | 228 | <Property id="CSD_IDAC_GAIN_INIT" value="4"/> |
reedas | 1:cf461b359823 | 229 | <Property id="CSD_IDAC_ROW_COL_ALIGN_EN" value="true"/> |
reedas | 1:cf461b359823 | 230 | <Property id="CSD_IDAC_AUTOCAL_EN" value="true"/> |
reedas | 1:cf461b359823 | 231 | <Property id="CSD_IDAC_AUTOGAIN_EN" value="true"/> |
reedas | 1:cf461b359823 | 232 | <Property id="CSD_IDAC_GAIN_INDEX" value="4"/> |
reedas | 1:cf461b359823 | 233 | <Property id="CSD_IDAC_MIN" value="20"/> |
reedas | 1:cf461b359823 | 234 | <Property id="CSD_IDAC_COMP_EN" value="true"/> |
reedas | 1:cf461b359823 | 235 | <Property id="CSD_RAWCOUNT_CAL_LEVEL" value="85"/> |
reedas | 1:cf461b359823 | 236 | <Property id="CSD_VREF_CUSTOM" value="false"/> |
reedas | 1:cf461b359823 | 237 | <Property id="CSD_VREF" value="1219"/> |
reedas | 1:cf461b359823 | 238 | <Property id="CSD_SHIELD_EN" value="false"/> |
reedas | 1:cf461b359823 | 239 | <Property id="CSD_SHIELD_TANK_EN" value="false"/> |
reedas | 1:cf461b359823 | 240 | <Property id="CSD_SHIELD_DELAY" value="DELAY_0NS"/> |
reedas | 1:cf461b359823 | 241 | <Property id="CSD_TOTAL_SHIELD_COUNT" value="1"/> |
reedas | 1:cf461b359823 | 242 | <Property id="CSD_INIT_SWITCH_RES" value="MEDIUM"/> |
reedas | 1:cf461b359823 | 243 | <Property id="CSD_SHIELD_SWITCH_RES" value="MEDIUM"/> |
reedas | 1:cf461b359823 | 244 | <Property id="CSD_FINE_INIT_TIME" value="10"/> |
reedas | 1:cf461b359823 | 245 | <Property id="CSD_CALIBRATION_ERROR" value="10"/> |
reedas | 1:cf461b359823 | 246 | <Property id="CSD_R_CONST" value="1000"/> |
reedas | 1:cf461b359823 | 247 | <Property id="CSD_MFS_DIVIDER_OFFSET_F1" value="1"/> |
reedas | 1:cf461b359823 | 248 | <Property id="CSD_MFS_DIVIDER_OFFSET_F2" value="2"/> |
reedas | 1:cf461b359823 | 249 | </CsdProperties> |
reedas | 1:cf461b359823 | 250 | <CsxProperties> |
reedas | 1:cf461b359823 | 251 | <Property id="CSX_MOD_CLK_DIVIDER" value="1"/> |
reedas | 1:cf461b359823 | 252 | <Property id="CSX_MAX_FINGERS" value="1"/> |
reedas | 1:cf461b359823 | 253 | <Property id="CSX_IDAC_GAIN" value="MEDIUM"/> |
reedas | 1:cf461b359823 | 254 | <Property id="CSX_IDAC_AUTOCAL_EN" value="true"/> |
reedas | 1:cf461b359823 | 255 | <Property id="CSX_RAWCOUNT_CAL_LEVEL" value="85"/> |
reedas | 1:cf461b359823 | 256 | <Property id="CSX_INIT_SWITCH_RES" value="MEDIUM"/> |
reedas | 1:cf461b359823 | 257 | <Property id="CSX_SCAN_SWITCH_RES" value="MEDIUM"/> |
reedas | 1:cf461b359823 | 258 | <Property id="CSX_INIT_SHIELD_SWITCH_RES" value="MEDIUM"/> |
reedas | 1:cf461b359823 | 259 | <Property id="CSX_SCAN_SHIELD_SWITCH_RES" value="MEDIUM"/> |
reedas | 1:cf461b359823 | 260 | <Property id="CSX_FINE_INIT_TIME" value="10"/> |
reedas | 1:cf461b359823 | 261 | <Property id="CSX_CALIBRATION_ERROR" value="20"/> |
reedas | 1:cf461b359823 | 262 | <Property id="CSX_MFS_DIVIDER_OFFSET_F1" value="1"/> |
reedas | 1:cf461b359823 | 263 | <Property id="CSX_MFS_DIVIDER_OFFSET_F2" value="2"/> |
reedas | 1:cf461b359823 | 264 | </CsxProperties> |
reedas | 1:cf461b359823 | 265 | <Widgets> |
reedas | 1:cf461b359823 | 266 | <Widget id="Button0" type="CSX_BUTTON"> |
reedas | 1:cf461b359823 | 267 | <WidgetProperties> |
reedas | 1:cf461b359823 | 268 | <Property id="DIPLEXING" value="false"/> |
reedas | 1:cf461b359823 | 269 | <Property id="MAX_POS_X" value="100"/> |
reedas | 1:cf461b359823 | 270 | <Property id="MAX_POS_Y" value="100"/> |
reedas | 1:cf461b359823 | 271 | <Property id="FINGER_CP" value="0.3"/> |
reedas | 1:cf461b359823 | 272 | <Property id="SNS_CLK" value="2"/> |
reedas | 1:cf461b359823 | 273 | <Property id="SNS_CLK_FREQ" value=""/> |
reedas | 1:cf461b359823 | 274 | <Property id="ROW_SNS_CLK" value="2"/> |
reedas | 1:cf461b359823 | 275 | <Property id="ROW_SNS_CLK_FREQ" value=""/> |
reedas | 1:cf461b359823 | 276 | <Property id="SNS_CLK_SOURCE" value="DIRECT"/> |
reedas | 1:cf461b359823 | 277 | <Property id="TX_CLK" value="80"/> |
reedas | 1:cf461b359823 | 278 | <Property id="TX_CLK_FREQ" value=""/> |
reedas | 1:cf461b359823 | 279 | <Property id="TX_CLK_SOURCE" value="AUTO"/> |
reedas | 1:cf461b359823 | 280 | <Property id="RESOLUTION" value="RES12BIT"/> |
reedas | 1:cf461b359823 | 281 | <Property id="NUM_CONV" value="100"/> |
reedas | 1:cf461b359823 | 282 | <Property id="IDAC_MOD0" value="32"/> |
reedas | 1:cf461b359823 | 283 | <Property id="IDAC_MOD1" value="32"/> |
reedas | 1:cf461b359823 | 284 | <Property id="IDAC_MOD2" value="32"/> |
reedas | 1:cf461b359823 | 285 | <Property id="ROW_IDAC_MOD0" value="32"/> |
reedas | 1:cf461b359823 | 286 | <Property id="ROW_IDAC_MOD1" value="32"/> |
reedas | 1:cf461b359823 | 287 | <Property id="ROW_IDAC_MOD2" value="32"/> |
reedas | 1:cf461b359823 | 288 | <Property id="FINGER_TH" value="90"/> |
reedas | 1:cf461b359823 | 289 | <Property id="PROX_TOUCH_TH" value="200"/> |
reedas | 1:cf461b359823 | 290 | <Property id="NOISE_TH" value="40"/> |
reedas | 1:cf461b359823 | 291 | <Property id="NNOISE_TH" value="40"/> |
reedas | 1:cf461b359823 | 292 | <Property id="LOW_BSLN_RST" value="30"/> |
reedas | 1:cf461b359823 | 293 | <Property id="HYSTERESIS" value="20"/> |
reedas | 1:cf461b359823 | 294 | <Property id="ON_DEBOUNCE" value="3"/> |
reedas | 1:cf461b359823 | 295 | <Property id="VELOCITY" value="2500"/> |
reedas | 1:cf461b359823 | 296 | <Property id="IIR_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 297 | <Property id="IIR_FILTER_COEFF" value="128"/> |
reedas | 1:cf461b359823 | 298 | <Property id="MEDIAN_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 299 | <Property id="AVG_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 300 | <Property id="JITTER_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 301 | <Property id="AIIR_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 302 | <Property id="AIIR_NO_MOV_TH" value="3"/> |
reedas | 1:cf461b359823 | 303 | <Property id="AIIR_LITTLE_MOV_TH" value="7"/> |
reedas | 1:cf461b359823 | 304 | <Property id="AIIR_LARGE_MOV_TH" value="12"/> |
reedas | 1:cf461b359823 | 305 | <Property id="AIIR_MAXK" value="60"/> |
reedas | 1:cf461b359823 | 306 | <Property id="AIIR_MINK" value="1"/> |
reedas | 1:cf461b359823 | 307 | <Property id="AIIR_DIV_VAL" value="64"/> |
reedas | 1:cf461b359823 | 308 | <Property id="CENTROID_TYPE" value="CSD3X3"/> |
reedas | 1:cf461b359823 | 309 | <Property id="CROSS_COUPLING_POS_TH" value="5"/> |
reedas | 1:cf461b359823 | 310 | <Property id="EDGE_CORRECTION" value="true"/> |
reedas | 1:cf461b359823 | 311 | <Property id="EDGE_VIRTUAL_SENSOR_TH" value="100"/> |
reedas | 1:cf461b359823 | 312 | <Property id="EDGE_PENULTIMATE_TH" value="100"/> |
reedas | 1:cf461b359823 | 313 | <Property id="TWO_FINGER_DETECTION" value="false"/> |
reedas | 1:cf461b359823 | 314 | <Property id="ACCEL_COEFF" value="9"/> |
reedas | 1:cf461b359823 | 315 | <Property id="SPEED_COEFF" value="2"/> |
reedas | 1:cf461b359823 | 316 | <Property id="DIVISOR" value="4"/> |
reedas | 1:cf461b359823 | 317 | <Property id="SPEED_TH_X" value="3"/> |
reedas | 1:cf461b359823 | 318 | <Property id="SPEED_TH_Y" value="4"/> |
reedas | 1:cf461b359823 | 319 | <Property id="BALLISTIC_MULT" value="false"/> |
reedas | 1:cf461b359823 | 320 | <Property id="GESTURE_ENABLE" value="false"/> |
reedas | 1:cf461b359823 | 321 | <Property id="GESTURE_1F_SINGLE_CLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 322 | <Property id="GESTURE_1F_DOUBLE_CLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 323 | <Property id="GESTURE_1F_CLICK_DRAG_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 324 | <Property id="GESTURE_2F_SINGLE_CLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 325 | <Property id="GESTURE_1F_SCROLL_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 326 | <Property id="GESTURE_2F_SCROLL_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 327 | <Property id="GESTURE_1F_EDGE_SWIPE_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 328 | <Property id="GESTURE_1F_FLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 329 | <Property id="GESTURE_1F_ROTATE_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 330 | <Property id="GESTURE_2F_ZOOM_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 331 | <Property id="GESTURE_FILTERING_ENABLE" value="false"/> |
reedas | 1:cf461b359823 | 332 | <Property id="CLICK_TIMEOUT_MAX" value="1000"/> |
reedas | 1:cf461b359823 | 333 | <Property id="CLICK_TIMEOUT_MIN" value="0"/> |
reedas | 1:cf461b359823 | 334 | <Property id="CLICK_DISTANCE_MAX" value="100"/> |
reedas | 1:cf461b359823 | 335 | <Property id="SECOND_CLICK_INTERVAL_MAX" value="1000"/> |
reedas | 1:cf461b359823 | 336 | <Property id="SECOND_CLICK_INTERVAL_MIN" value="0"/> |
reedas | 1:cf461b359823 | 337 | <Property id="SECOND_CLICK_DISTANCE_MAX" value="100"/> |
reedas | 1:cf461b359823 | 338 | <Property id="SCROLL_DEBOUNCE" value="3"/> |
reedas | 1:cf461b359823 | 339 | <Property id="SCROLL_DISTANCE_MIN" value="20"/> |
reedas | 1:cf461b359823 | 340 | <Property id="ROTATE_DEBOUNCE" value="10"/> |
reedas | 1:cf461b359823 | 341 | <Property id="ROTATE_DISTANCE_MIN" value="50"/> |
reedas | 1:cf461b359823 | 342 | <Property id="ZOOM_DEBOUNCE" value="3"/> |
reedas | 1:cf461b359823 | 343 | <Property id="ZOOM_DISTANCE_MIN" value="50"/> |
reedas | 1:cf461b359823 | 344 | <Property id="FLICK_TIMEOUT_MAX" value="300"/> |
reedas | 1:cf461b359823 | 345 | <Property id="FLICK_DISTANCE_MIN" value="100"/> |
reedas | 1:cf461b359823 | 346 | <Property id="EDGE_EDGE_SIZE" value="200"/> |
reedas | 1:cf461b359823 | 347 | <Property id="EDGE_DISTANCE_MIN" value="200"/> |
reedas | 1:cf461b359823 | 348 | <Property id="EDGE_TIMEOUT_MAX" value="2000"/> |
reedas | 1:cf461b359823 | 349 | <Property id="EDGE_ANGLE_MAX" value="45"/> |
reedas | 1:cf461b359823 | 350 | </WidgetProperties> |
reedas | 1:cf461b359823 | 351 | <Electrodes> |
reedas | 1:cf461b359823 | 352 | <Electrode id="Rx0" kind="Column"> |
reedas | 1:cf461b359823 | 353 | <ElectrodeProperties> |
reedas | 1:cf461b359823 | 354 | <Property id="IDAC0" value="32"/> |
reedas | 1:cf461b359823 | 355 | <Property id="IDAC1" value="32"/> |
reedas | 1:cf461b359823 | 356 | <Property id="IDAC2" value="32"/> |
reedas | 1:cf461b359823 | 357 | <Property id="PINS" value="Dedicated pin"/> |
reedas | 1:cf461b359823 | 358 | </ElectrodeProperties> |
reedas | 1:cf461b359823 | 359 | </Electrode> |
reedas | 1:cf461b359823 | 360 | <Electrode id="Tx" kind="Row"> |
reedas | 1:cf461b359823 | 361 | <ElectrodeProperties> |
reedas | 1:cf461b359823 | 362 | <Property id="IDAC0" value="32"/> |
reedas | 1:cf461b359823 | 363 | <Property id="IDAC1" value="32"/> |
reedas | 1:cf461b359823 | 364 | <Property id="IDAC2" value="32"/> |
reedas | 1:cf461b359823 | 365 | <Property id="PINS" value="Dedicated pin"/> |
reedas | 1:cf461b359823 | 366 | </ElectrodeProperties> |
reedas | 1:cf461b359823 | 367 | </Electrode> |
reedas | 1:cf461b359823 | 368 | </Electrodes> |
reedas | 1:cf461b359823 | 369 | </Widget> |
reedas | 1:cf461b359823 | 370 | <Widget id="Button1" type="CSX_BUTTON"> |
reedas | 1:cf461b359823 | 371 | <WidgetProperties> |
reedas | 1:cf461b359823 | 372 | <Property id="DIPLEXING" value="false"/> |
reedas | 1:cf461b359823 | 373 | <Property id="MAX_POS_X" value="300"/> |
reedas | 1:cf461b359823 | 374 | <Property id="MAX_POS_Y" value="300"/> |
reedas | 1:cf461b359823 | 375 | <Property id="FINGER_CP" value="0.16"/> |
reedas | 1:cf461b359823 | 376 | <Property id="SNS_CLK" value="16"/> |
reedas | 1:cf461b359823 | 377 | <Property id="SNS_CLK_FREQ" value=""/> |
reedas | 1:cf461b359823 | 378 | <Property id="ROW_SNS_CLK" value="16"/> |
reedas | 1:cf461b359823 | 379 | <Property id="ROW_SNS_CLK_FREQ" value=""/> |
reedas | 1:cf461b359823 | 380 | <Property id="SNS_CLK_SOURCE" value="AUTO"/> |
reedas | 1:cf461b359823 | 381 | <Property id="TX_CLK" value="80"/> |
reedas | 1:cf461b359823 | 382 | <Property id="TX_CLK_FREQ" value=""/> |
reedas | 1:cf461b359823 | 383 | <Property id="TX_CLK_SOURCE" value="AUTO"/> |
reedas | 1:cf461b359823 | 384 | <Property id="RESOLUTION" value="RES12BIT"/> |
reedas | 1:cf461b359823 | 385 | <Property id="NUM_CONV" value="100"/> |
reedas | 1:cf461b359823 | 386 | <Property id="IDAC_MOD0" value="32"/> |
reedas | 1:cf461b359823 | 387 | <Property id="IDAC_MOD1" value="32"/> |
reedas | 1:cf461b359823 | 388 | <Property id="IDAC_MOD2" value="32"/> |
reedas | 1:cf461b359823 | 389 | <Property id="ROW_IDAC_MOD0" value="32"/> |
reedas | 1:cf461b359823 | 390 | <Property id="ROW_IDAC_MOD1" value="32"/> |
reedas | 1:cf461b359823 | 391 | <Property id="ROW_IDAC_MOD2" value="32"/> |
reedas | 1:cf461b359823 | 392 | <Property id="FINGER_TH" value="90"/> |
reedas | 1:cf461b359823 | 393 | <Property id="PROX_TOUCH_TH" value="200"/> |
reedas | 1:cf461b359823 | 394 | <Property id="NOISE_TH" value="40"/> |
reedas | 1:cf461b359823 | 395 | <Property id="NNOISE_TH" value="40"/> |
reedas | 1:cf461b359823 | 396 | <Property id="LOW_BSLN_RST" value="30"/> |
reedas | 1:cf461b359823 | 397 | <Property id="HYSTERESIS" value="20"/> |
reedas | 1:cf461b359823 | 398 | <Property id="ON_DEBOUNCE" value="3"/> |
reedas | 1:cf461b359823 | 399 | <Property id="VELOCITY" value="45000"/> |
reedas | 1:cf461b359823 | 400 | <Property id="IIR_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 401 | <Property id="IIR_FILTER_COEFF" value="128"/> |
reedas | 1:cf461b359823 | 402 | <Property id="MEDIAN_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 403 | <Property id="AVG_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 404 | <Property id="JITTER_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 405 | <Property id="AIIR_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 406 | <Property id="AIIR_NO_MOV_TH" value="3"/> |
reedas | 1:cf461b359823 | 407 | <Property id="AIIR_LITTLE_MOV_TH" value="7"/> |
reedas | 1:cf461b359823 | 408 | <Property id="AIIR_LARGE_MOV_TH" value="12"/> |
reedas | 1:cf461b359823 | 409 | <Property id="AIIR_MAXK" value="60"/> |
reedas | 1:cf461b359823 | 410 | <Property id="AIIR_MINK" value="1"/> |
reedas | 1:cf461b359823 | 411 | <Property id="AIIR_DIV_VAL" value="64"/> |
reedas | 1:cf461b359823 | 412 | <Property id="CENTROID_TYPE" value="CSD3X3"/> |
reedas | 1:cf461b359823 | 413 | <Property id="CROSS_COUPLING_POS_TH" value="5"/> |
reedas | 1:cf461b359823 | 414 | <Property id="EDGE_CORRECTION" value="true"/> |
reedas | 1:cf461b359823 | 415 | <Property id="EDGE_VIRTUAL_SENSOR_TH" value="100"/> |
reedas | 1:cf461b359823 | 416 | <Property id="EDGE_PENULTIMATE_TH" value="100"/> |
reedas | 1:cf461b359823 | 417 | <Property id="TWO_FINGER_DETECTION" value="false"/> |
reedas | 1:cf461b359823 | 418 | <Property id="ACCEL_COEFF" value="9"/> |
reedas | 1:cf461b359823 | 419 | <Property id="SPEED_COEFF" value="2"/> |
reedas | 1:cf461b359823 | 420 | <Property id="DIVISOR" value="4"/> |
reedas | 1:cf461b359823 | 421 | <Property id="SPEED_TH_X" value="3"/> |
reedas | 1:cf461b359823 | 422 | <Property id="SPEED_TH_Y" value="4"/> |
reedas | 1:cf461b359823 | 423 | <Property id="BALLISTIC_MULT" value="false"/> |
reedas | 1:cf461b359823 | 424 | <Property id="GESTURE_ENABLE" value="false"/> |
reedas | 1:cf461b359823 | 425 | <Property id="GESTURE_1F_SINGLE_CLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 426 | <Property id="GESTURE_1F_DOUBLE_CLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 427 | <Property id="GESTURE_1F_CLICK_DRAG_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 428 | <Property id="GESTURE_2F_SINGLE_CLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 429 | <Property id="GESTURE_1F_SCROLL_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 430 | <Property id="GESTURE_2F_SCROLL_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 431 | <Property id="GESTURE_1F_EDGE_SWIPE_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 432 | <Property id="GESTURE_1F_FLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 433 | <Property id="GESTURE_1F_ROTATE_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 434 | <Property id="GESTURE_2F_ZOOM_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 435 | <Property id="GESTURE_FILTERING_ENABLE" value="false"/> |
reedas | 1:cf461b359823 | 436 | <Property id="CLICK_TIMEOUT_MAX" value="1000"/> |
reedas | 1:cf461b359823 | 437 | <Property id="CLICK_TIMEOUT_MIN" value="0"/> |
reedas | 1:cf461b359823 | 438 | <Property id="CLICK_DISTANCE_MAX" value="100"/> |
reedas | 1:cf461b359823 | 439 | <Property id="SECOND_CLICK_INTERVAL_MAX" value="1000"/> |
reedas | 1:cf461b359823 | 440 | <Property id="SECOND_CLICK_INTERVAL_MIN" value="0"/> |
reedas | 1:cf461b359823 | 441 | <Property id="SECOND_CLICK_DISTANCE_MAX" value="100"/> |
reedas | 1:cf461b359823 | 442 | <Property id="SCROLL_DEBOUNCE" value="3"/> |
reedas | 1:cf461b359823 | 443 | <Property id="SCROLL_DISTANCE_MIN" value="20"/> |
reedas | 1:cf461b359823 | 444 | <Property id="ROTATE_DEBOUNCE" value="10"/> |
reedas | 1:cf461b359823 | 445 | <Property id="ROTATE_DISTANCE_MIN" value="50"/> |
reedas | 1:cf461b359823 | 446 | <Property id="ZOOM_DEBOUNCE" value="3"/> |
reedas | 1:cf461b359823 | 447 | <Property id="ZOOM_DISTANCE_MIN" value="50"/> |
reedas | 1:cf461b359823 | 448 | <Property id="FLICK_TIMEOUT_MAX" value="300"/> |
reedas | 1:cf461b359823 | 449 | <Property id="FLICK_DISTANCE_MIN" value="100"/> |
reedas | 1:cf461b359823 | 450 | <Property id="EDGE_EDGE_SIZE" value="200"/> |
reedas | 1:cf461b359823 | 451 | <Property id="EDGE_DISTANCE_MIN" value="200"/> |
reedas | 1:cf461b359823 | 452 | <Property id="EDGE_TIMEOUT_MAX" value="2000"/> |
reedas | 1:cf461b359823 | 453 | <Property id="EDGE_ANGLE_MAX" value="45"/> |
reedas | 1:cf461b359823 | 454 | </WidgetProperties> |
reedas | 1:cf461b359823 | 455 | <Electrodes> |
reedas | 1:cf461b359823 | 456 | <Electrode id="Rx0" kind="Column"> |
reedas | 1:cf461b359823 | 457 | <ElectrodeProperties> |
reedas | 1:cf461b359823 | 458 | <Property id="IDAC0" value="32"/> |
reedas | 1:cf461b359823 | 459 | <Property id="IDAC1" value="32"/> |
reedas | 1:cf461b359823 | 460 | <Property id="IDAC2" value="32"/> |
reedas | 1:cf461b359823 | 461 | <Property id="PINS" value="Dedicated pin"/> |
reedas | 1:cf461b359823 | 462 | </ElectrodeProperties> |
reedas | 1:cf461b359823 | 463 | </Electrode> |
reedas | 1:cf461b359823 | 464 | <Electrode id="Tx" kind="Row"> |
reedas | 1:cf461b359823 | 465 | <ElectrodeProperties> |
reedas | 1:cf461b359823 | 466 | <Property id="IDAC0" value="32"/> |
reedas | 1:cf461b359823 | 467 | <Property id="IDAC1" value="32"/> |
reedas | 1:cf461b359823 | 468 | <Property id="IDAC2" value="32"/> |
reedas | 1:cf461b359823 | 469 | <Property id="PINS" value="Dedicated pin"/> |
reedas | 1:cf461b359823 | 470 | </ElectrodeProperties> |
reedas | 1:cf461b359823 | 471 | </Electrode> |
reedas | 1:cf461b359823 | 472 | </Electrodes> |
reedas | 1:cf461b359823 | 473 | </Widget> |
reedas | 1:cf461b359823 | 474 | <Widget id="LinearSlider0" type="LINEAR_SLIDER"> |
reedas | 1:cf461b359823 | 475 | <WidgetProperties> |
reedas | 1:cf461b359823 | 476 | <Property id="DIPLEXING" value="false"/> |
reedas | 1:cf461b359823 | 477 | <Property id="MAX_POS_X" value="100"/> |
reedas | 1:cf461b359823 | 478 | <Property id="MAX_POS_Y" value="100"/> |
reedas | 1:cf461b359823 | 479 | <Property id="FINGER_CP" value="0.1"/> |
reedas | 1:cf461b359823 | 480 | <Property id="SNS_CLK" value="34"/> |
reedas | 1:cf461b359823 | 481 | <Property id="SNS_CLK_FREQ" value=""/> |
reedas | 1:cf461b359823 | 482 | <Property id="ROW_SNS_CLK" value="2"/> |
reedas | 1:cf461b359823 | 483 | <Property id="ROW_SNS_CLK_FREQ" value=""/> |
reedas | 1:cf461b359823 | 484 | <Property id="SNS_CLK_SOURCE" value="DIRECT"/> |
reedas | 1:cf461b359823 | 485 | <Property id="TX_CLK" value="2"/> |
reedas | 1:cf461b359823 | 486 | <Property id="TX_CLK_FREQ" value=""/> |
reedas | 1:cf461b359823 | 487 | <Property id="TX_CLK_SOURCE" value="AUTO"/> |
reedas | 1:cf461b359823 | 488 | <Property id="RESOLUTION" value="RES13BIT"/> |
reedas | 1:cf461b359823 | 489 | <Property id="NUM_CONV" value="100"/> |
reedas | 1:cf461b359823 | 490 | <Property id="IDAC_MOD0" value="32"/> |
reedas | 1:cf461b359823 | 491 | <Property id="IDAC_MOD1" value="32"/> |
reedas | 1:cf461b359823 | 492 | <Property id="IDAC_MOD2" value="32"/> |
reedas | 1:cf461b359823 | 493 | <Property id="ROW_IDAC_MOD0" value="32"/> |
reedas | 1:cf461b359823 | 494 | <Property id="ROW_IDAC_MOD1" value="32"/> |
reedas | 1:cf461b359823 | 495 | <Property id="ROW_IDAC_MOD2" value="32"/> |
reedas | 1:cf461b359823 | 496 | <Property id="FINGER_TH" value="100"/> |
reedas | 1:cf461b359823 | 497 | <Property id="PROX_TOUCH_TH" value="200"/> |
reedas | 1:cf461b359823 | 498 | <Property id="NOISE_TH" value="40"/> |
reedas | 1:cf461b359823 | 499 | <Property id="NNOISE_TH" value="40"/> |
reedas | 1:cf461b359823 | 500 | <Property id="LOW_BSLN_RST" value="30"/> |
reedas | 1:cf461b359823 | 501 | <Property id="HYSTERESIS" value="10"/> |
reedas | 1:cf461b359823 | 502 | <Property id="ON_DEBOUNCE" value="3"/> |
reedas | 1:cf461b359823 | 503 | <Property id="VELOCITY" value="2500"/> |
reedas | 1:cf461b359823 | 504 | <Property id="IIR_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 505 | <Property id="IIR_FILTER_COEFF" value="128"/> |
reedas | 1:cf461b359823 | 506 | <Property id="MEDIAN_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 507 | <Property id="AVG_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 508 | <Property id="JITTER_FILTER" value="true"/> |
reedas | 1:cf461b359823 | 509 | <Property id="AIIR_FILTER" value="false"/> |
reedas | 1:cf461b359823 | 510 | <Property id="AIIR_NO_MOV_TH" value="3"/> |
reedas | 1:cf461b359823 | 511 | <Property id="AIIR_LITTLE_MOV_TH" value="7"/> |
reedas | 1:cf461b359823 | 512 | <Property id="AIIR_LARGE_MOV_TH" value="12"/> |
reedas | 1:cf461b359823 | 513 | <Property id="AIIR_MAXK" value="60"/> |
reedas | 1:cf461b359823 | 514 | <Property id="AIIR_MINK" value="1"/> |
reedas | 1:cf461b359823 | 515 | <Property id="AIIR_DIV_VAL" value="64"/> |
reedas | 1:cf461b359823 | 516 | <Property id="CENTROID_TYPE" value="CSD3X3"/> |
reedas | 1:cf461b359823 | 517 | <Property id="CROSS_COUPLING_POS_TH" value="5"/> |
reedas | 1:cf461b359823 | 518 | <Property id="EDGE_CORRECTION" value="true"/> |
reedas | 1:cf461b359823 | 519 | <Property id="EDGE_VIRTUAL_SENSOR_TH" value="100"/> |
reedas | 1:cf461b359823 | 520 | <Property id="EDGE_PENULTIMATE_TH" value="100"/> |
reedas | 1:cf461b359823 | 521 | <Property id="TWO_FINGER_DETECTION" value="false"/> |
reedas | 1:cf461b359823 | 522 | <Property id="ACCEL_COEFF" value="9"/> |
reedas | 1:cf461b359823 | 523 | <Property id="SPEED_COEFF" value="2"/> |
reedas | 1:cf461b359823 | 524 | <Property id="DIVISOR" value="4"/> |
reedas | 1:cf461b359823 | 525 | <Property id="SPEED_TH_X" value="3"/> |
reedas | 1:cf461b359823 | 526 | <Property id="SPEED_TH_Y" value="4"/> |
reedas | 1:cf461b359823 | 527 | <Property id="BALLISTIC_MULT" value="false"/> |
reedas | 1:cf461b359823 | 528 | <Property id="GESTURE_ENABLE" value="false"/> |
reedas | 1:cf461b359823 | 529 | <Property id="GESTURE_1F_SINGLE_CLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 530 | <Property id="GESTURE_1F_DOUBLE_CLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 531 | <Property id="GESTURE_1F_CLICK_DRAG_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 532 | <Property id="GESTURE_2F_SINGLE_CLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 533 | <Property id="GESTURE_1F_SCROLL_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 534 | <Property id="GESTURE_2F_SCROLL_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 535 | <Property id="GESTURE_1F_EDGE_SWIPE_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 536 | <Property id="GESTURE_1F_FLICK_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 537 | <Property id="GESTURE_1F_ROTATE_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 538 | <Property id="GESTURE_2F_ZOOM_ENABLE" value="true"/> |
reedas | 1:cf461b359823 | 539 | <Property id="GESTURE_FILTERING_ENABLE" value="false"/> |
reedas | 1:cf461b359823 | 540 | <Property id="CLICK_TIMEOUT_MAX" value="1000"/> |
reedas | 1:cf461b359823 | 541 | <Property id="CLICK_TIMEOUT_MIN" value="0"/> |
reedas | 1:cf461b359823 | 542 | <Property id="CLICK_DISTANCE_MAX" value="100"/> |
reedas | 1:cf461b359823 | 543 | <Property id="SECOND_CLICK_INTERVAL_MAX" value="1000"/> |
reedas | 1:cf461b359823 | 544 | <Property id="SECOND_CLICK_INTERVAL_MIN" value="0"/> |
reedas | 1:cf461b359823 | 545 | <Property id="SECOND_CLICK_DISTANCE_MAX" value="100"/> |
reedas | 1:cf461b359823 | 546 | <Property id="SCROLL_DEBOUNCE" value="3"/> |
reedas | 1:cf461b359823 | 547 | <Property id="SCROLL_DISTANCE_MIN" value="20"/> |
reedas | 1:cf461b359823 | 548 | <Property id="ROTATE_DEBOUNCE" value="10"/> |
reedas | 1:cf461b359823 | 549 | <Property id="ROTATE_DISTANCE_MIN" value="50"/> |
reedas | 1:cf461b359823 | 550 | <Property id="ZOOM_DEBOUNCE" value="3"/> |
reedas | 1:cf461b359823 | 551 | <Property id="ZOOM_DISTANCE_MIN" value="50"/> |
reedas | 1:cf461b359823 | 552 | <Property id="FLICK_TIMEOUT_MAX" value="300"/> |
reedas | 1:cf461b359823 | 553 | <Property id="FLICK_DISTANCE_MIN" value="100"/> |
reedas | 1:cf461b359823 | 554 | <Property id="EDGE_EDGE_SIZE" value="200"/> |
reedas | 1:cf461b359823 | 555 | <Property id="EDGE_DISTANCE_MIN" value="200"/> |
reedas | 1:cf461b359823 | 556 | <Property id="EDGE_TIMEOUT_MAX" value="2000"/> |
reedas | 1:cf461b359823 | 557 | <Property id="EDGE_ANGLE_MAX" value="45"/> |
reedas | 1:cf461b359823 | 558 | </WidgetProperties> |
reedas | 1:cf461b359823 | 559 | <Electrodes> |
reedas | 1:cf461b359823 | 560 | <Electrode id="Sns0" kind="Sensor"> |
reedas | 1:cf461b359823 | 561 | <ElectrodeProperties> |
reedas | 1:cf461b359823 | 562 | <Property id="IDAC0" value="32"/> |
reedas | 1:cf461b359823 | 563 | <Property id="IDAC1" value="32"/> |
reedas | 1:cf461b359823 | 564 | <Property id="IDAC2" value="32"/> |
reedas | 1:cf461b359823 | 565 | <Property id="PINS" value="Dedicated pin"/> |
reedas | 1:cf461b359823 | 566 | </ElectrodeProperties> |
reedas | 1:cf461b359823 | 567 | </Electrode> |
reedas | 1:cf461b359823 | 568 | <Electrode id="Sns1" kind="Sensor"> |
reedas | 1:cf461b359823 | 569 | <ElectrodeProperties> |
reedas | 1:cf461b359823 | 570 | <Property id="IDAC0" value="32"/> |
reedas | 1:cf461b359823 | 571 | <Property id="IDAC1" value="32"/> |
reedas | 1:cf461b359823 | 572 | <Property id="IDAC2" value="32"/> |
reedas | 1:cf461b359823 | 573 | <Property id="PINS" value="Dedicated pin"/> |
reedas | 1:cf461b359823 | 574 | </ElectrodeProperties> |
reedas | 1:cf461b359823 | 575 | </Electrode> |
reedas | 1:cf461b359823 | 576 | <Electrode id="Sns2" kind="Sensor"> |
reedas | 1:cf461b359823 | 577 | <ElectrodeProperties> |
reedas | 1:cf461b359823 | 578 | <Property id="IDAC0" value="32"/> |
reedas | 1:cf461b359823 | 579 | <Property id="IDAC1" value="32"/> |
reedas | 1:cf461b359823 | 580 | <Property id="IDAC2" value="32"/> |
reedas | 1:cf461b359823 | 581 | <Property id="PINS" value="Dedicated pin"/> |
reedas | 1:cf461b359823 | 582 | </ElectrodeProperties> |
reedas | 1:cf461b359823 | 583 | </Electrode> |
reedas | 1:cf461b359823 | 584 | <Electrode id="Sns3" kind="Sensor"> |
reedas | 1:cf461b359823 | 585 | <ElectrodeProperties> |
reedas | 1:cf461b359823 | 586 | <Property id="IDAC0" value="32"/> |
reedas | 1:cf461b359823 | 587 | <Property id="IDAC1" value="32"/> |
reedas | 1:cf461b359823 | 588 | <Property id="IDAC2" value="32"/> |
reedas | 1:cf461b359823 | 589 | <Property id="PINS" value="Dedicated pin"/> |
reedas | 1:cf461b359823 | 590 | </ElectrodeProperties> |
reedas | 1:cf461b359823 | 591 | </Electrode> |
reedas | 1:cf461b359823 | 592 | <Electrode id="Sns4" kind="Sensor"> |
reedas | 1:cf461b359823 | 593 | <ElectrodeProperties> |
reedas | 1:cf461b359823 | 594 | <Property id="IDAC0" value="32"/> |
reedas | 1:cf461b359823 | 595 | <Property id="IDAC1" value="32"/> |
reedas | 1:cf461b359823 | 596 | <Property id="IDAC2" value="32"/> |
reedas | 1:cf461b359823 | 597 | <Property id="PINS" value="Dedicated pin"/> |
reedas | 1:cf461b359823 | 598 | </ElectrodeProperties> |
reedas | 1:cf461b359823 | 599 | </Electrode> |
reedas | 1:cf461b359823 | 600 | </Electrodes> |
reedas | 1:cf461b359823 | 601 | </Widget> |
reedas | 1:cf461b359823 | 602 | </Widgets> |
reedas | 1:cf461b359823 | 603 | </Configuration> |
reedas | 1:cf461b359823 | 604 | CAPSENSE_CONFIG_END |
reedas | 1:cf461b359823 | 605 | */ |
reedas | 1:cf461b359823 | 606 | |
reedas | 1:cf461b359823 | 607 | #if defined(__cplusplus) |
reedas | 1:cf461b359823 | 608 | } |
reedas | 1:cf461b359823 | 609 | #endif |
reedas | 1:cf461b359823 | 610 | |
reedas | 1:cf461b359823 | 611 | #endif /* CY_CAPSENSE_CORE == __CORTEX_M */ |
reedas | 1:cf461b359823 | 612 | |
reedas | 1:cf461b359823 | 613 | #endif /* CYCFG_CAPSENSE_H */ |
reedas | 1:cf461b359823 | 614 | |
reedas | 1:cf461b359823 | 615 | /* [] END OF FILE */ |