charger2 2.0.0.0

Macros

#define CHARGER2_AUTO_DETECT   0x00
 
#define CHARGER2_EXTERNAL_CLOCK   0x01
 
#define CHARGER2_14_BITS_RESOLUTION   0x00
 
#define CHARGER2_13_BITS_RESOLUTION   0x02
 
#define CHARGER2_12_BITS_RESOLUTION   0x04
 
#define CHARGER2_CALIBRATE_ADC   0x08
 
#define CHARGER2_STANDBY_MODE   0x00
 
#define CHARGER2_OPERATING_MODE   0x10
 
#define CHARGER2_IO0_OUTPUT_LOW   0x00
 
#define CHARGER2_IO0_OUTPUT_OPEN   0x01
 
#define CHARGER2_RESET_CHARGE_ACCUM_AND_COUNTER   0x02
 
#define CHARGER2_RELEASE_SOFT_RESET   0x00
 
#define CHARGER2_ASSERT_SOFT_RESET   0x10
 
#define CHARGER2_RESET_COUNTER_MODE   0x00
 
#define CHARGER2_SOFT_RESET_MODE   0x01
 
#define CHARGER2_CURRENT_CYCLE_CHECK   0x00
 
#define CHARGER2_VOLTAGE_TEMP_CYCLE_CHECK   0x01
 
#define CHARGER2_GAS_GAUGE_CHARGE_DATA   0x00
 
#define CHARGER2_CONV_NUMBER   0x01
 
#define CHARGER2_SHUNT_VOLTAGE   0x02
 
#define CHARGER2_BATTERY_VOLTAGE   0x03
 
#define CHARGER2_TEMPERATURE   0x04
 
#define CHARGER2_BATTERY_CURRENT   0x05
 

Detailed Description

Macro Definition Documentation

◆ CHARGER2_12_BITS_RESOLUTION

#define CHARGER2_12_BITS_RESOLUTION   0x04

◆ CHARGER2_13_BITS_RESOLUTION

#define CHARGER2_13_BITS_RESOLUTION   0x02

◆ CHARGER2_14_BITS_RESOLUTION

#define CHARGER2_14_BITS_RESOLUTION   0x00

◆ CHARGER2_ASSERT_SOFT_RESET

#define CHARGER2_ASSERT_SOFT_RESET   0x10

◆ CHARGER2_AUTO_DETECT

#define CHARGER2_AUTO_DETECT   0x00

◆ CHARGER2_BATTERY_CURRENT

#define CHARGER2_BATTERY_CURRENT   0x05

◆ CHARGER2_BATTERY_VOLTAGE

#define CHARGER2_BATTERY_VOLTAGE   0x03

◆ CHARGER2_CALIBRATE_ADC

#define CHARGER2_CALIBRATE_ADC   0x08

◆ CHARGER2_CONV_NUMBER

#define CHARGER2_CONV_NUMBER   0x01

◆ CHARGER2_CURRENT_CYCLE_CHECK

#define CHARGER2_CURRENT_CYCLE_CHECK   0x00

◆ CHARGER2_EXTERNAL_CLOCK

#define CHARGER2_EXTERNAL_CLOCK   0x01

◆ CHARGER2_GAS_GAUGE_CHARGE_DATA

#define CHARGER2_GAS_GAUGE_CHARGE_DATA   0x00

◆ CHARGER2_IO0_OUTPUT_LOW

#define CHARGER2_IO0_OUTPUT_LOW   0x00

◆ CHARGER2_IO0_OUTPUT_OPEN

#define CHARGER2_IO0_OUTPUT_OPEN   0x01

◆ CHARGER2_OPERATING_MODE

#define CHARGER2_OPERATING_MODE   0x10

◆ CHARGER2_RELEASE_SOFT_RESET

#define CHARGER2_RELEASE_SOFT_RESET   0x00

◆ CHARGER2_RESET_CHARGE_ACCUM_AND_COUNTER

#define CHARGER2_RESET_CHARGE_ACCUM_AND_COUNTER   0x02

◆ CHARGER2_RESET_COUNTER_MODE

#define CHARGER2_RESET_COUNTER_MODE   0x00

◆ CHARGER2_SHUNT_VOLTAGE

#define CHARGER2_SHUNT_VOLTAGE   0x02

◆ CHARGER2_SOFT_RESET_MODE

#define CHARGER2_SOFT_RESET_MODE   0x01

◆ CHARGER2_STANDBY_MODE

#define CHARGER2_STANDBY_MODE   0x00

◆ CHARGER2_TEMPERATURE

#define CHARGER2_TEMPERATURE   0x04

◆ CHARGER2_VOLTAGE_TEMP_CYCLE_CHECK

#define CHARGER2_VOLTAGE_TEMP_CYCLE_CHECK   0x01