CAPSENSE™ Middleware Library 5.0
cy_stc_capsense_active_scan_sns_t Struct Reference

Description

Declares active sensor details.

Data Fields

const cy_stc_capsense_widget_config_tptrWdConfig
 Pointer to the widget configuration structure of the active sensor.
 
cy_stc_capsense_widget_context_tptrWdContext
 Pointer to the widget context structure of the active sensor.
 
uint8_t scanScope
 Keeps request of scanning either: More...
 
uint8_t mfsChannelIndex
 MFS channel index. More...
 
uint8_t rxIndex
 Current Rx ID.
 
uint8_t txIndex
 Current Tx ID.
 
const cy_stc_capsense_electrode_config_tptrEltdConfig
 Pointer to the electrode configuration structure of the active sensor.
 
const cy_stc_capsense_electrode_config_tptrRxConfig
 Pointer to the Rx electrode configuration structure of the active sensor.
 
const cy_stc_capsense_electrode_config_tptrTxConfig
 Pointer to the Tx electrode configuration structure of the active sensor.
 
cy_stc_capsense_sensor_context_tptrSnsContext
 Pointer to the sensor context structure.
 
uint16_t currentChannelSlotIndex
 Current slot Index for channel.
 
uint16_t sensorIndex
 Current sensor ID.
 
uint8_t widgetIndex
 Current widget ID.
 
uint8_t currentSenseMethod
 Current sensing method.
 
uint8_t connectedSnsState
 Shows if the current sensor is connected to analog bus.
 

Field Documentation

◆ scanScope

uint8_t cy_stc_capsense_active_scan_sns_t::scanScope

Keeps request of scanning either:

  • CY_CAPSENSE_SCAN_SCOPE_SNGL_SNS - Single sensor
  • CY_CAPSENSE_SCAN_SCOPE_ALL_SNS_MASK - All sensors of one widget
  • CY_CAPSENSE_SCAN_SCOPE_ALL_WD_MASK - All widgets

◆ mfsChannelIndex

uint8_t cy_stc_capsense_active_scan_sns_t::mfsChannelIndex

MFS channel index.

Note
This field is available only for the fourth-generation CAPSENSE™.