1 Reply Latest reply on Jul 14, 2018 1:45 AM by nsha

    PSOC4  Proximity API issue?

    DavidW.Zhang_2976111

        In Capsense V5.1 ,   uint32 CapSense_IsProximitySensorActive (uint32 widgetId, uint32 proxId), what's the return?

      how Bit[1]=1 represent touched? or Bit[1]=0, what's it represent? and what's of bit[0] mean? please explain???

        • 1. Re: PSOC4  Proximity API issue?
          nsha

          Hi David,

           

          There are two thresholds that can be set for proximity sensor: touch and proximity threshold.

          Proximity threshold is defined as the level to detect an approaching hand/finger.

          Touch threshold is defined as the level to detect a touch on the sensor (Touch threshold will always be greater than proximity threshold).

           

          Bit[1] indicates if the signal/difference counts is above the touch threshold.

          Bit[0] indicates if the signal/difference counts is above the proximity threshold.

           

          You can refer to page 108 of http://www.cypress.com/file/420216/download (CapSense component datasheet: Sns status)

           

          Thanks,

          Shanmathi