smartbuck2 2.1.0.0
Smart Buck 2 Registers Settings

Settings for registers of Smart Buck 2 Click driver. More...

Macros

#define SMARTBUCK2_OP_MOD_BIT_MASK   0x80
 Smart Buck 2 description of operation mode values.
 
#define SMARTBUCK2_OP_MODE_FORCED_PWM   0x80
 
#define SMARTBUCK2_OP_MODE_PFM   0x00
 
#define SMARTBUCK2_CTRL_BIT_MASK   0xE0
 Smart Buck 2 description of control register values.
 
#define SMARTBUCK2_CTRL_PD_EN   0x80
 
#define SMARTBUCK2_CTRL_PD_DIS   0x00
 
#define SMARTBUCK2_CTRL_PD_VSEL0_EN   0x40
 
#define SMARTBUCK2_CTRL_PD_VSEL0_DIS   0x00
 
#define SMARTBUCK2_CTRL_PD_VSEL1_EN   0x20
 
#define SMARTBUCK2_CTRL_PD_VSEL1_DIS   0x00
 
#define SMARTBUCK2_CTRL_PD_VSEL   0x40
 
#define SMARTBUCK2_TEMP_DIS_BIT_MASK   0xFB
 Smart Buck 2 description of temp register values.
 
#define SMARTBUCK2_TEMP_TS_ENABLE   0x00
 
#define SMARTBUCK2_TEMP_TS_DISABLE   0x04
 
#define SMARTBUCK2_TEMP_TJEW   0x02
 
#define SMARTBUCK2_TEMP_TJEW_BIT_MASK   0xFD
 
#define SMARTBUCK2_TEMP_LT_120_C   0x00
 
#define SMARTBUCK2_TEMP_GT_120_C   0x01
 
#define SMARTBUCK2_TEMP_ERROR   0x02
 
#define SMARTBUCK2_TEMP_TJTS   0x01
 
#define SMARTBUCK2_RMP_VTG_T_BIT_MASK   0xE0
 Smart Buck 2 description of ramp temp register values.
 
#define SMARTBUCK2_RMP_SET   0xE0
 
#define SMARTBUCK2_RMP_EN_DISC   0x04
 
#define SMARTBUCK2_RMP_PFM   0x02
 
#define SMARTBUCK2_RMP_VTG_T_32MVNS   0x00
 
#define SMARTBUCK2_RMP_VTG_T_16MVNS   0x01
 
#define SMARTBUCK2_RMP_VTG_T_8MVNS   0x02
 
#define SMARTBUCK2_RMP_VTG_T_4MVNS   0x03
 
#define SMARTBUCK2_RMP_VTG_T_2MVNS   0x04
 
#define SMARTBUCK2_RMP_VTG_T_1MVNS   0x05
 
#define SMARTBUCK2_RMP_VTG_T_0_5MVNS   0x06
 
#define SMARTBUCK2_RMP_VTG_T_0_25MVNS   0x07
 
#define SMARTBUCK2_VENDOR_ID_BIT_MASK   0xF0
 Smart Buck 2 description of device ID values.
 
#define SMARTBUCK2_ID_VENDOR   0x80
 
#define SMARTBUCK2_PART_NUM_ID_BIT_MASK   0x0C
 
#define SMARTBUCK2_ID_PART_NUM   0x03
 
#define SMARTBUCK2_CHIP_REV_ID_BIT_MASK   0x03
 
#define SMARTBUCK2_VOUT_MIN   500u
 Smart Buck 2 description of Vout calculation values.
 
#define SMARTBUCK2_VOUT_MAX   1770u
 
#define SMARTBUCK2_VOUT_STEP_10MV   10u
 
#define SMARTBUCK2_VOUT_START_500MV   500u
 
#define SMARTBUCK2_DEVICE_ADDRESS   0x60
 Smart Buck 2 device address setting.
 

Detailed Description

Settings for registers of Smart Buck 2 Click driver.

Macro Definition Documentation

◆ SMARTBUCK2_CHIP_REV_ID_BIT_MASK

#define SMARTBUCK2_CHIP_REV_ID_BIT_MASK   0x03

◆ SMARTBUCK2_CTRL_BIT_MASK

#define SMARTBUCK2_CTRL_BIT_MASK   0xE0

Smart Buck 2 description of control register values.

Specified control register values of Smart Buck 2 Click driver.

◆ SMARTBUCK2_CTRL_PD_DIS

#define SMARTBUCK2_CTRL_PD_DIS   0x00

◆ SMARTBUCK2_CTRL_PD_EN

#define SMARTBUCK2_CTRL_PD_EN   0x80

◆ SMARTBUCK2_CTRL_PD_VSEL

#define SMARTBUCK2_CTRL_PD_VSEL   0x40

◆ SMARTBUCK2_CTRL_PD_VSEL0_DIS

#define SMARTBUCK2_CTRL_PD_VSEL0_DIS   0x00

◆ SMARTBUCK2_CTRL_PD_VSEL0_EN

#define SMARTBUCK2_CTRL_PD_VSEL0_EN   0x40

◆ SMARTBUCK2_CTRL_PD_VSEL1_DIS

#define SMARTBUCK2_CTRL_PD_VSEL1_DIS   0x00

◆ SMARTBUCK2_CTRL_PD_VSEL1_EN

