mTouch Library Files

mTouch

mTouch Cap Library Help
mTouch Library Files

 

The following files should be included in the project:

Common 
 

Compiler.h 

Contains compiler specific definitions. 

GenericTypeDefs.h 

Standard MLA types definitions. 

mTouch.h 

This file joins all definitions, macros and functions prototypes related to mTouch library. To use the library API only this header can be included in the application code. 

mTouchConfig.h 

mTouch library configurations. 

Acquisition 
 

mTouchAcquisitionMCU8.h ,
mTouchAcquisitionMCU16.h 

Acquisition macros defining timing, CTMU and ADC operation. 

mTouchAcquistion.c 

Acquisition CVD and CTMU routines. 

Sensors 
 

mTouchSensor.h ,
mTouchSensor.c 

Sensors’ filtration and decoding. It provides basic button functionality. 

Controls 
 

mTouchControl.h ,
mTouchControl.c 

Common definitions and functions for all controls. 

mTouchButton.h ,
mTouchButton.c 

Definitions and functions for the button controls with different decoding methods. 

mTouchMatrixButton.h,
mTouchMatrixButton.c 

Definitions and functions for the matrix button controls. 

mTouch2ChSlider.h ,
mTouch2ChSlider.c 

Definitions and functions for the 2 channel slider controls. 

mTouch4ChSlider.h ,
mTouch4ChSlider.c 

Definitions and functions for the 4 channel slider controls. 

Debug 
 

mTouchDebug.h ,
mTouchDebug.c 

This module contains means to log information from sensors and to calculate the optimal CTMU current, charge delay for the CTMU acquisition and press detection threshold. 

 

 

Microchip mTouchCap Software Library 1.41 - [July 18, 2012]
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.