Defines

mTouch_config_cvdAdvanced.h File Reference

Framework Configuration! Advanced CVD Scanning Options. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CVD_JITTER_2ND_MASK   0x3F
#define MTOUCH_UNIQUE_OVERSAMPLE_ENABLE
#define MTOUCH_OVERSAMPLE0   10
#define MTOUCH_OVERSAMPLE1   10
#define MTOUCH_OVERSAMPLE2   10
#define MTOUCH_OVERSAMPLE3   10
#define MTOUCH_OVERSAMPLE4   10
#define MTOUCH_OVERSAMPLE5   10
#define MTOUCH_OVERSAMPLE6   10
#define MTOUCH_OVERSAMPLE7   10
#define MTOUCH_OVERSAMPLE8   10
#define MTOUCH_OVERSAMPLE9   10
#define MTOUCH_OVERSAMPLE10   10
#define MTOUCH_OVERSAMPLE11   10
#define MTOUCH_OVERSAMPLE12   10
#define MTOUCH_OVERSAMPLE13   10
#define MTOUCH_OVERSAMPLE14   10
#define MTOUCH_OVERSAMPLE15   10
#define MTOUCH_OVERSAMPLE16   10
#define MTOUCH_OVERSAMPLE17   10
#define MTOUCH_OVERSAMPLE18   10
#define MTOUCH_OVERSAMPLE19   10
#define MTOUCH_OVERSAMPLE20   10
#define MTOUCH_OVERSAMPLE21   10
#define MTOUCH_OVERSAMPLE22   10
#define MTOUCH_OVERSAMPLE23   10
#define MTOUCH_OVERSAMPLE24   10
#define MTOUCH_OVERSAMPLE25   10
#define MTOUCH_OVERSAMPLE26   10
#define MTOUCH_OVERSAMPLE27   10
#define MTOUCH_OVERSAMPLE28   10
#define MTOUCH_OVERSAMPLE29   10
#define CVD_REFERENCE_SENSOR0   MTOUCH_SENSOR1
#define CVD_REFERENCE_SENSOR1   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR2   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR3   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR4   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR5   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR6   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR7   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR8   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR9   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR10   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR11   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR12   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR13   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR14   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR15   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR16   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR17   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR18   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR19   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR20   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR21   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR22   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR23   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR24   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR25   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR26   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR27   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR28   MTOUCH_SENSOR0
#define CVD_REFERENCE_SENSOR29   MTOUCH_SENSOR0
Advanced CVD Scan Controls (mTouch_config_cvdAdvanced.h)

These controls provide additional, more advanced options for adjusting the behavior of the CVD scan. Incorrect configuration of these options can result in very strange, erratic behavior.

#define CVD_SETTLING_DELAY
 Determines the amount of time provided for the external sensor and internal hold capacitor to balance their voltages during the CVD scanning process.
#define CVD_CHOLD_CHARGE_DELAY
 Determines the amount of time provided for charging the internal hold capacitor of the ADC during the CVD scanning process.
#define CVD_SWITCH_DELAY
 Determines the amount of added NOPs between when the sensor is set to an input and the ADC mux is pointed to the sensor.
#define CVD_GUARD_PORT
 If CVD_GUARD_IO_ENABLED is defined, this determines which port to use for the guard.
#define CVD_GUARD_PIN
 If CVD_GUARD_IO_ENABLED is defined, this determines which pin to use for the guard.
#define CVD_GUARD_DACCON0_A
 If CVD_GUARD_DACOUT_ENABLED is defined, this determines what value is loaded into the DACCON0 register prior to the first ADC sample of the differential CVD scan.
#define CVD_GUARD_DACCON1_A
 If CVD_GUARD_DACOUT_ENABLED is defined, this determines what value is loaded into the DACCON1 register prior to the first ADC sample of the differential CVD scan.
#define CVD_GUARD_DACCON0_B
 If CVD_GUARD_DACOUT_ENABLED is defined, this determines what value is loaded into the DACCON0 register prior to the second ADC sample of the differential CVD scan.
