adac3 2.0.0.0
ADAC 3 Registers Settings

Settings for registers of ADAC 3 Click driver. More...

Macros

#define ADAC3_CONTROL_AOUT_ENABLE   0x40
 ADAC 3 control byte settings.
 
#define ADAC3_CONTROL_AIN_SINGLE_ENDED   0x00
 
#define ADAC3_CONTROL_AIN_3_DIFFERENTIAL   0x10
 
#define ADAC3_CONTROL_AIN_MIXED   0x20
 
#define ADAC3_CONTROL_AIN_2_DIFFERENTIAL   0x30
 
#define ADAC3_CONTROL_AUTO_INCREMENT   0x04
 
#define ADAC3_CONTROL_AD_CH0   0x00
 
#define ADAC3_CONTROL_AD_CH1   0x01
 
#define ADAC3_CONTROL_AD_CH2   0x02
 
#define ADAC3_CONTROL_AD_CH3   0x03
 
#define ADAC3_VREF_2048mV   2048.0
 ADAC 3 calculation values.
 
#define ADAC3_VREF_4096mV   4096.0
 
#define ADAC3_RESOLUTION   0xFF
 
#define ADAC3_DEVICE_ADDRESS_A2A1A0_000   0x48
 ADAC 3 device address setting.
 
#define ADAC3_DEVICE_ADDRESS_A2A1A0_001   0x49
 
#define ADAC3_DEVICE_ADDRESS_A2A1A0_010   0x4A
 
#define ADAC3_DEVICE_ADDRESS_A2A1A0_011   0x4B
 
#define ADAC3_DEVICE_ADDRESS_A2A1A0_100   0x4C
 
#define ADAC3_DEVICE_ADDRESS_A2A1A0_101   0x4D
 
#define ADAC3_DEVICE_ADDRESS_A2A1A0_110   0x4E
 
#define ADAC3_DEVICE_ADDRESS_A2A1A0_111   0x4F
 

Detailed Description

Settings for registers of ADAC 3 Click driver.

Macro Definition Documentation

◆ ADAC3_CONTROL_AD_CH0

#define ADAC3_CONTROL_AD_CH0   0x00

◆ ADAC3_CONTROL_AD_CH1

#define ADAC3_CONTROL_AD_CH1   0x01

◆ ADAC3_CONTROL_AD_CH2

#define ADAC3_CONTROL_AD_CH2   0x02

◆ ADAC3_CONTROL_AD_CH3

#define ADAC3_CONTROL_AD_CH3   0x03

◆ ADAC3_CONTROL_AIN_2_DIFFERENTIAL

#define ADAC3_CONTROL_AIN_2_DIFFERENTIAL   0x30

◆ ADAC3_CONTROL_AIN_3_DIFFERENTIAL

#define ADAC3_CONTROL_AIN_3_DIFFERENTIAL   0x10

◆ ADAC3_CONTROL_AIN_MIXED

#define ADAC3_CONTROL_AIN_MIXED   0x20

◆ ADAC3_CONTROL_AIN_SINGLE_ENDED

#define ADAC3_CONTROL_AIN_SINGLE_ENDED   0x00

◆ ADAC3_CONTROL_AOUT_ENABLE

#define ADAC3_CONTROL_AOUT_ENABLE   0x40

ADAC 3 control byte settings.

Specified control byte settings of ADAC 3 Click driver.

◆ ADAC3_CONTROL_AUTO_INCREMENT

#define ADAC3_CONTROL_AUTO_INCREMENT   0x04

◆ ADAC3_DEVICE_ADDRESS_A2A1A0_000

#define ADAC3_DEVICE_ADDRESS_A2A1A0_000   0x48

ADAC 3 device address setting.

Specified setting for device slave address selection of ADAC 3 Click driver.

◆ ADAC3_DEVICE_ADDRESS_A2A1A0_001

#define ADAC3_DEVICE_ADDRESS_A2A1A0_001   0x49

◆ ADAC3_DEVICE_ADDRESS_A2A1A0_010

#define ADAC3_DEVICE_ADDRESS_A2A1A0_010   0x4A

◆ ADAC3_DEVICE_ADDRESS_A2A1A0_011

#define ADAC3_DEVICE_ADDRESS_A2A1A0_011   0x4B

◆ ADAC3_DEVICE_ADDRESS_A2A1A0_100

#define ADAC3_DEVICE_ADDRESS_A2A1A0_100   0x4C

◆ ADAC3_DEVICE_ADDRESS_A2A1A0_101

#define ADAC3_DEVICE_ADDRESS_A2A1A0_101   0x4D

◆ ADAC3_DEVICE_ADDRESS_A2A1A0_110

#define ADAC3_DEVICE_ADDRESS_A2A1A0_110   0x4E

◆ ADAC3_DEVICE_ADDRESS_A2A1A0_111

#define ADAC3_DEVICE_ADDRESS_A2A1A0_111   0x4F

◆ ADAC3_RESOLUTION

#define ADAC3_RESOLUTION   0xFF

◆ ADAC3_VREF_2048mV

#define ADAC3_VREF_2048mV   2048.0

ADAC 3 calculation values.

Specified calculation values of ADAC 3 Click driver.

◆ ADAC3_VREF_4096mV

#define ADAC3_VREF_4096mV   4096.0