balancer4 2.0.0.0
Balancer 4 Registers Settings

Settings for registers of Balancer 4 Click driver. More...

Macros

#define BALANCER4_CONFIG0_VBAT_REG_8p3V   0x00
 Balancer 4 config 0 register setting.
 
#define BALANCER4_CONFIG0_VBAT_REG_8p4V   0x20
 
#define BALANCER4_CONFIG0_VBAT_REG_8p5V   0x40
 
#define BALANCER4_CONFIG0_VBAT_REG_8p6V   0x60
 
#define BALANCER4_CONFIG0_VBAT_REG_8p7V   0x80
 
#define BALANCER4_CONFIG0_VBAT_REG_8p8V   0xA0
 
#define BALANCER4_CONFIG0_VBAT_REG_8p9V   0xC0
 
#define BALANCER4_CONFIG0_VBAT_REG_8p2V   0xE0
 
#define BALANCER4_CONFIG0_CHARGING_DIS   0x00
 
#define BALANCER4_CONFIG0_CHARGING_EN   0x10
 
#define BALANCER4_CONFIG0_VBAT_PRE_6V   0x00
 
#define BALANCER4_CONFIG0_VBAT_PRE_6p1V   0x02
 
#define BALANCER4_CONFIG0_VBAT_PRE_6p2V   0x04
 
#define BALANCER4_CONFIG0_VBAT_PRE_6p3V   0x06
 
#define BALANCER4_CONFIG0_VBAT_PRE_6p4V   0x08
 
#define BALANCER4_CONFIG0_VBAT_PRE_6p5V   0x0A
 
#define BALANCER4_CONFIG0_VBAT_PRE_6p6V   0x0C
 
#define BALANCER4_CONFIG0_VBAT_PRE_6p7V   0x0E
 
#define BALANCER4_CONFIG0_CELL_OVP_HYS_80mV   0x00
 
#define BALANCER4_CONFIG0_CELL_OVP_HYS_0mV   0x01
 
#define BALANCER4_CONFIG1_NTC_TYPE_STANDARD   0x00
 Balancer 4 config 1 register setting.
 
#define BALANCER4_CONFIG1_NTC_TYPE_JEITA   0x80
 
#define BALANCER4_CONFIG1_VCELL_BAL_3p5V   0x00
 
#define BALANCER4_CONFIG1_VCELL_BAL_3p7V   0x40
 
#define BALANCER4_CONFIG1_BAL_THD_H2L_50mV   0x00
 
#define BALANCER4_CONFIG1_BAL_THD_H2L_70mV   0x20
 
#define BALANCER4_CONFIG1_BAL_THD_L2H_50mV   0x00
 
#define BALANCER4_CONFIG1_BAL_THD_L2H_70mV   0x10
 
#define BALANCER4_CONFIG1_ICC_250mA   0x00
 
#define BALANCER4_CONFIG1_ICC_300mA   0x01
 
#define BALANCER4_CONFIG1_ICC_350mA   0x02
 
#define BALANCER4_CONFIG1_ICC_400mA   0x03
 
#define BALANCER4_CONFIG1_ICC_450mA   0x04
 
#define BALANCER4_CONFIG1_ICC_500mA   0x05
 
#define BALANCER4_CONFIG1_ICC_550mA   0x06
 
#define BALANCER4_CONFIG1_ICC_600mA   0x07
 
#define BALANCER4_CONFIG1_ICC_650mA   0x08
 
#define BALANCER4_CONFIG1_ICC_700mA   0x09
 
#define BALANCER4_CONFIG1_ICC_750mA   0x0A
 
#define BALANCER4_CONFIG1_ICC_800mA   0x0B
 
#define BALANCER4_CONFIG1_ICC_850mA   0x0C
 
#define BALANCER4_CONFIG1_ICC_900mA   0x0D
 
#define BALANCER4_CONFIG1_ICC_950mA   0x0E
 
#define BALANCER4_CONFIG1_ICC_1000mA   0x0F
 
#define BALANCER4_TIMER_FSW_600KHZ   0x00
 Balancer 4 timer register setting.
 
#define BALANCER4_TIMER_FSW_1200KHZ   0x80
 
