ldc 2.0.0.0
LDC Registers Settings

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

Macros

#define LDC_MANUFACTURER_ID   0x5449
 LDC identification data.
 
#define LDC_DEVICE_ID   0x3054
 
#define LDC_INTERNAL_FREQUENCY   43.4/*<MHz*/
 LDC measurement data.
 
#define LDC_FREQUENCY_RESOLUTION   4096
 
#define LDC_SENSOR_CAPACITANCE   0.00022/*<uF*/
 
#define LDC_MATH_TWO_PI   6.28318530717958
 
#define LDC_GAIN_1   0x0000
 Gain configuration.
 
#define LDC_GAIN_4   0x0200
 
#define LDC_GAIN_8   0x0400
 
#define LDC_GAIN_16   0x0600
 
#define LDC_OVER_RANGE   0x8
 Error status data from data register.
 
#define LDC_UNDER_RANGE   0x4
 
#define LDC_WATCHDOG   0x3
 
#define LDC_STATUS_DRDY   0x0040
 Status register.
 
#define LDC_SET_DEV_ADDR   0x2B
 LDC device address setting.
 

Detailed Description

Settings for registers of LDC Click driver.

Macro Definition Documentation

◆ LDC_DEVICE_ID

#define LDC_DEVICE_ID   0x3054

◆ LDC_FREQUENCY_RESOLUTION

#define LDC_FREQUENCY_RESOLUTION   4096

◆ LDC_GAIN_1

#define LDC_GAIN_1   0x0000

Gain configuration.

Specified gain values configuration of LDC Click driver.

◆ LDC_GAIN_16

#define LDC_GAIN_16   0x0600

◆ LDC_GAIN_4

#define LDC_GAIN_4   0x0200

◆ LDC_GAIN_8

#define LDC_GAIN_8   0x0400

◆ LDC_INTERNAL_FREQUENCY

#define LDC_INTERNAL_FREQUENCY   43.4/*<MHz*/

LDC measurement data.

Specified measurement data for LDC Click driver.

◆ LDC_MANUFACTURER_ID

#define LDC_MANUFACTURER_ID   0x5449

LDC identification data.

Specified ID's for LDC Click driver.

◆ LDC_MATH_TWO_PI

#define LDC_MATH_TWO_PI   6.28318530717958

◆ LDC_OVER_RANGE

#define LDC_OVER_RANGE   0x8

Error status data from data register.

Specified error status data from data register of LDC Click driver.

◆ LDC_SENSOR_CAPACITANCE

#define LDC_SENSOR_CAPACITANCE   0.00022/*<uF*/

◆ LDC_SET_DEV_ADDR

#define LDC_SET_DEV_ADDR   0x2B

LDC device address setting.

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

◆ LDC_STATUS_DRDY

#define LDC_STATUS_DRDY   0x0040

Status register.

Specified status register of LDC Click driver.

◆ LDC_UNDER_RANGE

#define LDC_UNDER_RANGE   0x4

◆ LDC_WATCHDOG

#define LDC_WATCHDOG   0x3