ldctouch 2.0.0.0
LDC Touch Registers Settings

Settings for registers of LDC Touch Click driver. More...

Macros

#define LDCTOUCH_STATUS_OUT   0x80
 LDC Touch status settings.
 
#define LDCTOUCH_STATUS_CHIP_READY   0x40
 
#define LDCTOUCH_STATUS_READY_TO_WRITE   0x20
 
#define LDCTOUCH_STATUS_MAXOUT   0x10
 
#define LDCTOUCH_STATUS_FSM_WD   0x08
 
#define LDCTOUCH_STATUS_LC_WD   0x04
 
#define LDCTOUCH_STATUS_TIMEOUT   0x02
 
#define LDCTOUCH_STATUS_REGISTER_FLAG   0x01
 
#define LDCTOUCH_MODE_NORMAL   0x00
 LDC Touch operating mode settings.
 
#define LDCTOUCH_MODE_CONFIG   0x01
 
#define LDCTOUCH_MODE_FULL_RESET   0x10
 
#define LDCTOUCH_EN_CH3_LP   0x80
 LDC Touch enable register settings.
 
#define LDCTOUCH_EN_CH2_LP   0x40
 
#define LDCTOUCH_EN_CH1_LP   0x20
 
#define LDCTOUCH_EN_CH0_LP   0x10
 
#define LDCTOUCH_EN_CH3_NP   0x08
 
#define LDCTOUCH_EN_CH2_NP   0x04
 
#define LDCTOUCH_EN_CH1_NP   0x02
 
#define LDCTOUCH_EN_CH0_NP   0x01
 
#define LDCTOUCH_OPOL3_ACTIVE_HIGH   0x80
 LDC Touch output polarity settings.
 
#define LDCTOUCH_OPOL3_ACTIVE_LOW   0x00
 
#define LDCTOUCH_OPOL2_ACTIVE_HIGH   0x40
 
#define LDCTOUCH_OPOL2_ACTIVE_LOW   0x00
 
#define LDCTOUCH_OPOL1_ACTIVE_HIGH   0x20
 
#define LDCTOUCH_OPOL1_ACTIVE_LOW   0x00
 
#define LDCTOUCH_OPOL0_ACTIVE_HIGH   0x10
 
#define LDCTOUCH_OPOL0_ACTIVE_LOW   0x00
 
#define LDCTOUCH_DPOL3_DATA_INCREASES   0x08
 
#define LDCTOUCH_DPOL3_DATA_DECREASES   0x00
 
#define LDCTOUCH_DPOL2_DATA_INCREASES   0x04
 
#define LDCTOUCH_DPOL2_DATA_DECREASES   0x00
 
#define LDCTOUCH_DPOL1_DATA_INCREASES   0x02
 
#define LDCTOUCH_DPOL1_DATA_DECREASES   0x00
 
#define LDCTOUCH_DPOL0_DATA_INCREASES   0x01
 
#define LDCTOUCH_DPOL0_DATA_DECREASES   0x00
 
#define LDCTOUCH_BUTTON_MODE_FINGER   0x00
 LDC Touch button mode settings.
 
#define LDCTOUCH_BUTTON_MODE_METAL   0x01
 
#define LDCTOUCH_BUTTON_MODE   LDCTOUCH_BUTTON_MODE_FINGER
 
#define LDCTOUCH_MANUFACTURER_ID_LSB   0x49
 LDC Touch device ID values.
 
#define LDCTOUCH_MANUFACTURER_ID_MSB   0x54
 
#define LDCTOUCH_DEVICE_ID_LSB   0x00
 
#define LDCTOUCH_DEVICE_ID_MSB   0x40
 
#define LDCTOUCH_DEVICE_ADDRESS   0x2A
 LDC Touch device address setting.
 

Detailed Description

Settings for registers of LDC Touch Click driver.

Macro Definition Documentation

◆ LDCTOUCH_BUTTON_MODE

#define LDCTOUCH_BUTTON_MODE   LDCTOUCH_BUTTON_MODE_FINGER

◆ LDCTOUCH_BUTTON_MODE_FINGER

#define LDCTOUCH_BUTTON_MODE_FINGER   0x00

LDC Touch button mode settings.

Specified button mode settings of LDC Touch Click driver.

◆ LDCTOUCH_BUTTON_MODE_METAL

#define LDCTOUCH_BUTTON_MODE_METAL   0x01

◆ LDCTOUCH_DEVICE_ADDRESS

#define LDCTOUCH_DEVICE_ADDRESS   0x2A

LDC Touch device address setting.

Specified setting for device slave address selection of LDC Touch Click driver.

◆ LDCTOUCH_DEVICE_ID_LSB

#define LDCTOUCH_DEVICE_ID_LSB   0x00

◆ LDCTOUCH_DEVICE_ID_MSB

#define LDCTOUCH_DEVICE_ID_MSB   0x40

◆ LDCTOUCH_DPOL0_DATA_DECREASES

#define LDCTOUCH_DPOL0_DATA_DECREASES   0x00

◆ LDCTOUCH_DPOL0_DATA_INCREASES

#define LDCTOUCH_DPOL0_DATA_INCREASES   0x01

