capsense2 2.0.0.0
CapSense 2 Registers Settings

Settings for registers of CapSense 2 Click driver. More...

Macros

#define CAPSENSE2_MAIN_STATUS_CONTROL_DEACT   0x40
 CapSense 2 main status control register values.
 
#define CAPSENSE2_MAIN_STATUS_CONTROL_SLEEP   0x20
 
#define CAPSENSE2_MAIN_STATUS_CONTROL_DSLEEP   0x10
 
#define CAPSENSE2_MAIN_STATUS_CONTROL_PWR_LED   0x02
 
#define CAPSENSE2_MAIN_STATUS_CONTROL_INT   0x01
 
#define CAPSENSE2_BUTTON_STATUS_1_UP_SLIDER   0x80
 CapSense 2 button status 1 register values.
 
#define CAPSENSE2_BUTTON_STATUS_1_DOWN_SLIDER   0x40
 
#define CAPSENSE2_BUTTON_STATUS_1_BUTTON_2   0x02
 
#define CAPSENSE2_BUTTON_STATUS_1_BUTTON_1   0x01
 
#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_ENABLE   0x80
 CapSense 2 multiple press configuration register values.
 
#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_1   0x00
 
#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_2   0x04
 
#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_3   0x08
 
#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_4   0x0C
 
#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_2   0x00
 
#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_3   0x01
 
#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_4   0x02
 
#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_1   0x03
 
#define CAPSENSE2_CONFIGURATION_TIMEOUT   0x80
 CapSense 2 configuration register values.
 
#define CAPSENSE2_CONFIGURATION_POS_VOL   0x40
 
#define CAPSENSE2_CONFIGURATION_BLK_DIG_NOISE   0x20
 
#define CAPSENSE2_CONFIGURATION_BLK_ANA_NOISE   0x10
 
#define CAPSENSE2_CONFIGURATION_MAX_DUR_EN_B   0x08
 
#define CAPSENSE2_CONFIGURATION_RPT_EN_B   0x04
 
#define CAPSENSE2_CONFIGURATION_MAX_DUR_EN_G   0x02
 
#define CAPSENSE2_CONFIGURATION_RPT_EN_G   0x01
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_EXTRA_INT_EN   0x80
 CapSense 2 slider velocity configuration register values.
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_0   0x00
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_1   0x10
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_2   0x20
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_3   0x30
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_4   0x40
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_5   0x50
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_6   0x60
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_7   0x70
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_350   0x00
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_560   0x04
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_770   0x08
 
#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_980   0x0C
 
#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED1   0x01
 CapSense 2 led direction register values.
 
#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED2   0x02
 
#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED3   0x04
 
#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED4   0x08
 
#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED5   0x10
 
#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED6   0x20
 
#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED7   0x40
 
#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED8   0x80
 
#define CAPSENSE2_SENSOR_LED_LINKING_CS1_LED1   0x01
 CapSense 2 sensor led linking register values.
 
#define CAPSENSE2_SENSOR_LED_LINKING_CS2_LED2   0x02
 
#define CAPSENSE2_SENSOR_LED_LINKING_CS3_LED3   0x04
 
#define CAPSENSE2_SENSOR_LED_LINKING_CS4_LED4   0x08
 
#define CAPSENSE2_SENSOR_LED_LINKING_CS5_LED5   0x10
 
#define CAPSENSE2_SENSOR_LED_LINKING_CS6_LED6   0x20
 
#define CAPSENSE2_SENSOR_LED_LINKING_CS7_LED7   0x40
 
#define CAPSENSE2_SENSOR_LED_LINKING_UP_DOWN_LINK   0x80
 
#define CAPSENSE2_VENDOR_ID   0x5D
 CapSense 2 ID values.
 
#define CAPSENSE2_MANUFACTURER_ID   0x5D
 
#define CAPSENSE2_PRODUCT_ID   0x3A
 
