CAPSENSE™ Middleware Library 5.0
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_MFS_FILTER   (0x40u)
 Applies median filter for MFS widget raw counts (applicable only for fifth-generation CAPSENSE™)
 
#define CY_CAPSENSE_PROCESS_ALL
 Definition that combines all possible processing tasks. More...
 
#define CY_CAPSENSE_MPTX_MIN_ORDER   (4u)
 Multi-phase TX min order.
 
#define CY_CAPSENSE_MPTX_MAX_ORDER   (32u)
 Multi-phase TX max order.
 
#define CY_CAPSENSE_MPSC_MIN_ORDER   (5u)
 Multi-phase Self-Cap min order.
 
#define CY_CAPSENSE_MPSC_MAX_ORDER   (32u)
 Multi-phase Self-Cap max order.
 
#define CY_CAPSENSE_MULTIPHASE_MAX_ORDER   (32u)
 Multi-phase max order.
 

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 | \
CY_CAPSENSE_PROCESS_MFS_FILTER)
#define CY_CAPSENSE_PROCESS_FILTER
Applies all enabled filters in the default order to the raw counts.
Definition: cy_capsense_common.h:756

Definition that combines all possible processing tasks.