◆ LDCTOUCH_DPOL1_DATA_DECREASES

#define LDCTOUCH_DPOL1_DATA_DECREASES   0x00

◆ LDCTOUCH_DPOL1_DATA_INCREASES

#define LDCTOUCH_DPOL1_DATA_INCREASES   0x02

◆ LDCTOUCH_DPOL2_DATA_DECREASES

#define LDCTOUCH_DPOL2_DATA_DECREASES   0x00

◆ LDCTOUCH_DPOL2_DATA_INCREASES

#define LDCTOUCH_DPOL2_DATA_INCREASES   0x04

◆ LDCTOUCH_DPOL3_DATA_DECREASES

#define LDCTOUCH_DPOL3_DATA_DECREASES   0x00

◆ LDCTOUCH_DPOL3_DATA_INCREASES

#define LDCTOUCH_DPOL3_DATA_INCREASES   0x08

◆ LDCTOUCH_EN_CH0_LP

#define LDCTOUCH_EN_CH0_LP   0x10

◆ LDCTOUCH_EN_CH0_NP

#define LDCTOUCH_EN_CH0_NP   0x01

◆ LDCTOUCH_EN_CH1_LP

#define LDCTOUCH_EN_CH1_LP   0x20

◆ LDCTOUCH_EN_CH1_NP

#define LDCTOUCH_EN_CH1_NP   0x02

◆ LDCTOUCH_EN_CH2_LP

#define LDCTOUCH_EN_CH2_LP   0x40

◆ LDCTOUCH_EN_CH2_NP

#define LDCTOUCH_EN_CH2_NP   0x04

◆ LDCTOUCH_EN_CH3_LP

#define LDCTOUCH_EN_CH3_LP   0x80

LDC Touch enable register settings.

Specified enable register settings of LDC Touch Click driver.

◆ LDCTOUCH_EN_CH3_NP

#define LDCTOUCH_EN_CH3_NP   0x08

◆ LDCTOUCH_MANUFACTURER_ID_LSB

#define LDCTOUCH_MANUFACTURER_ID_LSB   0x49

LDC Touch device ID values.

Specified device ID values of LDC Touch Click driver.

◆ LDCTOUCH_MANUFACTURER_ID_MSB

#define LDCTOUCH_MANUFACTURER_ID_MSB   0x54

◆ LDCTOUCH_MODE_CONFIG

#define LDCTOUCH_MODE_CONFIG   0x01

◆ LDCTOUCH_MODE_FULL_RESET

#define LDCTOUCH_MODE_FULL_RESET   0x10

◆ LDCTOUCH_MODE_NORMAL

#define LDCTOUCH_MODE_NORMAL   0x00

LDC Touch operating mode settings.

Specified operating mode settings of LDC Touch Click driver.

◆ LDCTOUCH_OPOL0_ACTIVE_HIGH

#define LDCTOUCH_OPOL0_ACTIVE_HIGH   0x10

◆ LDCTOUCH_OPOL0_ACTIVE_LOW

#define LDCTOUCH_OPOL0_ACTIVE_LOW   0x00

◆ LDCTOUCH_OPOL1_ACTIVE_HIGH

#define LDCTOUCH_OPOL1_ACTIVE_HIGH   0x20

◆ LDCTOUCH_OPOL1_ACTIVE_LOW

#define LDCTOUCH_OPOL1_ACTIVE_LOW   0x00

◆ LDCTOUCH_OPOL2_ACTIVE_HIGH

#define LDCTOUCH_OPOL2_ACTIVE_HIGH   0x40

◆ LDCTOUCH_OPOL2_ACTIVE_LOW

#define LDCTOUCH_OPOL2_ACTIVE_LOW   0x00

◆ LDCTOUCH_OPOL3_ACTIVE_HIGH

#define LDCTOUCH_OPOL3_ACTIVE_HIGH   0x80

LDC Touch output polarity settings.

Specified output polarity settings of LDC Touch Click driver.

◆ LDCTOUCH_OPOL3_ACTIVE_LOW

#define LDCTOUCH_OPOL3_ACTIVE_LOW   0x00

◆ LDCTOUCH_STATUS_CHIP_READY

#define LDCTOUCH_STATUS_CHIP_READY   0x40

◆ LDCTOUCH_STATUS_FSM_WD

#define LDCTOUCH_STATUS_FSM_WD   0x08

◆ LDCTOUCH_STATUS_LC_WD

#define LDCTOUCH_STATUS_LC_WD   0x04

◆ LDCTOUCH_STATUS_MAXOUT

#define LDCTOUCH_STATUS_MAXOUT   0x10

◆ LDCTOUCH_STATUS_OUT

#define LDCTOUCH_STATUS_OUT   0x80

LDC Touch status settings.

Specified status settings of LDC Touch Click driver.

◆ LDCTOUCH_STATUS_READY_TO_WRITE

#define LDCTOUCH_STATUS_READY_TO_WRITE   0x20

◆ LDCTOUCH_STATUS_REGISTER_FLAG

#define LDCTOUCH_STATUS_REGISTER_FLAG   0x01

◆ LDCTOUCH_STATUS_TIMEOUT

#define LDCTOUCH_STATUS_TIMEOUT   0x02