#define CAPSENSE2_SET_DEV_ADDR   0x28
 CapSense 2 device address setting.
 

Detailed Description

Settings for registers of CapSense 2 Click driver.

Macro Definition Documentation

◆ CAPSENSE2_BUTTON_STATUS_1_BUTTON_1

#define CAPSENSE2_BUTTON_STATUS_1_BUTTON_1   0x01

◆ CAPSENSE2_BUTTON_STATUS_1_BUTTON_2

#define CAPSENSE2_BUTTON_STATUS_1_BUTTON_2   0x02

◆ CAPSENSE2_BUTTON_STATUS_1_DOWN_SLIDER

#define CAPSENSE2_BUTTON_STATUS_1_DOWN_SLIDER   0x40

◆ CAPSENSE2_BUTTON_STATUS_1_UP_SLIDER

#define CAPSENSE2_BUTTON_STATUS_1_UP_SLIDER   0x80

CapSense 2 button status 1 register values.

Specified main status control register values of CapSense 2 Click driver.

◆ CAPSENSE2_CONFIGURATION_BLK_ANA_NOISE

#define CAPSENSE2_CONFIGURATION_BLK_ANA_NOISE   0x10

◆ CAPSENSE2_CONFIGURATION_BLK_DIG_NOISE

#define CAPSENSE2_CONFIGURATION_BLK_DIG_NOISE   0x20

◆ CAPSENSE2_CONFIGURATION_MAX_DUR_EN_B

#define CAPSENSE2_CONFIGURATION_MAX_DUR_EN_B   0x08

◆ CAPSENSE2_CONFIGURATION_MAX_DUR_EN_G

#define CAPSENSE2_CONFIGURATION_MAX_DUR_EN_G   0x02

◆ CAPSENSE2_CONFIGURATION_POS_VOL

#define CAPSENSE2_CONFIGURATION_POS_VOL   0x40

◆ CAPSENSE2_CONFIGURATION_RPT_EN_B

#define CAPSENSE2_CONFIGURATION_RPT_EN_B   0x04

◆ CAPSENSE2_CONFIGURATION_RPT_EN_G

#define CAPSENSE2_CONFIGURATION_RPT_EN_G   0x01

◆ CAPSENSE2_CONFIGURATION_TIMEOUT

#define CAPSENSE2_CONFIGURATION_TIMEOUT   0x80

CapSense 2 configuration register values.

Specified configuration register values of CapSense 2 Click driver.

◆ CAPSENSE2_LED_DIRECTION_OUTPUT_LED1

#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED1   0x01

CapSense 2 led direction register values.

Specified led direction register values of CapSense 2 Click driver.

◆ CAPSENSE2_LED_DIRECTION_OUTPUT_LED2

#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED2   0x02

◆ CAPSENSE2_LED_DIRECTION_OUTPUT_LED3

#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED3   0x04

◆ CAPSENSE2_LED_DIRECTION_OUTPUT_LED4

#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED4   0x08

◆ CAPSENSE2_LED_DIRECTION_OUTPUT_LED5

#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED5   0x10

◆ CAPSENSE2_LED_DIRECTION_OUTPUT_LED6

#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED6   0x20

◆ CAPSENSE2_LED_DIRECTION_OUTPUT_LED7

#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED7   0x40

◆ CAPSENSE2_LED_DIRECTION_OUTPUT_LED8

#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED8   0x80

◆ CAPSENSE2_MAIN_STATUS_CONTROL_DEACT

#define CAPSENSE2_MAIN_STATUS_CONTROL_DEACT   0x40

CapSense 2 main status control register values.

Specified main status control register values of CapSense 2 Click driver.

◆ CAPSENSE2_MAIN_STATUS_CONTROL_DSLEEP

#define CAPSENSE2_MAIN_STATUS_CONTROL_DSLEEP   0x10

◆ CAPSENSE2_MAIN_STATUS_CONTROL_INT

