CAPSENSE™ Middleware Library 5.0
cy_stc_capsense_hw_smartsense_config_t Struct Reference

Description

Declares HW smart sensing algorithm data structure for CSD widgets for fifth-generation CAPSENSE™.

Data Fields

uint32_t snsCapacitance
 Sensor parasitic capacitance in fF 10^-15.
 
uint32_t modClock
 Modulation clock frequency in Hz.
 
uint16_t nSub0
 Base number of sub-conversions.
 
uint16_t nSub1
 Final number of sub-conversions.
 
uint16_t raw
 Sensor raw counts.
 
uint16_t snsResistance
 Resistance in series to a sensor.
 
uint16_t kRef0
 Base sense frequency.
 
uint16_t kRef1
 Final sense frequency.
 
uint16_t fingerCap
 Finger capacitance in fF 10^-15 (Set in Basic tab in pF 10^-12)
 
uint16_t sigPFC
 sigPFC value (75% of signal Per Finger Capacitance)
 
uint8_t refCdac
 Reference CAP DAC code for getting capacitance and calibration target for getting Nsub.
 
uint8_t correctionCoeff
 Correction coefficient for CTRL_MUX mode.