Logo
TIDM-CAPTIVATE-64-BUTTON Example Applications Guide  v1.00.00.00
Basic_Demo_UserConfig

Macros

#define CAPT_SENSOR_COUNT   (1)
 
#define CAPT_INTERFACE   (__CAPT_BULKI2C_INTERFACE__)
 
#define CAPT_CONDUCTED_NOISE_IMMUNITY_ENABLE   (false)
 
#define CAPT_WAKEONPROX_ENABLE   (false)
 
#define CAPT_WAKEONPROX_SENSOR   (none)
 
#define CAPT_SELF_FREQ_CNT   (1)
 
#define CAPT_MUTUAL_FREQ_CNT   (1)
 
#define CAPT_MS_TO_CYCLES(ms)    (ms << 5)
 

Variables

tSensor keypad64Button
 
tSensor * g_pCaptivateSensorArray [CAPT_SENSOR_COUNT]
 
const tEMCConfig g_EMCConfig
 
tCaptivateApplication g_uiApp
 
tSensor * g_pCaptivateSensorArray [CAPT_SENSOR_COUNT]
 
const tEMCConfig g_EMCConfig
 
tCaptivateApplication g_uiApp
 

Detailed Description

The Captivate touch library UserConfig component defines the architecture of the capacitive touch panel that is being implemented.

Version
1.01.01.00 Released on Thu, Oct 15, 2015 12:27:24 AM

Variable Documentation

const tEMCConfig g_EMCConfig

This structure stores the EMC configuration for this application.

g_EMCConfig
Initial value:
=
{
.bEnableDynamicThresholdAdjustment = true,
.bDynamicThresholdAdjustmentIsGlobal = true,
.ui16CalibrationNoiseLimit = 10,
.ui8CalibrationTestSampleSize = 8,
.ui8NoiseThreshold = 20,
.ui8MaxRelThreshAdj = 76,
.ui8NoiseLevelFilterEntryThresh = 32,
.ui8NoiseLevelFilterExitThresh = 0,
.ui8LocalNoiseLevelFilterDown = 5,
.ui8LocalNoiseLevelFilterUp = 1,
.ui8GlobalNoiseLevelFilterDown = 5,
.ui8GlobalNoiseLevelFilterUp = 1,
.coeffA = _IQ31(0.0065),
.coeffB = _IQ31(0.0100)
}

This structure stores the EMC configuration for this application.

tSensor* g_pCaptivateSensorArray[CAPT_SENSOR_COUNT]

This array allows for indexed access to any sensor in the configuration.

g_pCaptivateSensorArray
Initial value:
=
{
&keypad64Button,
}

This array allows for indexed access to any sensor in the configuration.

tCaptivateApplication g_uiApp

This structure stores the global settings for this application.

g_uiApp
Initial value:
=
{
.state = eUIActive,
.pSensorList = &g_pCaptivateSensorArray[0],
.ui8NrOfSensors = CAPT_SENSOR_COUNT,
.ui8AppLPM = LPM3_bits,
.bElementDataTxEnable = true,
.bSensorDataTxEnable = false,
.ui16ActiveModeScanPeriod = 12,
.ui16WakeOnProxModeScanPeriod = 100,
.ui16InactivityTimeout = 32,
.ui8WakeupInterval = 5,
}
tSensor * g_pCaptivateSensorArray[CAPT_SENSOR_COUNT]
Definition: TIDM-CAPTIVATE-64-BUTTON_BasicDemo/captivate_config/CAPT_UserConfig.c:1285

This structure stores the global settings for this application.