#define CAPSENSE2_MAIN_STATUS_CONTROL_INT   0x01

◆ CAPSENSE2_MAIN_STATUS_CONTROL_PWR_LED

#define CAPSENSE2_MAIN_STATUS_CONTROL_PWR_LED   0x02

◆ CAPSENSE2_MAIN_STATUS_CONTROL_SLEEP

#define CAPSENSE2_MAIN_STATUS_CONTROL_SLEEP   0x20

◆ CAPSENSE2_MANUFACTURER_ID

#define CAPSENSE2_MANUFACTURER_ID   0x5D

◆ CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_1

#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_1   0x00

◆ CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_2

#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_2   0x04

◆ CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_3

#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_3   0x08

◆ CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_4

#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_BUTTONS_4   0x0C

◆ CAPSENSE2_MULTIPLE_PRESS_CONFIG_ENABLE

#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_ENABLE   0x80

CapSense 2 multiple press configuration register values.

Specified multiple press configuration register values of CapSense 2 Click driver.

◆ CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_1

#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_1   0x03

◆ CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_2

#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_2   0x00

◆ CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_3

#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_3   0x01

◆ CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_4

#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_4   0x02

◆ CAPSENSE2_PRODUCT_ID

#define CAPSENSE2_PRODUCT_ID   0x3A

◆ CAPSENSE2_SENSOR_LED_LINKING_CS1_LED1

#define CAPSENSE2_SENSOR_LED_LINKING_CS1_LED1   0x01

CapSense 2 sensor led linking register values.

Specified sensor led linking register values of CapSense 2 Click driver.

◆ CAPSENSE2_SENSOR_LED_LINKING_CS2_LED2

#define CAPSENSE2_SENSOR_LED_LINKING_CS2_LED2   0x02

◆ CAPSENSE2_SENSOR_LED_LINKING_CS3_LED3

#define CAPSENSE2_SENSOR_LED_LINKING_CS3_LED3   0x04

◆ CAPSENSE2_SENSOR_LED_LINKING_CS4_LED4

#define CAPSENSE2_SENSOR_LED_LINKING_CS4_LED4   0x08

◆ CAPSENSE2_SENSOR_LED_LINKING_CS5_LED5

#define CAPSENSE2_SENSOR_LED_LINKING_CS5_LED5   0x10

◆ CAPSENSE2_SENSOR_LED_LINKING_CS6_LED6

#define CAPSENSE2_SENSOR_LED_LINKING_CS6_LED6   0x20

◆ CAPSENSE2_SENSOR_LED_LINKING_CS7_LED7

#define CAPSENSE2_SENSOR_LED_LINKING_CS7_LED7   0x40

◆ CAPSENSE2_SENSOR_LED_LINKING_UP_DOWN_LINK

#define CAPSENSE2_SENSOR_LED_LINKING_UP_DOWN_LINK   0x80

◆ CAPSENSE2_SET_DEV_ADDR

#define CAPSENSE2_SET_DEV_ADDR   0x28

CapSense 2 device address setting.

Specified setting for device slave address selection of CapSense 2 Click driver.

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_EXTRA_INT_EN

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_EXTRA_INT_EN   0x80

CapSense 2 slider velocity configuration register values.

Specified slider velocity configuration register values of CapSense 2 Click driver.

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_0

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_0   0x00

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_1

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_1   0x10

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_2

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_2   0x20

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_3

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_3   0x30

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_4

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_4   0x40

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_5

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_5   0x50

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_6

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_6   0x60

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_7

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_MAX_INT_7   0x70

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_350

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_350   0x00

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_560

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_560   0x04

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_770

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_770   0x08

◆ CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_980

#define CAPSENSE2_SLIDER_VELOCITY_CONFIG_SLIDE_TIME_980   0x0C

◆ CAPSENSE2_VENDOR_ID

#define CAPSENSE2_VENDOR_ID   0x5D

CapSense 2 ID values.

Specified ID values of CapSense 2 Click driver.