CE63792 - CSD Software Filters with EzI2Cs Slave on CY8C24x94 | サイプレス セミコンダクタ
CE63792 - CSD Software Filters with EzI2Cs Slave on CY8C24x94
CE63792 describes how to scan one CapSense® button and a five-segment slider regularly and send the data to the master using I2C protocol. This code example also describes how to apply software filters such as average, IIR, and median filters on raw count and the jitter filter on slider centroid position.
This code example incorporates the CapSense sigma delta (CSD) module and EzI2Cs module to send CapSense data to the I2C master. The CapSense module scans all the buttons, slider segments, and applies filters as enabled and continuously stores the raw count, difference count, baseline, sensor status and slider centroid details in a structure defined by MyI2CRegs. This structure is used by the EzI2Cs module to send the data to master whenever required.