Cypress CapSense Middleware Library
Processing Macros

General Description

Processing macros.

Macros

#define CY_CAPSENSE_PROCESS_FILTER   (0x01u)
 Applies all enabled filters in the default order to the raw counts.
 
#define CY_CAPSENSE_PROCESS_BASELINE   (0x02u)
 Updates baselines using current raw count values for the widget/sensor.
 
#define CY_CAPSENSE_PROCESS_DIFFCOUNTS   (0x04u)
 Calculates differences for the widget/sensor.
 
#define CY_CAPSENSE_PROCESS_CALC_NOISE   (0x08u)
 Runs the noise envelope filter to measure noise magnitude for the widget/sensor.
 
#define CY_CAPSENSE_PROCESS_THRESHOLDS   (0x10u)
 Updates widget thresholds based on raw counts noise magnitude.
 
#define CY_CAPSENSE_PROCESS_STATUS   (0x20u)
 Runs the widget-specific processing algorithms and updates it status.
 
#define CY_CAPSENSE_PROCESS_ALL
 Definition that combines all possible processing tasks. More...
 

Macro Definition Documentation

◆ CY_CAPSENSE_PROCESS_ALL

#define CY_CAPSENSE_PROCESS_ALL
Value:
CY_CAPSENSE_PROCESS_BASELINE | \
CY_CAPSENSE_PROCESS_DIFFCOUNTS | \
CY_CAPSENSE_PROCESS_CALC_NOISE | \
CY_CAPSENSE_PROCESS_THRESHOLDS | \
CY_CAPSENSE_PROCESS_STATUS)
#define CY_CAPSENSE_PROCESS_FILTER
Applies all enabled filters in the default order to the raw counts.
Definition: cy_capsense_common.h:313

Definition that combines all possible processing tasks.