#define BALANCER4_TIMER_I2C_WD_TIMER_NORMAL   0x00
 
#define BALANCER4_TIMER_I2C_WD_TIMER_RESET   0x40
 
#define BALANCER4_TIMER_WD_TIMER_DIS   0x00
 
#define BALANCER4_TIMER_WD_TIMER_40S   0x10
 
#define BALANCER4_TIMER_WD_TIMER_80S   0x20
 
#define BALANCER4_TIMER_WD_TIMER_160S   0x30
 
#define BALANCER4_TIMER_REGISTER_KEEP   0x00
 
#define BALANCER4_TIMER_REGISTER_RESET   0x08
 
#define BALANCER4_TIMER_CHG_TIMER_DIS   0x00
 
#define BALANCER4_TIMER_CHG_TIMER_8H   0x02
 
#define BALANCER4_TIMER_CHG_TIMER_20H   0x04
 
#define BALANCER4_TIMER_CHG_TIMER_12H   0x06
 
#define BALANCER4_TIMER_EN_SUSP_BOOST_DIS   0x00
 
#define BALANCER4_TIMER_EN_SUSP_BOOST_EN   0x01
 
#define BALANCER4_STATUS_NOT_CHARGING   0x00
 Balancer 4 status register setting.
 
#define BALANCER4_STATUS_PRE_CHARGE   0x10
 
#define BALANCER4_STATUS_CONSTANT_CHARGE   0x20
 
#define BALANCER4_STATUS_CHARGING_COMPLETE   0x30
 
#define BALANCER4_STATUS_CHG_STAT_MASK   0x30
 
#define BALANCER4_STATUS_NOT_IN_PPM   0x00
 
#define BALANCER4_STATUS_IN_VIN_PPM   0x08
 
#define BALANCER4_STATUS_PPM_STAT_MASK   0x08
 
#define BALANCER4_STATUS_BATTERY_PRESENT   0x00
 
#define BALANCER4_STATUS_BATTERY_MISSING   0x04
 
#define BALANCER4_STATUS_BATFLOAT_STAT_MASK   0x04
 
#define BALANCER4_STATUS_THERM_NORMAL   0x00
 
#define BALANCER4_STATUS_THERM_REGULATION   0x02
 
#define BALANCER4_STATUS_THERM_STAT_MASK   0x02
 
#define BALANCER4_STATUS_NOT_IN_VSYS_MIN   0x00
 
#define BALANCER4_STATUS_IN_VSYS_MIN_REG   0x01
 
#define BALANCER4_STATUS_VSYS_STAT_MASK   0x01
 
#define BALANCER4_FAULT_WD   0x80
 Balancer 4 fault register setting.
 
#define BALANCER4_FAULT_INPUT   0x40
 
#define BALANCER4_FAULT_THERMAL_SD   0x20
 
#define BALANCER4_FAULT_TIMER   0x10
 
#define BALANCER4_FAULT_BAT   0x08
 
#define BALANCER4_FAULT_NTC_COLD   0x01
 
#define BALANCER4_FAULT_NTC_COOL   0x02
 
#define BALANCER4_FAULT_NTC_WARM   0x03
 
#define BALANCER4_FAULT_NTC_HOT   0x04
 
#define BALANCER4_FAULT_NTC_MASK   0x07
 
#define BALANCER4_SET_DEV_ADDR   0x4B
 Balancer 4 device address setting.
 

Detailed Description

Settings for registers of Balancer 4 Click driver.

Macro Definition Documentation

◆ BALANCER4_CONFIG0_CELL_OVP_HYS_0mV

#define BALANCER4_CONFIG0_CELL_OVP_HYS_0mV   0x01

◆ BALANCER4_CONFIG0_CELL_OVP_HYS_80mV

#define BALANCER4_CONFIG0_CELL_OVP_HYS_80mV   0x00

◆ BALANCER4_CONFIG0_CHARGING_DIS

#define BALANCER4_CONFIG0_CHARGING_DIS   0x00

◆ BALANCER4_CONFIG0_CHARGING_EN

#define BALANCER4_CONFIG0_CHARGING_EN   0x10

◆ BALANCER4_CONFIG0_VBAT_PRE_6p1V

#define BALANCER4_CONFIG0_VBAT_PRE_6p1V   0x02

