Loading...
Searching...
No Matches
bq2429x_internal.h File Reference

Internal address, registers, constants for the BQ2429x family power ICs. More...

Detailed Description

Internal address, registers, constants for the BQ2429x family power ICs.

Author
Jean Pierre Dudey jeand.nosp@m.udey.nosp@m.@hotm.nosp@m.ail..nosp@m.com

Definition in file bq2429x_internal.h.

Go to the source code of this file.

#define BQ2429X_I2C_ADDR   (0x6B)
 BQ2429x I2C device slave address.
 
#define BQ2429X_REG00   (0x00)
 Registers.
 
#define BQ2429X_REG01   (0x01)
 Power-On Configuration.
 
#define BQ2429X_REG02   (0x02)
 Charge Current Control.
 
#define BQ2429X_REG04   (0x04)
 Charge Voltage Control.
 
#define BQ2429X_REG05   (0x05)
 Charge Termination/Timer Control.
 
#define BQ2429X_REG08   (0x08)
 System Status.
 
#define BQ2429X_REG09   (0x09)
 New Fault Register.
 
#define BQ2429X_REG0A   (0x0A)
 Vendor / Part / Revision Status.
 
#define BQ2429X_REG00_VINDPM_m   (0x78)
 Register values.
 
#define BQ2429X_REG00_VINDPM_s   (3)
 
#define BQ2429X_REG00_IINLIM_m   (0x07)
 
#define BQ2429X_REG00_IINLIM_s   (0)
 
#define BQ2429X_REG01_OTG_m   (0x20)
 
#define BQ2429X_REG01_OTG_s   (5)
 
#define BQ2429X_REG01_OTG_ENABLE   (1)
 
#define BQ2429X_REG01_OTG_DISABLE   (0)
 
#define BQ2429X_REG01_CHG_m   (0x10)
 
#define BQ2429X_REG01_CHG_s   (4)
 
#define BQ2429X_REG01_CHG_ENABLE   (1)
 
#define BQ2429X_REG01_CHG_DISABLE   (0)
 
#define BQ2429X_REG02_ICHG_m   (0xFC)
 
#define BQ2429X_REG02_ICHG_s   (2)
 
#define BQ2429X_REG04_VREG_m   (0xFC)
 
#define BQ2429X_REG04_VREG_s   (2)
 
#define BQ2429X_REG05_WD_m   (0x30)
 
#define BQ2429X_REG05_WD_s   (4)
 
#define BQ2429X_REG05_WD_DISABLE   (0x00)
 
#define BQ2429X_REG08_VBUS_STATUS_m   (0xC0)
 
#define BQ2429X_REG08_VBUS_STATUS_s   (6)
 
#define BQ2429X_REG08_CHG_STAT_m   (0x30)
 
#define BQ2429X_REG08_CHG_STAT_s   (4)
 
#define BQ2429X_REG08_DPM_STAT_m   (0x08)
 
#define BQ2429X_REG08_DPM_STAT_s   (3)
 
#define BQ2429X_REG08_PG_STAT_m   (0x04)
 
#define BQ2429X_REG08_PG_STAT_s   (2)
 
#define BQ2429X_REG08_THERM_STAT_m   (0x02)
 
#define BQ2429X_REG08_THERM_STAT_s   (1)
 
#define BQ2429X_REG08_VSYS_STAT_m   (0x01)
 
#define BQ2429X_REG08_VSYS_STAT_s   (0)
 
#define BQ2429X_REG09_WD_FAULT_m   (0x80)
 
#define BQ2429X_REG09_WD_FAULT_s   (7)
 
#define BQ2429X_REG09_OTG_FAULT_m   (0x40)
 
#define BQ2429X_REG09_OTG_FAULT_s   (6)
 
#define BQ2429X_REG09_CHRG_FAULT_m   (0x30)
 
#define BQ2429X_REG09_CHRG_FAULT_s   (4)
 
#define BQ2429X_REG09_BAT_FAULT_m   (0x08)
 
#define BQ2429X_REG09_BAT_FAULT_s   (3)
 
#define BQ2429X_REG09_NTC_FAULT_1_m   (0x02)
 
#define BQ2429X_REG09_NTC_FAULT_1_s   (1)
 
#define BQ2429X_REG09_NTC_FAULT_0_m   (0x01)
 
#define BQ2429X_REG09_NTC_FAULT_0_s   (0)
 

Macro Definition Documentation

◆ BQ2429X_I2C_ADDR

#define BQ2429X_I2C_ADDR   (0x6B)

BQ2429x I2C device slave address.

Definition at line 30 of file bq2429x_internal.h.

