CE54364 - CSD with I2CHW Slave on CY8C20xx6 | Cypress Semiconductor
CE54364 - CSD with I2CHW Slave on CY8C20xx6
CE54364 describes how to scan four CapSense® buttons regularly and send the data to the master using I2C protocol.
This code example incorporates CapSense Sigma Delta (CSD) and I2CHW modules to send the CapSense data to the I2C master. The CapSense module scans all the buttons continuously and stores the raw count, difference count, and baseline details in a structure defined by MyI2CRegs. This structure is used by the I2CHW module to send the data to the master when required.