Cypress CapSense Middleware Library
Miscellaneous Macros

General Description

Miscellaneous macros.

Macros

#define CY_CAPSENSE_TU_CMD_COMPLETE_BIT   (0x8000u)
 Defines the communication command complete bit mask.
 
#define CY_CAPSENSE_STATUS_RESTART_NONE   (0x00u)
 Defines the status if restart was not performed in Cy_CapSense_RunTuner()
 
#define CY_CAPSENSE_STATUS_RESTART_DONE   (0x01u)
 Defines the status if restart was done in Cy_CapSense_RunTuner()
 
#define CY_CAPSENSE_IDAC_GAIN_NUMBER   (6u)
 Number of supported idac gains.
 
#define CY_CAPSENSE_PERCENTAGE_100   (100u)
 100% value
 
#define CY_CAPSENSE_SCAN_SCOPE_UND   (0u)
 Sensor scanning scope is undefined.
 
#define CY_CAPSENSE_SCAN_SCOPE_SGL_SNS   (1u)
 Sensor scanning scope is a single sensor.
 
#define CY_CAPSENSE_SCAN_SCOPE_ALL_SNS   (2u)
 Sensor scanning scope is all sensors in a queue.
 
#define CY_CAPSENSE_SCAN_SCOPE_SGL_WD   (0u)
 Widget scanning scope is a single widget.
 
#define CY_CAPSENSE_SCAN_SCOPE_ALL_WD   (1u)
 Widget scanning scope is all widgets.