DEBUGCURRENT Struct

mTouch

mTouch Cap Library Help
DEBUGCURRENT Struct

Structure: DEBUGCURRENT 

 

This structure contains results for the CTMU current adjustment. This resut can be used directly for MTOUCH_CTMU_CURRENT setting in mTouchConfig.h file. It is used by MTouchDebugCurrent(...) function. 

Fields: 

  • INT16  error - charge delay error for the adjusted current from the nominal charge delay (equals 8).
  • UINT8   current - settings for CTMU current. Bits 1-0 define the current source range (IRNG) and bits 7-2 define current trim value (ITRIM, signed).
Microchip mTouchCap Software Library 1.41 - [July 18, 2012]
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.