◆ BALANCER4_CONFIG0_VBAT_PRE_6p2V

#define BALANCER4_CONFIG0_VBAT_PRE_6p2V   0x04

◆ BALANCER4_CONFIG0_VBAT_PRE_6p3V

#define BALANCER4_CONFIG0_VBAT_PRE_6p3V   0x06

◆ BALANCER4_CONFIG0_VBAT_PRE_6p4V

#define BALANCER4_CONFIG0_VBAT_PRE_6p4V   0x08

◆ BALANCER4_CONFIG0_VBAT_PRE_6p5V

#define BALANCER4_CONFIG0_VBAT_PRE_6p5V   0x0A

◆ BALANCER4_CONFIG0_VBAT_PRE_6p6V

#define BALANCER4_CONFIG0_VBAT_PRE_6p6V   0x0C

◆ BALANCER4_CONFIG0_VBAT_PRE_6p7V

#define BALANCER4_CONFIG0_VBAT_PRE_6p7V   0x0E

◆ BALANCER4_CONFIG0_VBAT_PRE_6V

#define BALANCER4_CONFIG0_VBAT_PRE_6V   0x00

◆ BALANCER4_CONFIG0_VBAT_REG_8p2V

#define BALANCER4_CONFIG0_VBAT_REG_8p2V   0xE0

◆ BALANCER4_CONFIG0_VBAT_REG_8p3V

#define BALANCER4_CONFIG0_VBAT_REG_8p3V   0x00

Balancer 4 config 0 register setting.

Specified setting for config 0 register of Balancer 4 Click driver.

◆ BALANCER4_CONFIG0_VBAT_REG_8p4V

#define BALANCER4_CONFIG0_VBAT_REG_8p4V   0x20

◆ BALANCER4_CONFIG0_VBAT_REG_8p5V

#define BALANCER4_CONFIG0_VBAT_REG_8p5V   0x40

◆ BALANCER4_CONFIG0_VBAT_REG_8p6V

#define BALANCER4_CONFIG0_VBAT_REG_8p6V   0x60

◆ BALANCER4_CONFIG0_VBAT_REG_8p7V

#define BALANCER4_CONFIG0_VBAT_REG_8p7V   0x80

◆ BALANCER4_CONFIG0_VBAT_REG_8p8V

#define BALANCER4_CONFIG0_VBAT_REG_8p8V   0xA0

◆ BALANCER4_CONFIG0_VBAT_REG_8p9V

#define BALANCER4_CONFIG0_VBAT_REG_8p9V   0xC0

◆ BALANCER4_CONFIG1_BAL_THD_H2L_50mV

#define BALANCER4_CONFIG1_BAL_THD_H2L_50mV   0x00

◆ BALANCER4_CONFIG1_BAL_THD_H2L_70mV

#define BALANCER4_CONFIG1_BAL_THD_H2L_70mV   0x20

◆ BALANCER4_CONFIG1_BAL_THD_L2H_50mV

#define BALANCER4_CONFIG1_BAL_THD_L2H_50mV   0x00

◆ BALANCER4_CONFIG1_BAL_THD_L2H_70mV

#define BALANCER4_CONFIG1_BAL_THD_L2H_70mV   0x10

◆ BALANCER4_CONFIG1_ICC_1000mA

#define BALANCER4_CONFIG1_ICC_1000mA   0x0F

◆ BALANCER4_CONFIG1_ICC_250mA

#define BALANCER4_CONFIG1_ICC_250mA   0x00

◆ BALANCER4_CONFIG1_ICC_300mA

#define BALANCER4_CONFIG1_ICC_300mA   0x01

◆ BALANCER4_CONFIG1_ICC_350mA

#define BALANCER4_CONFIG1_ICC_350mA   0x02

◆ BALANCER4_CONFIG1_ICC_400mA

#define BALANCER4_CONFIG1_ICC_400mA   0x03

◆ BALANCER4_CONFIG1_ICC_450mA

#define BALANCER4_CONFIG1_ICC_450mA   0x04

◆ BALANCER4_CONFIG1_ICC_500mA

#define BALANCER4_CONFIG1_ICC_500mA   0x05

