Cypress CapSense Middleware Library 2.0
cy_stc_active_scan_sns_t Struct Reference

Description

Declares active sensor details.

Data Fields

void(* ptrISRCallback )(void *context)
 Pointer to the interrupt handler of the active sensor.
 
const cy_stc_capsense_widget_config_t * ptrWdConfig
 Pointer to the widget configuration structure of the active sensor.
 
cy_stc_capsense_widget_context_t * ptrWdContext
 Pointer to the widget context structure of the active sensor.
 
const cy_stc_capsense_electrode_config_t * ptrEltdConfig
 Pointer to the electrode configuration structure of the active sensor.
 
const cy_stc_capsense_electrode_config_t * ptrRxConfig
 Pointer to the Rx electrode configuration structure of the active sensor.
 
const cy_stc_capsense_electrode_config_t * ptrTxConfig
 Pointer to the Tx electrode configuration structure of the active sensor.
 
cy_stc_capsense_sensor_context_t * ptrSnsContext
 Pointer to the sensor context structure.
 
volatile uint16_t sensorIndex
 Current sensor ID.
 
volatile uint8_t widgetIndex
 Current widget ID.
 
volatile uint8_t rxIndex
 Current Rx ID.
 
volatile uint8_t txIndex
 Current Tx ID.
 
volatile uint8_t connectedSnsState
 Shows if the current sensor is connected to analog bus.
 
volatile uint8_t scanScopeAll
 Request of scanning all widgets.
 
volatile uint8_t scanScopeSns
 Request of scanning a single sensor.
 
volatile uint8_t mfsChannelIndex
 MFS channel index.
 
volatile uint8_t currentSenseMethod
 Current sensing method.