CE54362 - CSA WITH I2CHW SLAVE ON CY8C20X34 | Cypress Semiconductor
CE54362 - CSA WITH I2CHW SLAVE ON CY8C20X34
CE54362 describes how to scan five CapSense® buttons regularly and send the data to the master using I2C protocol.
This code example incorporates CapSense Successive Approximation (CSA) module and I2CHW module 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 master when required.