You are here

CapSense API - which function to read signals displayed in Tuner GUI | Cypress Semiconductor

CapSense API - which function to read signals displayed in Tuner GUI

Summary: 2 Replies, Latest post by Yuva Vignesh Muruganandam on 19 Sep 2016 09:23 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
programming_µcs's picture
User
10 posts

Hi everyone,

can anyone tell me which API functions to use in order to get the signal values of the elements of a slider as displayed in the TUNER GUI?

I have scanned through the API, but all I can do is read whether the widget is active or not?

But how can I extract the signal (not the position or centroid?) without changing the configuration or updating the baselines?

Regards Julian

 

gani's picture
Cypress Employee
10 posts

Hi Julian,

One thing you can do is you can configure the slider sensor elements as the capSense buttons and use the APIs CapSense_GetSensorRaw() to read the rawcount data.

Regards,

Ganesh.

yuva's picture
Cypress Employee
34 posts

Hi Julian,

You can use CapSense_GetDiffCountData(uint32 sensor) API to get the signal value for CSD 2.40 component and CapSense_GetParam() API incase of CSD 3.0 component.

Thanks,

Yuva.

Log in to post new comments.