CAPSENSE™ Middleware Library 5.0
Pin-related Macros

General Description

Pin-related macros.

Macros

#define CY_CAPSENSE_GROUND   (0u)
 Connection of pin to ground.
 
#define CY_CAPSENSE_HIGHZ   (1u)
 Connection of pin to High-Z.
 
#define CY_CAPSENSE_SHIELD   (2u)
 Configuring of pin as a shield.
 
#define CY_CAPSENSE_SENSOR   (3u)
 Configuring of pin as a CSD sensor.
 
#define CY_CAPSENSE_TX_PIN   (4u)
 Configuring of pin as a CSX Tx electrode.
 
#define CY_CAPSENSE_RX_PIN   (5u)
 Configuring of pin as a CSX Rx electrode.
 
#define CY_CAPSENSE_NEGATIVE_TX_PIN   (6u)
 Configuring of pin as a negative Tx. More...
 
#define CY_CAPSENSE_ISX_LX_PIN   (7u)
 Configuring of pin as an ISX Lx. More...
 
#define CY_CAPSENSE_ISX_RX_PIN   (8u)
 Configuring of pin as an ISX Rx. More...
 
#define CY_CAPSENSE_VDDA2   (9u)
 Configuring of pin as an VDDA/2. More...
 
#define CY_CAPSENSE_SNS_DISCONNECTED   (0u)
 Pin is not connected to scanning bus.
 
#define CY_CAPSENSE_SNS_CONNECTED   (1u)
 Pin is connected to scanning bus.
 
#define CY_CAPSENSE_MSCLP_GPIO_MSC_ANA_DIS   (0u)
 Defines pin state as not controlled by / disconnected from MSCLP HW block.
 
#define CY_CAPSENSE_MSCLP_GPIO_MSC_ANA_EN   (1u)
 Defines pin state as controlled by / connected to MSCLP HW block.
 

Macro Definition Documentation

◆ CY_CAPSENSE_NEGATIVE_TX_PIN

#define CY_CAPSENSE_NEGATIVE_TX_PIN   (6u)

Configuring of pin as a negative Tx.

Note
This macro is available only for the fifth-generation CAPSENSE™ and the fifth-generation low power CAPSENSE™

◆ CY_CAPSENSE_ISX_LX_PIN

#define CY_CAPSENSE_ISX_LX_PIN   (7u)

Configuring of pin as an ISX Lx.

Note
This macro is available only for the fifth-generation CAPSENSE™ and the fifth-generation low power CAPSENSE™

◆ CY_CAPSENSE_ISX_RX_PIN

#define CY_CAPSENSE_ISX_RX_PIN   (8u)

Configuring of pin as an ISX Rx.

Note
This macro is available only for the fifth-generation CAPSENSE™ and the fifth-generation low power CAPSENSE™

◆ CY_CAPSENSE_VDDA2

#define CY_CAPSENSE_VDDA2   (9u)

Configuring of pin as an VDDA/2.

Note
This macro is available only for the fifth-generation CAPSENSE™ and the fifth-generation low power CAPSENSE™