Widget configuration structure.
Data Fields | |
cy_stc_capsense_widget_context_t * | ptrWdContext |
Pointer to context structure of this widget. | |
cy_stc_capsense_sensor_context_t * | ptrSnsContext |
Pointer to the first object of sensor context structure that belongs to this widget. | |
const cy_stc_capsense_electrode_config_t * | ptrEltdConfig |
Pointer to the first object of electrode configuration structure that belongs to this widget. | |
uint32_t * | ptrEltdCapacitance |
Pointer to the first object in the electrode capacitance array that belongs to this widget. | |
uint32_t * | ptrSnsCapacitance |
Pointer to the first object in the sensor capacitance array that belongs to this widget. More... | |
uint16_t * | ptrBslnInv |
Pointer to the first object in the sensor baseline inversion array that belongs to this widget. | |
cy_stc_capsense_smartsense_csd_noise_envelope_t * | ptrNoiseEnvelope |
Pointer to the noise envelope filter used by smart sensing algorithm. | |
uint16_t * | ptrRawFilterHistory |
Pointer to the raw count filter history of the widget. | |
uint8_t * | ptrRawFilterHistoryLow |
Pointer to the raw count filter history extended of the widget. | |
uint32_t | iirCoeff |
Raw count IIR filter coefficient. More... | |
uint8_t * | ptrDebounceArr |
Pointer to the debounce array of the widget. | |
const uint8_t * | ptrDiplexTable |
Pointer to the diplex table used for Linear slider when Diplex option is enabled. | |
uint32_t | centroidConfig |
Configuration of centroids. | |
uint16_t | xResolution |
Keeps maximum position value. More... | |
uint16_t | yResolution |
For Touchpads Y-Axis maximum position. | |
uint16_t | numSns |
The total number of sensors: For CSD widgets: WD_NUM_ROWS + WD_NUM_COLS. More... | |
uint8_t | numCols |
For CSD Button and Proximity Widgets, the number of sensors. More... | |
uint8_t | numRows |
For CSD Touchpad and Matrix Buttons, the number of the row sensors. More... | |
cy_stc_capsense_touch_t * | ptrPosFilterHistory |
Pointer to the position filter history. | |
cy_stc_capsense_csx_touch_history_t * | ptrCsxTouchHistory |
Pointer to the CSX touchpad history. | |
cy_stc_capsense_csx_touch_buffer_t * | ptrCsxTouchBuffer |
Pointer to the single CSX buffer needed for CSX touchpad processing. | |
uint16_t * | ptrCsdTouchBuffer |
Pointer to the CSD buffer needed for advanced CSD touchpad processing. | |
cy_stc_capsense_gesture_config_t * | ptrGestureConfig |
Pointer to Gesture configuration structure. | |
cy_stc_capsense_gesture_context_t * | ptrGestureContext |
Pointer to Gesture context structure. | |
cy_stc_capsense_ballistic_config_t | ballisticConfig |
The configuration data for position ballistic filter. More... | |
cy_stc_capsense_ballistic_context_t * | ptrBallisticContext |
Pointer to Ballistic filter context structure. | |
cy_stc_capsense_adaptive_filter_config_t | aiirConfig |
The configuration of position adaptive filter. More... | |
cy_stc_capsense_advanced_touchpad_config_t | advConfig |
The configuration of CSD advanced touchpad. | |
uint32_t | posFilterConfig |
Position filters configuration. | |
uint16_t | rawFilterConfig |
Raw count filters configuration. | |
uint16_t | alpOnThreshold |
ALP Filter ON threshold. | |
uint16_t | alpOffThreshold |
ALP Filter OFF threshold. | |
uint8_t | senseMethod |
Specifies the widget sensing method: More... | |
uint8_t | wdType |
Specifies the widget type. | |
cy_stc_capsense_mp_table_t * | ptrMpTable |
Pointer to the multi-phase vector and de-convolution coefficients. More... | |
uint16_t | firstSlotId |
The slot ID in the widget to start scan from. More... | |
uint16_t | numSlots |
The number of slots in the widget. More... | |
uint8_t | numChopCycles |
Defines number of chopping cycles. More... | |
uint8_t | mpOrder |
Multi-phase order. More... | |
uint8_t | mpOrderRows |
Multi-phase order for rows in CSD widgets. More... | |
uint8_t | lfsrDitherLimit |
Max dither in percentage. More... | |
uint8_t | snsClkSourceAutoSelMode |
Defines set of rules that are used by clock source auto-selection algorithm. More... | |
uint8_t | mfsConfig |
Multi-frequency Scan (MFS) widget configuration Contains masks: More... | |
uint8_t | cdacDitherScaleMode |
CDAC dither scale mode. More... | |
uint8_t | cicRateMode |
CIC2 filter decimation rate mode. More... | |
uint8_t | iirCoeffHw |
Raw count HW IIR filter coefficient. More... | |
uint16_t | cdacConfig |
Bit-mask for widget CDAC configuration: More... | |
uint32_t* cy_stc_capsense_widget_config_t::ptrSnsCapacitance |
Pointer to the first object in the sensor capacitance array that belongs to this widget.
uint32_t cy_stc_capsense_widget_config_t::iirCoeff |
Raw count IIR filter coefficient.
Smaller value leads to higher filtering
uint16_t cy_stc_capsense_widget_config_t::xResolution |
Keeps maximum position value.
For Touchpads X-axis maximum position
uint16_t cy_stc_capsense_widget_config_t::numSns |
The total number of sensors: For CSD widgets: WD_NUM_ROWS + WD_NUM_COLS.
For CSX widgets: WD_NUM_ROWS * WD_NUM_COLS. For ISX widgets: (WD_NUM_ROWS + WD_NUM_COLS) / 2
uint8_t cy_stc_capsense_widget_config_t::numCols |
For CSD Button and Proximity Widgets, the number of sensors.
For CSD Slider Widget, the number of segments. For CSD Touchpad and Matrix Button, the number of the column sensors. For CSX Button, Slider, Touchpad, and Matrix Button, the number of the Rx electrodes. For ISX Button and Linear Slider, the number of the Rx electrodes.
uint8_t cy_stc_capsense_widget_config_t::numRows |
For CSD Touchpad and Matrix Buttons, the number of the row sensors.
For the CSX Button and Slider, the number of the Tx electrodes (constant 1u). For CSX Touchpad and Matrix Button, the number of the Tx electrodes. For ISX Button and Linear Slider, the number of the Lx electrodes.
cy_stc_capsense_ballistic_config_t cy_stc_capsense_widget_config_t::ballisticConfig |
The configuration data for position ballistic filter.
cy_stc_capsense_adaptive_filter_config_t cy_stc_capsense_widget_config_t::aiirConfig |
The configuration of position adaptive filter.
uint8_t cy_stc_capsense_widget_config_t::senseMethod |
Specifies the widget sensing method:
cy_stc_capsense_mp_table_t* cy_stc_capsense_widget_config_t::ptrMpTable |
Pointer to the multi-phase vector and de-convolution coefficients.
uint16_t cy_stc_capsense_widget_config_t::firstSlotId |
The slot ID in the widget to start scan from.
uint16_t cy_stc_capsense_widget_config_t::numSlots |
The number of slots in the widget.
uint8_t cy_stc_capsense_widget_config_t::numChopCycles |
Defines number of chopping cycles.
One cycle means the feature is disabled
uint8_t cy_stc_capsense_widget_config_t::mpOrder |
Multi-phase order.
uint8_t cy_stc_capsense_widget_config_t::mpOrderRows |
Multi-phase order for rows in CSD widgets.
uint8_t cy_stc_capsense_widget_config_t::lfsrDitherLimit |
Max dither in percentage.
The input parameter for the LFSR range auto-selection algorithm
uint8_t cy_stc_capsense_widget_config_t::snsClkSourceAutoSelMode |
Defines set of rules that are used by clock source auto-selection algorithm.
uint8_t cy_stc_capsense_widget_config_t::mfsConfig |
Multi-frequency Scan (MFS) widget configuration Contains masks:
uint8_t cy_stc_capsense_widget_config_t::cdacDitherScaleMode |
CDAC dither scale mode.
uint8_t cy_stc_capsense_widget_config_t::cicRateMode |
CIC2 filter decimation rate mode.
uint8_t cy_stc_capsense_widget_config_t::iirCoeffHw |
Raw count HW IIR filter coefficient.
Smaller value leads to lower filtering.
uint16_t cy_stc_capsense_widget_config_t::cdacConfig |
Bit-mask for widget CDAC configuration: