adc16 2.0.0.0
ADC 16 Registers Settings

Settings for registers of ADC 16 Click driver. More...

Macros

#define ADC16_WKEY_UNLOCK   0x0A
 ADC 16 WKEY values.
 
#define ADC16_WKEY_LOCK   0x00
 
#define ADC16_DEVICE_RESET   0x01
 ADC 16 device reset value.
 
#define ADC16_START_CALIBRATION   0x01
 ADC 16 start calibration value.
 
#define ADC16_CH_CFG_TWO_CH_SINGLE_END   0x00
 ADC 16 channel input config values.
 
#define ADC16_CH_CFG_SIN_CH_SINGLE_END_RMT_GND   0x01
 
#define ADC16_CH_CFG_SIN_CH_SINGLE_END_PSEUDO_DIFF   0x02
 
#define ADC16_OPMODE_SEL_MAN_WITH_CH0   0x00
 ADC 16 opmode sel values.
 
#define ADC16_OPMODE_SEL_MAN_WITH_AUTO_SEQ   0x04
 
#define ADC16_OPMODE_SEL_AUTO_WITH_AUTO_SEQ   0x06
 
#define ADC16_OPMODE_SEL_HIGH_PREC_WITH_AUTO_SEQ   0x07
 
#define ADC16_AUTOSEQ_EN_CH0   0x01
 ADC 16 auto sequence channel enable values.
 
#define ADC16_AUTOSEQ_EN_CH1   0x02
 
#define ADC16_AUTOSEQ_EN_BOTH_CH   0x03
 
#define ADC16_START_SEQUENCE   0x01
 ADC 16 start and abort sequence values.
 
#define ADC16_ABORT_SEQUENCE   0x01
 
#define ADC16_RESOLUTION   0x0FFF
 ADC 16 calculation values.
 
#define ADC16_VREF   3.3
 
#define ADC16_DEV_ADDR_R1_0_R2_DNP   0x1F
 ADC 16 device address setting.
 
#define ADC16_DEV_ADDR_R1_11K_R2_DNP   0x1E
 
#define ADC16_DEV_ADDR_R1_33K_R2_DNP   0x1D
 
#define ADC16_DEV_ADDR_R1_100K_R2_DNP   0x1C
 
#define ADC16_DEV_ADDR_R1_DNP_R2_DNP   0x18
 
#define ADC16_DEV_ADDR_R1_DNP_R2_11K   0x19
 
#define ADC16_DEV_ADDR_R1_DNP_R2_33K   0x1A
 
#define ADC16_DEV_ADDR_R1_DNP_R2_100K   0x1B
 

Detailed Description

Settings for registers of ADC 16 Click driver.

Macro Definition Documentation

◆ ADC16_ABORT_SEQUENCE

#define ADC16_ABORT_SEQUENCE   0x01

◆ ADC16_AUTOSEQ_EN_BOTH_CH

#define ADC16_AUTOSEQ_EN_BOTH_CH   0x03

◆ ADC16_AUTOSEQ_EN_CH0

#define ADC16_AUTOSEQ_EN_CH0   0x01

ADC 16 auto sequence channel enable values.

Specified auto sequence channel enable values of ADC 16 Click driver.

◆ ADC16_AUTOSEQ_EN_CH1

#define ADC16_AUTOSEQ_EN_CH1   0x02

◆ ADC16_CH_CFG_SIN_CH_SINGLE_END_PSEUDO_DIFF

#define ADC16_CH_CFG_SIN_CH_SINGLE_END_PSEUDO_DIFF   0x02

◆ ADC16_CH_CFG_SIN_CH_SINGLE_END_RMT_GND

#define ADC16_CH_CFG_SIN_CH_SINGLE_END_RMT_GND   0x01

◆ ADC16_CH_CFG_TWO_CH_SINGLE_END

#define ADC16_CH_CFG_TWO_CH_SINGLE_END   0x00

ADC 16 channel input config values.

Specified channel input config values of ADC 16 Click driver.

◆ ADC16_DEV_ADDR_R1_0_R2_DNP

#define ADC16_DEV_ADDR_R1_0_R2_DNP   0x1F

ADC 16 device address setting.

Specified setting for device slave address selection of ADC 16 Click driver.

◆ ADC16_DEV_ADDR_R1_100K_R2_DNP

#define ADC16_DEV_ADDR_R1_100K_R2_DNP   0x1C

◆ ADC16_DEV_ADDR_R1_11K_R2_DNP

#define ADC16_DEV_ADDR_R1_11K_R2_DNP   0x1E

◆ ADC16_DEV_ADDR_R1_33K_R2_DNP

#define ADC16_DEV_ADDR_R1_33K_R2_DNP   0x1D

◆ ADC16_DEV_ADDR_R1_DNP_R2_100K

#define ADC16_DEV_ADDR_R1_DNP_R2_100K   0x1B

◆ ADC16_DEV_ADDR_R1_DNP_R2_11K

#define ADC16_DEV_ADDR_R1_DNP_R2_11K   0x19

◆ ADC16_DEV_ADDR_R1_DNP_R2_33K

#define ADC16_DEV_ADDR_R1_DNP_R2_33K   0x1A

◆ ADC16_DEV_ADDR_R1_DNP_R2_DNP

#define ADC16_DEV_ADDR_R1_DNP_R2_DNP   0x18

◆ ADC16_DEVICE_RESET

#define ADC16_DEVICE_RESET   0x01

ADC 16 device reset value.

Specified device reset value of ADC 16 Click driver.

◆ ADC16_OPMODE_SEL_AUTO_WITH_AUTO_SEQ

#define ADC16_OPMODE_SEL_AUTO_WITH_AUTO_SEQ   0x06

◆ ADC16_OPMODE_SEL_HIGH_PREC_WITH_AUTO_SEQ

#define ADC16_OPMODE_SEL_HIGH_PREC_WITH_AUTO_SEQ   0x07

◆ ADC16_OPMODE_SEL_MAN_WITH_AUTO_SEQ

#define ADC16_OPMODE_SEL_MAN_WITH_AUTO_SEQ   0x04

◆ ADC16_OPMODE_SEL_MAN_WITH_CH0

#define ADC16_OPMODE_SEL_MAN_WITH_CH0   0x00

ADC 16 opmode sel values.

Specified opmode sel values of ADC 16 Click driver.

◆ ADC16_RESOLUTION

#define ADC16_RESOLUTION   0x0FFF

ADC 16 calculation values.

Specified calculation values of ADC 16 Click driver.

◆ ADC16_START_CALIBRATION

#define ADC16_START_CALIBRATION   0x01

ADC 16 start calibration value.

Specified start calibration value of ADC 16 Click driver.

◆ ADC16_START_SEQUENCE

#define ADC16_START_SEQUENCE   0x01

ADC 16 start and abort sequence values.

Specified start and abort sequence values of ADC 16 Click driver.

◆ ADC16_VREF

#define ADC16_VREF   3.3

◆ ADC16_WKEY_LOCK

#define ADC16_WKEY_LOCK   0x00

◆ ADC16_WKEY_UNLOCK

#define ADC16_WKEY_UNLOCK   0x0A

ADC 16 WKEY values.

Specified WKEY values of ADC 16 Click driver.