#define SMARTBUCK2_CTRL_PD_VSEL1_EN   0x20

◆ SMARTBUCK2_DEVICE_ADDRESS

#define SMARTBUCK2_DEVICE_ADDRESS   0x60

Smart Buck 2 device address setting.

Specified setting for device slave address selection of Smart Buck 2 Click driver.

◆ SMARTBUCK2_ID_PART_NUM

#define SMARTBUCK2_ID_PART_NUM   0x03

◆ SMARTBUCK2_ID_VENDOR

#define SMARTBUCK2_ID_VENDOR   0x80

◆ SMARTBUCK2_OP_MOD_BIT_MASK

#define SMARTBUCK2_OP_MOD_BIT_MASK   0x80

Smart Buck 2 description of operation mode values.

Specified operation mode values of Smart Buck 2 Click driver.

◆ SMARTBUCK2_OP_MODE_FORCED_PWM

#define SMARTBUCK2_OP_MODE_FORCED_PWM   0x80

◆ SMARTBUCK2_OP_MODE_PFM

#define SMARTBUCK2_OP_MODE_PFM   0x00

◆ SMARTBUCK2_PART_NUM_ID_BIT_MASK

#define SMARTBUCK2_PART_NUM_ID_BIT_MASK   0x0C

◆ SMARTBUCK2_RMP_EN_DISC

#define SMARTBUCK2_RMP_EN_DISC   0x04

◆ SMARTBUCK2_RMP_PFM

#define SMARTBUCK2_RMP_PFM   0x02

◆ SMARTBUCK2_RMP_SET

#define SMARTBUCK2_RMP_SET   0xE0

◆ SMARTBUCK2_RMP_VTG_T_0_25MVNS

#define SMARTBUCK2_RMP_VTG_T_0_25MVNS   0x07

◆ SMARTBUCK2_RMP_VTG_T_0_5MVNS

#define SMARTBUCK2_RMP_VTG_T_0_5MVNS   0x06

◆ SMARTBUCK2_RMP_VTG_T_16MVNS

#define SMARTBUCK2_RMP_VTG_T_16MVNS   0x01

◆ SMARTBUCK2_RMP_VTG_T_1MVNS

#define SMARTBUCK2_RMP_VTG_T_1MVNS   0x05

◆ SMARTBUCK2_RMP_VTG_T_2MVNS

#define SMARTBUCK2_RMP_VTG_T_2MVNS   0x04

◆ SMARTBUCK2_RMP_VTG_T_32MVNS

#define SMARTBUCK2_RMP_VTG_T_32MVNS   0x00

◆ SMARTBUCK2_RMP_VTG_T_4MVNS

#define SMARTBUCK2_RMP_VTG_T_4MVNS   0x03

◆ SMARTBUCK2_RMP_VTG_T_8MVNS

#define SMARTBUCK2_RMP_VTG_T_8MVNS   0x02

◆ SMARTBUCK2_RMP_VTG_T_BIT_MASK

#define SMARTBUCK2_RMP_VTG_T_BIT_MASK   0xE0

Smart Buck 2 description of ramp temp register values.

Specified ramp temp register values of Smart Buck 2 Click driver.

◆ SMARTBUCK2_TEMP_DIS_BIT_MASK

#define SMARTBUCK2_TEMP_DIS_BIT_MASK   0xFB

Smart Buck 2 description of temp register values.

Specified temp register values of Smart Buck 2 Click driver.

◆ SMARTBUCK2_TEMP_ERROR

#define SMARTBUCK2_TEMP_ERROR   0x02

◆ SMARTBUCK2_TEMP_GT_120_C

#define SMARTBUCK2_TEMP_GT_120_C   0x01

◆ SMARTBUCK2_TEMP_LT_120_C

#define SMARTBUCK2_TEMP_LT_120_C   0x00

◆ SMARTBUCK2_TEMP_TJEW

#define SMARTBUCK2_TEMP_TJEW   0x02

◆ SMARTBUCK2_TEMP_TJEW_BIT_MASK

#define SMARTBUCK2_TEMP_TJEW_BIT_MASK   0xFD

◆ SMARTBUCK2_TEMP_TJTS

#define SMARTBUCK2_TEMP_TJTS   0x01

◆ SMARTBUCK2_TEMP_TS_DISABLE

#define SMARTBUCK2_TEMP_TS_DISABLE   0x04

◆ SMARTBUCK2_TEMP_TS_ENABLE

#define SMARTBUCK2_TEMP_TS_ENABLE   0x00

◆ SMARTBUCK2_VENDOR_ID_BIT_MASK

#define SMARTBUCK2_VENDOR_ID_BIT_MASK   0xF0

Smart Buck 2 description of device ID values.

Specified device ID values of Smart Buck 2 Click driver.

◆ SMARTBUCK2_VOUT_MAX

#define SMARTBUCK2_VOUT_MAX   1770u

◆ SMARTBUCK2_VOUT_MIN

#define SMARTBUCK2_VOUT_MIN   500u

Smart Buck 2 description of Vout calculation values.

Specified Vout calculation values of Smart Buck 2 Click driver.

◆ SMARTBUCK2_VOUT_START_500MV

#define SMARTBUCK2_VOUT_START_500MV   500u

◆ SMARTBUCK2_VOUT_STEP_10MV

#define SMARTBUCK2_VOUT_STEP_10MV   10u