◆ BALANCER4_CONFIG1_ICC_550mA

#define BALANCER4_CONFIG1_ICC_550mA   0x06

◆ BALANCER4_CONFIG1_ICC_600mA

#define BALANCER4_CONFIG1_ICC_600mA   0x07

◆ BALANCER4_CONFIG1_ICC_650mA

#define BALANCER4_CONFIG1_ICC_650mA   0x08

◆ BALANCER4_CONFIG1_ICC_700mA

#define BALANCER4_CONFIG1_ICC_700mA   0x09

◆ BALANCER4_CONFIG1_ICC_750mA

#define BALANCER4_CONFIG1_ICC_750mA   0x0A

◆ BALANCER4_CONFIG1_ICC_800mA

#define BALANCER4_CONFIG1_ICC_800mA   0x0B

◆ BALANCER4_CONFIG1_ICC_850mA

#define BALANCER4_CONFIG1_ICC_850mA   0x0C

◆ BALANCER4_CONFIG1_ICC_900mA

#define BALANCER4_CONFIG1_ICC_900mA   0x0D

◆ BALANCER4_CONFIG1_ICC_950mA

#define BALANCER4_CONFIG1_ICC_950mA   0x0E

◆ BALANCER4_CONFIG1_NTC_TYPE_JEITA

#define BALANCER4_CONFIG1_NTC_TYPE_JEITA   0x80

◆ BALANCER4_CONFIG1_NTC_TYPE_STANDARD

#define BALANCER4_CONFIG1_NTC_TYPE_STANDARD   0x00

Balancer 4 config 1 register setting.

Specified setting for config 1 register of Balancer 4 Click driver.

◆ BALANCER4_CONFIG1_VCELL_BAL_3p5V

#define BALANCER4_CONFIG1_VCELL_BAL_3p5V   0x00

◆ BALANCER4_CONFIG1_VCELL_BAL_3p7V

#define BALANCER4_CONFIG1_VCELL_BAL_3p7V   0x40

◆ BALANCER4_FAULT_BAT

#define BALANCER4_FAULT_BAT   0x08

◆ BALANCER4_FAULT_INPUT

#define BALANCER4_FAULT_INPUT   0x40

◆ BALANCER4_FAULT_NTC_COLD

#define BALANCER4_FAULT_NTC_COLD   0x01

◆ BALANCER4_FAULT_NTC_COOL

#define BALANCER4_FAULT_NTC_COOL   0x02

◆ BALANCER4_FAULT_NTC_HOT

#define BALANCER4_FAULT_NTC_HOT   0x04

◆ BALANCER4_FAULT_NTC_MASK

#define BALANCER4_FAULT_NTC_MASK   0x07

◆ BALANCER4_FAULT_NTC_WARM

#define BALANCER4_FAULT_NTC_WARM   0x03

◆ BALANCER4_FAULT_THERMAL_SD

#define BALANCER4_FAULT_THERMAL_SD   0x20

◆ BALANCER4_FAULT_TIMER

#define BALANCER4_FAULT_TIMER   0x10

◆ BALANCER4_FAULT_WD

#define BALANCER4_FAULT_WD   0x80

Balancer 4 fault register setting.

Specified setting for fault register of Balancer 4 Click driver.

◆ BALANCER4_SET_DEV_ADDR

#define BALANCER4_SET_DEV_ADDR   0x4B

Balancer 4 device address setting.

Specified setting for device slave address selection of Balancer 4 Click driver.

◆ BALANCER4_STATUS_BATFLOAT_STAT_MASK

#define BALANCER4_STATUS_BATFLOAT_STAT_MASK   0x04

◆ BALANCER4_STATUS_BATTERY_MISSING

#define BALANCER4_STATUS_BATTERY_MISSING   0x04

◆ BALANCER4_STATUS_BATTERY_PRESENT

#define BALANCER4_STATUS_BATTERY_PRESENT   0x00

◆ BALANCER4_STATUS_CHARGING_COMPLETE

#define BALANCER4_STATUS_CHARGING_COMPLETE   0x30

◆ BALANCER4_STATUS_CHG_STAT_MASK

#define BALANCER4_STATUS_CHG_STAT_MASK   0x30

◆ BALANCER4_STATUS_CONSTANT_CHARGE

