capsense2 2.0.0.0
|
Settings for registers of CapSense 2 Click driver. More...
Settings for registers of CapSense 2 Click driver.
#define CAPSENSE2_BUTTON_STATUS_1_BUTTON_1 0x01 |
#define CAPSENSE2_BUTTON_STATUS_1_BUTTON_2 0x02 |
#define CAPSENSE2_BUTTON_STATUS_1_DOWN_SLIDER 0x40 |
#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.
#define CAPSENSE2_CONFIGURATION_BLK_ANA_NOISE 0x10 |
#define CAPSENSE2_CONFIGURATION_BLK_DIG_NOISE 0x20 |
#define CAPSENSE2_CONFIGURATION_MAX_DUR_EN_B 0x08 |
#define CAPSENSE2_CONFIGURATION_MAX_DUR_EN_G 0x02 |
#define CAPSENSE2_CONFIGURATION_POS_VOL 0x40 |
#define CAPSENSE2_CONFIGURATION_RPT_EN_B 0x04 |
#define CAPSENSE2_CONFIGURATION_RPT_EN_G 0x01 |
#define CAPSENSE2_CONFIGURATION_TIMEOUT 0x80 |
CapSense 2 configuration register values.
Specified configuration register values of CapSense 2 Click driver.
#define CAPSENSE2_LED_DIRECTION_OUTPUT_LED1 0x01 |
CapSense 2 led direction register values.
Specified led direction register values of CapSense 2 Click driver.
#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_MAIN_STATUS_CONTROL_DEACT 0x40 |
CapSense 2 main status control register values.
Specified main status control register values of CapSense 2 Click driver.
#define CAPSENSE2_MAIN_STATUS_CONTROL_DSLEEP 0x10 |
#define CAPSENSE2_MAIN_STATUS_CONTROL_INT 0x01 |
#define CAPSENSE2_MAIN_STATUS_CONTROL_PWR_LED 0x02 |
#define CAPSENSE2_MAIN_STATUS_CONTROL_SLEEP 0x20 |
#define CAPSENSE2_MANUFACTURER_ID 0x5D |
#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_ENABLE 0x80 |
CapSense 2 multiple press configuration register values.
Specified multiple press configuration register values of CapSense 2 Click driver.
#define CAPSENSE2_MULTIPLE_PRESS_CONFIG_GROUP_1 0x03 |
#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_PRODUCT_ID 0x3A |
#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.
#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_SET_DEV_ADDR 0x28 |
CapSense 2 device address setting.
Specified setting for device slave address selection of CapSense 2 Click driver.
#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.
#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_VENDOR_ID 0x5D |
CapSense 2 ID values.
Specified ID values of CapSense 2 Click driver.