digipot12 2.1.0.0
DIGI POT 12 Registers Settings

Settings for registers of DIGI POT 12 Click driver. More...

Macros

#define DIGIPOT12_CTRL_REG_WIPER_POS_FROZEN   0x00
 DIGI POT 12 control register bit descriptions.
 
#define DIGIPOT12_CTRL_REG_UPDATE_WIPER_POS   0x01
 
#define DIGIPOT12_CTRL_REG_EEPROM_PROGRAM_DISABLE   0x00
 
#define DIGIPOT12_CTRL_REG_EEPROM_PROGRAM_ENABLE   0x02
 
#define DIGIPOT12_CTRL_REG_MODE_POTENTIOMETER   0x00
 
#define DIGIPOT12_CTRL_REG_MODE_LINEAR_GAIN   0x04
 
#define DIGIPOT12_CTRL_REG_MODE_BURST_DISABLE   0x00
 
#define DIGIPOT12_CTRL_REG_MODE_BURST_ENABLE   0x08
 
#define DIGIPOT12_WIPER_POS_MAX   255
 DIGI POT 12 wiper and resistance data values.
 
#define DIGIPOT12_WIPER_POS_MIN   0
 
#define DIGIPOT12_WIPER_POS_MIDDLE   127
 
#define DIGIPOT12_RES_10_KOHM   10
 
#define DIGIPOT12_RES_0_KOHM   0
 
#define DIGIPOT12_DEVICE_ADDRESS_0   0x2F
 DIGI POT 12 device address setting.
 
#define DIGIPOT12_DEVICE_ADDRESS_1   0x2C
 
#define DIGIPOT12_DEVICE_ADDRESS_2   0x23
 
#define DIGIPOT12_DEVICE_ADDRESS_3   0x20
 

Detailed Description

Settings for registers of DIGI POT 12 Click driver.

Macro Definition Documentation

◆ DIGIPOT12_CTRL_REG_EEPROM_PROGRAM_DISABLE

#define DIGIPOT12_CTRL_REG_EEPROM_PROGRAM_DISABLE   0x00

◆ DIGIPOT12_CTRL_REG_EEPROM_PROGRAM_ENABLE

#define DIGIPOT12_CTRL_REG_EEPROM_PROGRAM_ENABLE   0x02

◆ DIGIPOT12_CTRL_REG_MODE_BURST_DISABLE

#define DIGIPOT12_CTRL_REG_MODE_BURST_DISABLE   0x00

◆ DIGIPOT12_CTRL_REG_MODE_BURST_ENABLE

#define DIGIPOT12_CTRL_REG_MODE_BURST_ENABLE   0x08

◆ DIGIPOT12_CTRL_REG_MODE_LINEAR_GAIN

#define DIGIPOT12_CTRL_REG_MODE_LINEAR_GAIN   0x04

◆ DIGIPOT12_CTRL_REG_MODE_POTENTIOMETER

#define DIGIPOT12_CTRL_REG_MODE_POTENTIOMETER   0x00

◆ DIGIPOT12_CTRL_REG_UPDATE_WIPER_POS

#define DIGIPOT12_CTRL_REG_UPDATE_WIPER_POS   0x01

◆ DIGIPOT12_CTRL_REG_WIPER_POS_FROZEN

#define DIGIPOT12_CTRL_REG_WIPER_POS_FROZEN   0x00

DIGI POT 12 control register bit descriptions.

Specified control register bit descriptions of DIGI POT 12 Click driver.

◆ DIGIPOT12_DEVICE_ADDRESS_0

#define DIGIPOT12_DEVICE_ADDRESS_0   0x2F

DIGI POT 12 device address setting.

Specified setting for device slave address selection of DIGI POT 12 Click driver.

◆ DIGIPOT12_DEVICE_ADDRESS_1

#define DIGIPOT12_DEVICE_ADDRESS_1   0x2C

◆ DIGIPOT12_DEVICE_ADDRESS_2

#define DIGIPOT12_DEVICE_ADDRESS_2   0x23

◆ DIGIPOT12_DEVICE_ADDRESS_3

#define DIGIPOT12_DEVICE_ADDRESS_3   0x20

◆ DIGIPOT12_RES_0_KOHM

#define DIGIPOT12_RES_0_KOHM   0

◆ DIGIPOT12_RES_10_KOHM

#define DIGIPOT12_RES_10_KOHM   10

◆ DIGIPOT12_WIPER_POS_MAX

#define DIGIPOT12_WIPER_POS_MAX   255

DIGI POT 12 wiper and resistance data values.

Specified wiper and resistance data values of DIGI POT 12 Click driver.

◆ DIGIPOT12_WIPER_POS_MIDDLE

#define DIGIPOT12_WIPER_POS_MIDDLE   127

◆ DIGIPOT12_WIPER_POS_MIN

#define DIGIPOT12_WIPER_POS_MIN   0