mTouch Cap Library Help
mTouch
Table of contents
-
Introduction
-
Software License Agreement
-
Overview
-
Getting Started
-
Sensor Optimization (Debug Module)
-
Sharing ADC between mTouch Library and Other Tasks
-
Code and RAM Memories Size
-
Acquisition Time for One Sensor
-
Demo Projects
-
API Reference
-
Common
-
Acquisition
-
Sensors
-
void MTouchSetSensor(UINT8 sensorNumber, SFR tris, SFR lat, UINT8 ioBitNumber, UINT8 channelNumber, INT16 threshold, INT16 oversampling, INT8 chargeDelay)
-
MTouchSuspendSensor(sensorNumber)
-
MTouchResumeSensor(sensorNumber)
-
MTouchSetChargeDelay(sensorNumber, delay)
-
MTouchSetThreshold(sensorNumber, _threshold)
-
MTouchSetOversampling(sensorNumber, oversampling)
-
MTouchGetSensorState(sensorNumber)
-
MTouchInitializeSensor(sensorNumber)
-
Controls
-
void mTouchDecode(void)
-
void MTouchSetButton(UINT8 buttonNumber, UINT8 sensorNumber, UINT8 decode)
-
MTouchGetButtonState(buttonNumber)
-
void MTouchSetMatrixButton(UINT8 buttonNumber, UINT8 ch1SensorNumber, UINT8 ch2SensorNumber, UINT8 decode)
-
MTouchGetMatrixButtonState(buttonNumber)
-
void MTouchSet2ChSlider(UINT8 sliderNumber, UINT8 ch1SensorNumber, UINT8 ch2SensorNumber)
-
MTouchGet2ChSliderState(sliderNumber)
-
MTouchGet2ChSliderValue(sliderNumber)
-
void MTouchSet4ChSlider(UINT8 sliderNumber, UINT8 ch1SensorNumber, UINT8 ch2SensorNumber, UINT8 ch3SensorNumber, UINT8 ch4SensorNumber)
-
MTouchGet4ChSliderState(sliderNumber)
-
MTouchGet4ChSliderValue(sliderNumber)
-
Debug Module
-
Structures and Enumerations
-
Known Limitations
-
Resources