◆ BQ2429X_REG00

#define BQ2429X_REG00   (0x00)

Registers.

Input Source Control

Definition at line 36 of file bq2429x_internal.h.

◆ BQ2429X_REG00_IINLIM_m

#define BQ2429X_REG00_IINLIM_m   (0x07)

Definition at line 54 of file bq2429x_internal.h.

◆ BQ2429X_REG00_IINLIM_s

#define BQ2429X_REG00_IINLIM_s   (0)

Definition at line 55 of file bq2429x_internal.h.

◆ BQ2429X_REG00_VINDPM_m

#define BQ2429X_REG00_VINDPM_m   (0x78)

Register values.

Definition at line 52 of file bq2429x_internal.h.

◆ BQ2429X_REG00_VINDPM_s

#define BQ2429X_REG00_VINDPM_s   (3)

Definition at line 53 of file bq2429x_internal.h.

◆ BQ2429X_REG01

#define BQ2429X_REG01   (0x01)

Power-On Configuration.

Definition at line 37 of file bq2429x_internal.h.

◆ BQ2429X_REG01_CHG_DISABLE

#define BQ2429X_REG01_CHG_DISABLE   (0)

Definition at line 64 of file bq2429x_internal.h.

◆ BQ2429X_REG01_CHG_ENABLE

#define BQ2429X_REG01_CHG_ENABLE   (1)

Definition at line 63 of file bq2429x_internal.h.

◆ BQ2429X_REG01_CHG_m

#define BQ2429X_REG01_CHG_m   (0x10)

Definition at line 61 of file bq2429x_internal.h.

◆ BQ2429X_REG01_CHG_s

#define BQ2429X_REG01_CHG_s   (4)

Definition at line 62 of file bq2429x_internal.h.

◆ BQ2429X_REG01_OTG_DISABLE

#define BQ2429X_REG01_OTG_DISABLE   (0)

Definition at line 60 of file bq2429x_internal.h.

◆ BQ2429X_REG01_OTG_ENABLE

#define BQ2429X_REG01_OTG_ENABLE   (1)

Definition at line 59 of file bq2429x_internal.h.

◆ BQ2429X_REG01_OTG_m

#define BQ2429X_REG01_OTG_m   (0x20)

Definition at line 57 of file bq2429x_internal.h.

◆ BQ2429X_REG01_OTG_s

#define BQ2429X_REG01_OTG_s   (5)

Definition at line 58 of file bq2429x_internal.h.

◆ BQ2429X_REG02

#define BQ2429X_REG02   (0x02)

Charge Current Control.

Definition at line 38 of file bq2429x_internal.h.

◆ BQ2429X_REG02_ICHG_m

#define BQ2429X_REG02_ICHG_m   (0xFC)

Definition at line 66 of file bq2429x_internal.h.

◆ BQ2429X_REG02_ICHG_s

#define BQ2429X_REG02_ICHG_s   (2)

Definition at line 67 of file bq2429x_internal.h.

◆ BQ2429X_REG04

#define BQ2429X_REG04   (0x04)

Charge Voltage Control.

Definition at line 39 of file bq2429x_internal.h.

◆ BQ2429X_REG04_VREG_m

#define BQ2429X_REG04_VREG_m   (0xFC)

Definition at line 69 of file bq2429x_internal.h.

◆ BQ2429X_REG04_VREG_s

#define BQ2429X_REG04_VREG_s   (2)

Definition at line 70 of file bq2429x_internal.h.

◆ BQ2429X_REG05

#define BQ2429X_REG05   (0x05)

Charge Termination/Timer Control.

Definition at line 41 of file bq2429x_internal.h.

◆ BQ2429X_REG05_WD_DISABLE

#define BQ2429X_REG05_WD_DISABLE   (0x00)

Definition at line 74 of file bq2429x_internal.h.

◆ BQ2429X_REG05_WD_m

#define BQ2429X_REG05_WD_m   (0x30)

Definition at line 72 of file bq2429x_internal.h.

◆ BQ2429X_REG05_WD_s

#define BQ2429X_REG05_WD_s   (4)

Definition at line 73 of file bq2429x_internal.h.

◆ BQ2429X_REG08

#define BQ2429X_REG08   (0x08)

System Status.

Definition at line 42 of file bq2429x_internal.h.

◆ BQ2429X_REG08_CHG_STAT_m

#define BQ2429X_REG08_CHG_STAT_m   (0x30)

Definition at line 78 of file bq2429x_internal.h.

◆ BQ2429X_REG08_CHG_STAT_s

#define BQ2429X_REG08_CHG_STAT_s   (4)

