Declares top-level Context Data Structure.
Data Fields | |
uint16_t | configId |
16-bit CRC calculated by the CAPSENSE™ Configurator tool for the CAPSENSE™ configuration. More... | |
uint16_t | tunerCmd |
Tuner Command Register cy_en_capsense_tuner_cmd_t. More... | |
uint16_t | scanCounter |
This counter increments after each scan of active widgets. More... | |
uint8_t | tunerSt |
State of CAPSENSE™ middleware tuner module. More... | |
uint8_t | initDone |
Keep information whether initialization was done or not. | |
volatile uint32_t | status |
Middleware status information: More... | |
uint32_t | timestampInterval |
Timestamp interval used at increasing the timestamp by Cy_CapSense_IncrementGestureTimestamp() | |
uint32_t | timestamp |
Current timestamp should be kept updated and operational, which is vital for the operation of Gesture and Ballistic multiplier features. | |
uint8_t | modCsdClk |
The modulator clock divider for the CSD widgets. More... | |
uint8_t | modCsxClk |
The modulator clock divider for the CSX widgets. More... | |
uint8_t | tunerCnt |
Command counter of CAPSENSE™ middleware tuner module. | |
uint16_t | lpDataSt |
State of Low Power data processing: More... | |
uint8_t | lpFirstSnsId |
The first scanned low power sensor within LP frame. More... | |
uint8_t | lpSnsNumber |
The number of consecutive scanned low power sensors from the .lpFirstSnsID. More... | |
uint8_t | lpNumFrame |
The number of fully scanned low power frames available in the packet. More... | |
uint8_t | lpScanCounter |
This counter increments after each scan of low power widgets. More... | |
uint8_t | lpScanSt |
The state / status of low power sensor baselines: More... | |
uint16_t cy_stc_capsense_common_context_t::configId |
16-bit CRC calculated by the CAPSENSE™ Configurator tool for the CAPSENSE™ configuration.
Used by the CAPSENSE™ Tuner tool to identify if the FW corresponds to the specific user configuration.
uint16_t cy_stc_capsense_common_context_t::tunerCmd |
Tuner Command Register cy_en_capsense_tuner_cmd_t.
Used for the communication between the CAPSENSE™ Tuner tool and the middleware
uint16_t cy_stc_capsense_common_context_t::scanCounter |
This counter increments after each scan of active widgets.
uint8_t cy_stc_capsense_common_context_t::tunerSt |
State of CAPSENSE™ middleware tuner module.
volatile uint32_t cy_stc_capsense_common_context_t::status |
Middleware status information:
uint8_t cy_stc_capsense_common_context_t::modCsdClk |
The modulator clock divider for the CSD widgets.
uint8_t cy_stc_capsense_common_context_t::modCsxClk |
The modulator clock divider for the CSX widgets.
uint16_t cy_stc_capsense_common_context_t::lpDataSt |
State of Low Power data processing:
uint8_t cy_stc_capsense_common_context_t::lpFirstSnsId |
The first scanned low power sensor within LP frame.
uint8_t cy_stc_capsense_common_context_t::lpSnsNumber |
The number of consecutive scanned low power sensors from the .lpFirstSnsID.
uint8_t cy_stc_capsense_common_context_t::lpNumFrame |
The number of fully scanned low power frames available in the packet.
uint8_t cy_stc_capsense_common_context_t::lpScanCounter |
This counter increments after each scan of low power widgets.
uint8_t cy_stc_capsense_common_context_t::lpScanSt |
The state / status of low power sensor baselines: