52 static constexpr uint8_t
FAULT0 = 0x06;
53 static constexpr uint8_t
FAULT1 = 0x08;
81 static constexpr uint8_t
CTRL0 = 0x28;
82 static constexpr uint8_t
CTRL1 = 0x29;
83 static constexpr uint8_t
CTRL2 = 0x2A;
84 static constexpr uint8_t
CTRL3 = 0x2B;
ADC channel control and measurement result registers.
static constexpr uint8_t BAT_VOLT_H
BAT voltage ADC high.
static constexpr uint8_t ENABLE
ADC channel enable control.
static constexpr uint8_t VBUS_CURR_H
VBUS current ADC high.
static constexpr uint8_t BAT_CURR_H
BAT current ADC high.
static constexpr uint8_t DATA_H
ADC data high.
static constexpr uint8_t VBUS_CURR_L
VBUS current ADC low.
static constexpr uint8_t BAT_CURR_L
BAT current ADC low.
static constexpr uint8_t VBUS_VOLT_H
VBUS voltage ADC high.
static constexpr uint8_t VBUS_VOLT_L
VBUS voltage ADC low.
static constexpr uint8_t TS_VOLT_L
TS voltage ADC low.
static constexpr uint8_t BAT_VOLT_L
BAT voltage ADC low.
static constexpr uint8_t DATA_SEL
ADC data select.
static constexpr uint8_t DATA_L
ADC data low.
static constexpr uint8_t TS_VOLT_H
TS voltage ADC high.
BC1.2 charger-detection registers.
static constexpr uint8_t CTRL2
BC1.2 control2.
static constexpr uint8_t CTRL3
BC1.2 control3.
static constexpr uint8_t CTRL0
BC1.2 control0.
static constexpr uint8_t CTRL1
BC1.2 control1.
BMU status, data buffer, fault, and module-enable registers.
static constexpr uint8_t FAULT1
BMU fault1.
static constexpr uint8_t FAULT0
BMU fault0.
static constexpr uint8_t MODULE_EN0
Module enable control0.
static constexpr uint8_t STATUS1
BMU status1.
static constexpr uint8_t BC_DETECT
BC_detect (status/result)
static constexpr uint8_t DATA_BUFFER0
Data Buffer0.
static constexpr uint8_t DATA_BUFFER1
Data Buffer1.
static constexpr uint8_t DATA_BUFFER2
Data Buffer2.
static constexpr uint8_t STATUS0
BMU status0.
Battery charger parameter registers.
static constexpr uint8_t ICC_SETTING
ICC setting.
static constexpr uint8_t BAT_DETECT_CTRL
Battery detection control.
static constexpr uint8_t IPRECHG_ITRICHG
Iprechg/Itrichg setting.
static constexpr uint8_t ITERM_CTRL
Iterm setting and control.
static constexpr uint8_t CHG_TIMER_CFG
Charger timer configure.
static constexpr uint8_t CV_CHG_VOLTAGE
CV charger voltage setting.
static constexpr uint8_t THERMAL_REG_THRESH
Thermal regulation threshold setting.
Common control and power-path configuration registers.
static constexpr uint8_t RBFET_CTRL
RBFET control.
static constexpr uint8_t INPUT_VOLT_LIMIT
Input voltage limit control.
static constexpr uint8_t WATCHDOG_CTRL
Watchdog control.
static constexpr uint8_t LOW_BAT_WARN
Low Battery warning threshold setting.
static constexpr uint8_t MIN_SYS_VOLTAGE
Minimum system voltage control.
static constexpr uint8_t COMMON_CFG
Common configure.
static constexpr uint8_t INPUT_CURR_LIMIT
Input current limit control.
static constexpr uint8_t MODULE_EN1
Module enable control1.
static constexpr uint8_t DIE_TEMP_CFG
Die temperature configure.
static constexpr uint8_t BOOST_CFG
Boost configure.
static constexpr uint8_t PWRON_CFG
PWRON configure.
static constexpr uint8_t VBUS_OV_CHG_PWRON
VBUS_OV/CHG_PWRON configure.
static constexpr uint8_t RESET_CFG
Reset configure.
static constexpr uint8_t BATFET_CTRL
BATFET control.
static constexpr uint8_t MPPT_CFG
MPPT configure.
static constexpr uint8_t GPIO_CFG
GPIO configure.
Factory conversion scales for raw ADC measurements.
static constexpr float FACTORY_CHARGE_CURRENT
16-Bit(including sign bit)
static constexpr float FACTORY_BAT_CURRENT
16-Bit(including sign bit)
static constexpr float FACTORY_DIE_TEMPERATURE
14-Bit(including sign bit)
static constexpr float FACTORY_VBUS_CURRENT
14-Bit(including sign bit)
static constexpr float FACTORY_VBAT_VOLTAGE
14-Bit(including sign bit)
static constexpr float FACTORY_VSYS_VOLTAGE
14-Bit(including sign bit)
static constexpr float FACTORY_VBUS_VOLTAGE
14-Bit(including sign bit)
static constexpr float FACTORY_TS
14-Bit(including sign bit)
static constexpr float FACTORY_DISCHARGE_CURRENT
16-Bit(including sign bit)
Basic battery gauge status registers.
static constexpr uint8_t FUEL_GAUGE_CTRL
Fuel gauge control.
static constexpr uint8_t BAT_SOH
Battery SOH (RO)
static constexpr uint8_t BAT_PERCENT
Battery percentage (RO)
static constexpr uint8_t BAT_PARAM
Battery parameter.
static constexpr uint8_t BAT_TEMP
Battery temperature (RO)
PMIC interrupt enable and status registers.
static constexpr uint8_t ENABLE2
IRQ Enable 2.
static constexpr uint8_t ENABLE0
IRQ Enable 0.
static constexpr uint8_t ENABLE1
IRQ Enable 1.
static constexpr uint8_t ENABLE3
IRQ Enable 3.
static constexpr uint8_t STATUS2
IRQ Status 2.
static constexpr uint8_t STATUS3
IRQ Status 3.
static constexpr uint8_t STATUS1
IRQ Status 1.
static constexpr uint8_t STATUS0
IRQ Status 0.
JEITA temperature-threshold and standard charge-profile registers.
static constexpr uint8_t STD_SETTING0
JEITA standard setting 0.
static constexpr uint8_t STD_SETTING2
JEITA standard setting 2.
static constexpr uint8_t VLTF_WORK
VLTF_WORK setting.
static constexpr uint8_t STD_SETTING1
JEITA standard setting 1.
static constexpr uint8_t VHTF_WORK
VHTF_WORK setting.
static constexpr uint8_t VHTF_CHG
VHTF_CHG setting.
static constexpr uint8_t VLTF_CHG
VLTF_CHG setting.
static constexpr uint8_t STD_ENABLE
JEITA standard Enable control.
Charge LED and breathing LED control registers.
static constexpr uint8_t BREATH_CL
Breath LED control0 (CL)
static constexpr uint8_t BREATH_CH
Breath LED control1 (CH)
static constexpr uint8_t BREATH_NMIN
Breath LED control4 (NMIN)
static constexpr uint8_t BREATH_NS
Breath LED control3 (NS)
static constexpr uint8_t CHGLED_CFG
CHGLED configure.
static constexpr uint8_t BREATH_CSR
Breath LED control2 (CSR)
static constexpr uint8_t BREATH_M
Breath LED control5 (M)
TS pin and temperature-sense registers.
static constexpr uint8_t HYSL2H
TS_HYSL2H setting.
static constexpr uint8_t HYSH2L
TS_HYSH2L setting.
static constexpr uint8_t SOURCE_SEL
TS source select.
static constexpr uint8_t DATA_CFG1
TS data configure 1.
static constexpr uint8_t DATA_CFG0
TS data configure 0.
static constexpr uint8_t PIN_CFG
TS pin configure.
AXP517 PMIC registers (non-TCPC).