Definition at line 79 of file bq2429x_internal.h.

◆ BQ2429X_REG08_DPM_STAT_m

#define BQ2429X_REG08_DPM_STAT_m   (0x08)

Definition at line 80 of file bq2429x_internal.h.

◆ BQ2429X_REG08_DPM_STAT_s

#define BQ2429X_REG08_DPM_STAT_s   (3)

Definition at line 81 of file bq2429x_internal.h.

◆ BQ2429X_REG08_PG_STAT_m

#define BQ2429X_REG08_PG_STAT_m   (0x04)

Definition at line 82 of file bq2429x_internal.h.

◆ BQ2429X_REG08_PG_STAT_s

#define BQ2429X_REG08_PG_STAT_s   (2)

Definition at line 83 of file bq2429x_internal.h.

◆ BQ2429X_REG08_THERM_STAT_m

#define BQ2429X_REG08_THERM_STAT_m   (0x02)

Definition at line 84 of file bq2429x_internal.h.

◆ BQ2429X_REG08_THERM_STAT_s

#define BQ2429X_REG08_THERM_STAT_s   (1)

Definition at line 85 of file bq2429x_internal.h.

◆ BQ2429X_REG08_VBUS_STATUS_m

#define BQ2429X_REG08_VBUS_STATUS_m   (0xC0)

Definition at line 76 of file bq2429x_internal.h.

◆ BQ2429X_REG08_VBUS_STATUS_s

#define BQ2429X_REG08_VBUS_STATUS_s   (6)

Definition at line 77 of file bq2429x_internal.h.

◆ BQ2429X_REG08_VSYS_STAT_m

#define BQ2429X_REG08_VSYS_STAT_m   (0x01)

Definition at line 86 of file bq2429x_internal.h.

◆ BQ2429X_REG08_VSYS_STAT_s

#define BQ2429X_REG08_VSYS_STAT_s   (0)

Definition at line 87 of file bq2429x_internal.h.

◆ BQ2429X_REG09

#define BQ2429X_REG09   (0x09)

New Fault Register.

Definition at line 43 of file bq2429x_internal.h.

◆ BQ2429X_REG09_BAT_FAULT_m

#define BQ2429X_REG09_BAT_FAULT_m   (0x08)

Definition at line 95 of file bq2429x_internal.h.

◆ BQ2429X_REG09_BAT_FAULT_s

#define BQ2429X_REG09_BAT_FAULT_s   (3)

Definition at line 96 of file bq2429x_internal.h.

◆ BQ2429X_REG09_CHRG_FAULT_m

#define BQ2429X_REG09_CHRG_FAULT_m   (0x30)

Definition at line 93 of file bq2429x_internal.h.

◆ BQ2429X_REG09_CHRG_FAULT_s

#define BQ2429X_REG09_CHRG_FAULT_s   (4)

Definition at line 94 of file bq2429x_internal.h.

◆ BQ2429X_REG09_NTC_FAULT_0_m

#define BQ2429X_REG09_NTC_FAULT_0_m   (0x01)

Definition at line 99 of file bq2429x_internal.h.

◆ BQ2429X_REG09_NTC_FAULT_0_s

#define BQ2429X_REG09_NTC_FAULT_0_s   (0)

Definition at line 100 of file bq2429x_internal.h.

◆ BQ2429X_REG09_NTC_FAULT_1_m

#define BQ2429X_REG09_NTC_FAULT_1_m   (0x02)

Definition at line 97 of file bq2429x_internal.h.

◆ BQ2429X_REG09_NTC_FAULT_1_s

#define BQ2429X_REG09_NTC_FAULT_1_s   (1)

Definition at line 98 of file bq2429x_internal.h.

◆ BQ2429X_REG09_OTG_FAULT_m

#define BQ2429X_REG09_OTG_FAULT_m   (0x40)

Definition at line 91 of file bq2429x_internal.h.

◆ BQ2429X_REG09_OTG_FAULT_s

#define BQ2429X_REG09_OTG_FAULT_s   (6)

Definition at line 92 of file bq2429x_internal.h.

◆ BQ2429X_REG09_WD_FAULT_m

#define BQ2429X_REG09_WD_FAULT_m   (0x80)

Definition at line 89 of file bq2429x_internal.h.

◆ BQ2429X_REG09_WD_FAULT_s

#define BQ2429X_REG09_WD_FAULT_s   (7)

Definition at line 90 of file bq2429x_internal.h.

◆ BQ2429X_REG0A

#define BQ2429X_REG0A   (0x0A)

Vendor / Part / Revision Status.

Definition at line 45 of file bq2429x_internal.h.