#define CVD_GUARD_DACCON1_B
 If CVD_GUARD_DACOUT_ENABLED is defined, this determines what value is loaded into the DACCON1 register prior to the second ADC sample of the differential CVD scan.
#define CVD_MUTUAL_LAT
 If CVD_MUTUAL_ENABLED is defined, determines what LAT register is used for the mutual sensor.
#define CVD_MUTUAL_TRIS
 If CVD_MUTUAL_ENABLED is defined, determines which pin is used for the mutual sensor.

Detailed Description

Framework Configuration! Advanced CVD Scanning Options.

Definition in file mTouch_config_cvdAdvanced.h.


Define Documentation

#define CVD_JITTER_2ND_MASK   0x3F

Definition at line 112 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR0   MTOUCH_SENSOR1

Definition at line 223 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR1   MTOUCH_SENSOR0

Definition at line 224 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR10   MTOUCH_SENSOR0

Definition at line 233 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR11   MTOUCH_SENSOR0

Definition at line 234 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR12   MTOUCH_SENSOR0

Definition at line 235 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR13   MTOUCH_SENSOR0

Definition at line 236 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR14   MTOUCH_SENSOR0

Definition at line 237 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR15   MTOUCH_SENSOR0

Definition at line 238 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR16   MTOUCH_SENSOR0

Definition at line 239 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR17   MTOUCH_SENSOR0

Definition at line 240 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR18   MTOUCH_SENSOR0

Definition at line 241 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR19   MTOUCH_SENSOR0

Definition at line 242 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR2   MTOUCH_SENSOR0

Definition at line 225 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR20   MTOUCH_SENSOR0

Definition at line 243 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR21   MTOUCH_SENSOR0

Definition at line 244 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR22   MTOUCH_SENSOR0

Definition at line 245 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR23   MTOUCH_SENSOR0

Definition at line 246 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR24   MTOUCH_SENSOR0

Definition at line 247 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR25   MTOUCH_SENSOR0

Definition at line 248 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR26   MTOUCH_SENSOR0

Definition at line 249 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR27   MTOUCH_SENSOR0

Definition at line 250 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR28   MTOUCH_SENSOR0

Definition at line 251 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR29   MTOUCH_SENSOR0

Definition at line 252 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR3   MTOUCH_SENSOR0

Definition at line 226 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR4   MTOUCH_SENSOR0

Definition at line 227 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR5   MTOUCH_SENSOR0

Definition at line 228 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR6   MTOUCH_SENSOR0

Definition at line 229 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR7   MTOUCH_SENSOR0

Definition at line 230 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR8   MTOUCH_SENSOR0

Definition at line 231 of file mTouch_config_cvdAdvanced.h.

#define CVD_REFERENCE_SENSOR9   MTOUCH_SENSOR0

Definition at line 232 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE0   10

Definition at line 188 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE1   10

Definition at line 189 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE10   10

Definition at line 198 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE11   10

Definition at line 199 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE12   10

Definition at line 200 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE13   10

Definition at line 201 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE14   10

Definition at line 202 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE15   10

Definition at line 203 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE16   10

Definition at line 204 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE17   10

Definition at line 205 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE18   10

Definition at line 206 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE19   10

Definition at line 207 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE2   10

Definition at line 190 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE20   10

Definition at line 208 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE21   10

Definition at line 209 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE22   10

Definition at line 210 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE23   10

Definition at line 211 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE24   10

Definition at line 212 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE25   10

Definition at line 213 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE26   10

Definition at line 214 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE27   10

Definition at line 215 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE28   10

Definition at line 216 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE29   10

Definition at line 217 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE3   10

Definition at line 191 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE4   10

Definition at line 192 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE5   10

Definition at line 193 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE6   10

Definition at line 194 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE7   10

Definition at line 195 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE8   10

Definition at line 196 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_OVERSAMPLE9   10

Definition at line 197 of file mTouch_config_cvdAdvanced.h.

#define MTOUCH_UNIQUE_OVERSAMPLE_ENABLE

Definition at line 187 of file mTouch_config_cvdAdvanced.h.