CAPSENSE™ Middleware Library 5.0
General Macros

General Description

General macros.

Macros

#define CY_CAPSENSE_MW_VERSION_MAJOR   (5)
 Middleware major version.
 
#define CY_CAPSENSE_MW_VERSION_MINOR   (0)
 Middleware minor version.
 
#define CY_CAPSENSE_MW_VERSION   (500)
 Middleware version.
 
#define CY_CSD_DRV_VERSION_REQUIRED   (100)
 Defined supported CSD driver version.
 
#define CY_CSD_DRV2_VERSION   (100)
 If CSD driver version not defined by driver then define it here.
 
#define CY_CAPSENSE_USE_CAPTURE   (0u)
 Use CSD/MSC Init function.
 
#define CY_CAPSENSE_ID   (CY_PDL_DRV_ID(0x07uL))
 Middleware ID.
 
#define CY_CAPSENSE_INIT_DONE   (1u)
 CAPSENSE™ MW initialization is done.
 
#define CY_CAPSENSE_INIT_NEEDED   (0u)
 CAPSENSE™ MW initialization is needed.
 
#define CY_CAPSENSE_ENABLE   (1u)
 Feature enabled.
 
#define CY_CAPSENSE_DISABLE   (0u)
 Feature disabled.
 
#define CY_CAPSENSE_SNS_TOUCH_STATUS_MASK   (0x01u)
 Regular Sensor active status mask.
 
#define CY_CAPSENSE_SNS_PROX_STATUS_MASK   (0x01u)
 Proximity Sensor active status mask.
 
#define CY_CAPSENSE_SNS_TOUCH_PROX_STATUS_MASK   (0x02u)
 Proximity Sensor touch active status mask.
 
#define CY_CAPSENSE_SNS_OVERFLOW_MASK   (0x04u)
 Sensor overflow mask.
 
#define CY_CAPSENSE_WD_ACTIVE_MASK   (0x01u)
 Widget active status mask.
 
#define CY_CAPSENSE_WD_ENABLE_MASK   (0x02u)
 Widget enable status mask.
 
#define CY_CAPSENSE_WD_WORKING_MASK   (0x04u)
 Widget working status mask.
 
#define CY_CAPSENSE_WD_MAXCOUNT_CALC_MASK   (0x08u)
 Widget maximum raw count calculation enable mask.
 
#define CY_CAPSENSE_WD_MAXCOUNT_ROW_CALC_MASK   (0x10u)
 Widget row maximum raw count calculation enable mask.