You are here

CE54363 - CSA with I2CHW Slave on CY8C20xx6 | Cypress Semiconductor

CE54363 - CSA with I2CHW Slave on CY8C20xx6

Last Updated: 
Jan 20, 2015
Version: 
*E

CE54363 describes how to scan four 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 My I2CRegs. This structure is used by the I2CHW module to send the data to master when required.