DEBUGDELAY* MTouchDebugDelay(UINT8 sensorNumber)

mTouch

mTouch Cap Library Help
DEBUGDELAY* MTouchDebugDelay(UINT8 sensorNumber)

 

Description:this function adjusts CTMU charge delay to charge the unpressed  sensor to 75% of AVdd. Sensor must be initialized with MTouchSetSensor(...). The charge delay result returned by this function can be used to intialize sensor (see parameter "chargeDelay" in MTouchSetSensor(...) function). 

Parameters: 

  • sensorNumber - sensor number.

Returns: a pointer to the structure with the charge delay adjustment.

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