#define BALANCER4_STATUS_CONSTANT_CHARGE   0x20

◆ BALANCER4_STATUS_IN_VIN_PPM

#define BALANCER4_STATUS_IN_VIN_PPM   0x08

◆ BALANCER4_STATUS_IN_VSYS_MIN_REG

#define BALANCER4_STATUS_IN_VSYS_MIN_REG   0x01

◆ BALANCER4_STATUS_NOT_CHARGING

#define BALANCER4_STATUS_NOT_CHARGING   0x00

Balancer 4 status register setting.

Specified setting for status register of Balancer 4 Click driver.

◆ BALANCER4_STATUS_NOT_IN_PPM

#define BALANCER4_STATUS_NOT_IN_PPM   0x00

◆ BALANCER4_STATUS_NOT_IN_VSYS_MIN

#define BALANCER4_STATUS_NOT_IN_VSYS_MIN   0x00

◆ BALANCER4_STATUS_PPM_STAT_MASK

#define BALANCER4_STATUS_PPM_STAT_MASK   0x08

◆ BALANCER4_STATUS_PRE_CHARGE

#define BALANCER4_STATUS_PRE_CHARGE   0x10

◆ BALANCER4_STATUS_THERM_NORMAL

#define BALANCER4_STATUS_THERM_NORMAL   0x00

◆ BALANCER4_STATUS_THERM_REGULATION

#define BALANCER4_STATUS_THERM_REGULATION   0x02

◆ BALANCER4_STATUS_THERM_STAT_MASK

#define BALANCER4_STATUS_THERM_STAT_MASK   0x02

◆ BALANCER4_STATUS_VSYS_STAT_MASK

#define BALANCER4_STATUS_VSYS_STAT_MASK   0x01

◆ BALANCER4_TIMER_CHG_TIMER_12H

#define BALANCER4_TIMER_CHG_TIMER_12H   0x06

◆ BALANCER4_TIMER_CHG_TIMER_20H

#define BALANCER4_TIMER_CHG_TIMER_20H   0x04

◆ BALANCER4_TIMER_CHG_TIMER_8H

#define BALANCER4_TIMER_CHG_TIMER_8H   0x02

◆ BALANCER4_TIMER_CHG_TIMER_DIS

#define BALANCER4_TIMER_CHG_TIMER_DIS   0x00

◆ BALANCER4_TIMER_EN_SUSP_BOOST_DIS

#define BALANCER4_TIMER_EN_SUSP_BOOST_DIS   0x00

◆ BALANCER4_TIMER_EN_SUSP_BOOST_EN

#define BALANCER4_TIMER_EN_SUSP_BOOST_EN   0x01

◆ BALANCER4_TIMER_FSW_1200KHZ

#define BALANCER4_TIMER_FSW_1200KHZ   0x80

◆ BALANCER4_TIMER_FSW_600KHZ

#define BALANCER4_TIMER_FSW_600KHZ   0x00

Balancer 4 timer register setting.

Specified setting for timer register of Balancer 4 Click driver.

◆ BALANCER4_TIMER_I2C_WD_TIMER_NORMAL

#define BALANCER4_TIMER_I2C_WD_TIMER_NORMAL   0x00

◆ BALANCER4_TIMER_I2C_WD_TIMER_RESET

#define BALANCER4_TIMER_I2C_WD_TIMER_RESET   0x40

◆ BALANCER4_TIMER_REGISTER_KEEP

#define BALANCER4_TIMER_REGISTER_KEEP   0x00

◆ BALANCER4_TIMER_REGISTER_RESET

#define BALANCER4_TIMER_REGISTER_RESET   0x08

◆ BALANCER4_TIMER_WD_TIMER_160S

#define BALANCER4_TIMER_WD_TIMER_160S   0x30

◆ BALANCER4_TIMER_WD_TIMER_40S

#define BALANCER4_TIMER_WD_TIMER_40S   0x10

◆ BALANCER4_TIMER_WD_TIMER_80S

#define BALANCER4_TIMER_WD_TIMER_80S   0x20

◆ BALANCER4_TIMER_WD_TIMER_DIS

#define BALANCER4_TIMER_WD_TIMER_DIS   0x00