AXP209

The AXP209 is the PMU (Power Management Unit) used by A10 and A13 SoCs and developed by X-Powers, a sister company of Allwinner.

GPIO
The AXP209 has 4 GPIOs which can be addressed from script.bin files as port:powerN (N in [0..3]).

Spec Sheet






Enhanced single Cell Li-Battery and Power System Management IC AXP209

Overview
AXP209 management chip is a highly integrated power system for single-cell lithium battery (lithium-ion or lithium polymer) and require multiple power conversion Application of the output can be flexibly configured to provide easy-to-use and complete power solutions fully meet the increasingly complex application processing. Precise control requirements of the control system for the power supply.

AXP209 integrates an adaptive USB-Compatible the PWM charger, 2-way step-down converter (Buck DC-DC converter), 5-channel linear regulator device (LDO) voltage / current / temperature multi-channel 12-Bit ADC, 4 configurable GPIO. Sustaining Card power system security the stable, AXP209 integrated over / under voltage (OVP / UVP), over temperature (OTP), overcurrent protection (OCP) circuit.

Wisdom energy balance in AXP209 (Intelligent Power Select, IPS ™) circuit in the USB and external AC adapter, lithium battery Safe and transparent distribution of electric energy between the pool and the application of the system load and the only external input power without batteries (or battery over discharge / damage) Can also be the case so that the application of the system to work properly.

AXP209 external adapter and USB and battery capacity of three-input, support rechargeable backup battery. AXP209 provides a two-wire serial communication interface: Two Wire Serial the Interface (TWSI), application processor through the pick Mouth open or shut down some of the power output, set the voltage, the access to the internal registers and a variety of measurement data (including Fuel Gauge). High Accuracy (1%, mainly decided by the the BIAS resistor 1% accuracy) power measurement data to facilitate consumers more clearly the real-time power usage like Conditions, giving consumers an unprecedented level of equipment energy use experience.

AXP209 6mm x 6mm 48-pin QFN package.

Applications

 * Handheld mobile devices
 * Smart mobile phone, PMP/MP4, the number of
 * Digital camera, a digital camera, a handheld guide
 * Navigational GPS, PDA, handheld digital
 * Radio and television receivers
 * Mobile Internet Devices xPad, MID
 * Digital photo frames, portable DVD player,
 * Ultra mobile PC UMPC and
 * UMPC-like, learning machine
 * Application processor circuit system
 * Application Processor systems
 * Other battery and power applications

Features
(mA or mW), and the remaining battery capacity (% or mAh) The state of charge (%) and the remaining battery time or charge
 * Automatic gapless power source change.
 * Voltage range: 2.9 V - 6.3V (AMR:-0.3V-11V)
 * Adjustable current limit (4.4V/900mA/500mA/100mA)
 * Battery Power Path resistance less than 75mΩ
 * Fully integrated PWM Charger
 * Maximum charging current of up to 1.8A
 * Full support USB charging
 * Battary voltage range: 4.1V/4.15V/4.2V/4.36V
 * Battery temperature monitoring
 * Automatic charging process control
 * Support charger LED
 * Automatically adjust charge current according to system load
 * Support backup Battery(can be used for RTC module)
 * Support for Spare Battery Charging current can be set
 * 2-channel synchronous buck converter (DC-DC)
 * DC-DC2: can be adjusted between 0.7-2.275V 25mV/step, drive capability 1.6A support VRC
 * DC-DC3: can be adjusted between 0.7-3.5V, 25mV/step, drive capacity 1.2A
 * 5 Low Drop Lineal Regulators
 * LDO1: Always-on, 30mA
 * LDO2: Low noise, 1.8V3.3V adjustable 100mV/step, Drive capability 200mA
 * LDO3: 0.7-3 .5 V adjustable, 25mV/step, Drive capacity 200mA
 * LDO4: low noise LDO, 1.8V-3.3V adjustable 100mV/step, Drive capability of 200mA
 * LDO5: low-noise LDO, 1.8-3.3V adjustable 100mV/step, drive capability 50mA
 * Timer (Timer)
 * 7bit Timer, Timing Range 1127 minutes
 * Timer IRQ wire
 * Signal acquisition system
 * Built-in 12 Bit ADC, 12-way for current and voltage control with two additional external signal input
 * Built-in Fuelgauge system provides rich power management information, such as power consumption
 * Two channel low-battery warning and protection
 * Internal temperature sensor
 * Application Processor Interface (Host Interface)
 * TWI(I2C) interface for data exchange
 * IRQ for Sleep Managment
 * Build-in GPIO
 * Built-in configurable timer
 * Provide 12 registers for data storage during system power-off
 * System Management
 * Soft reset and hard reset support
 * Soft and hard power shutdown support
 * Support for external wake source
 * Support the output voltage monitoring, self-diagnostic function
 * Output PWROK, the used for system reset or shutdown instructions
 * External power detection (insert / remove / drive capacity)
 * All input and output support soft start
 * Over / Under-voltage protection (OVP / UVP)
 * Overcurrent protection (OCP)
 * Overtemperature protection (OTP)
 * Support OTG VBUS power state setting / monitoring
 * Internal precision reference voltage (0.5%)
 * Built-in MOSFET
 * timing and the output voltage can be customized
 * decryption module (Decryption)
 * 128bit OTP password storage
 * dynamic real-time decryption algorithm

Registers Description
Bit Description R / W 7 ACIN presence indicates 0: ACIN does not exist; 1: ACIN presence R 6 Instructions the ACIN whether available R 5 VBUS is present indication 0: VBUS does not exist; 1: VBUS exist R 4 Indicate the VBUS whether available R 3 The directions VBUS access before use is greater than V HOLD R 2 Indicates that the battery current direction 0: battery discharge; 1: The battery is charged R 1 Indicate whether ACIN and VBUS input is shorted on the PCB R 0 The instructions start ACIN source is or VBUS 0: Start source non-ACIN / VBUS is;: Start source ACIN / VBUS R Bit Description R / W 7 Indicating AXP209 whether over-temperature 0: not too warm; 1: overtemperature R 6 Charging indicator 0: not charging or charging has been completed; 1: Charging R 5 The battery state of existence indicates 0: no battery connected to AXP209; 1: the battery has been connected to the AXP209 R 4 Reservations, can not be changed R 3 Indicates whether the battery into the active mode 0: not to enter the the battery activation patterns; 1: has entered the battery activation mode R 2 Indicate the charging current is less than the desired current 0: The actual charge current is equal to the desired current; 1: the actual charge current is less than the desired current R 1-0 Reservations, can not be changed R Bit Description R / W 7-3 Reservations, can not be changed 2 Indicate the VBUS whether effective, effective R 1 The directions VBUS Session A / B is effective, and 1 indicates that a valid R 0 Indicative Session End state 1 indicates R Note: As long as the external power supply, battery or battery backup certain power exists, this data will be kept, not affected by the switch machine. Default value: XXH Bit Description R / W Default values 7 Reservations, can not be changed RW X 6 LDO3 switch control 0: off; 1: open RW X 5 Reservations, can not be changed RW X 4 DC-DC2 switch control RW X 3 LDO4 switch control RW X 2 LDO2 switch control RW X 1 DC-DC3 switch control RW X 0 The EXTEN switch control 0: off; 1: open RW X Default value: XXH Bit Description R / W Default values 7-6 Reservations, can not be changed 5-0 DC-DC2 output voltage setting 0.7-2.275V, 25mV/step Vout = [0.7 + (Bit5-0) * 0.025] V RW X Default value: 00H Bit Description R / W Default values 7-4 Reservations, can not be changed 3 LDO3 VRC enable control 0: open; 1: Close RW 0 2 DC-DC2 VRC enable control 0: open; 1: Close RW 0 1 LDO3 VRC control the slope of the voltage rise 0: 25mV/15.625us = 1.6mV/us 1: 25mV/31.250us = 0.8mV/us RW 0 0 DC-DC2 VRC control the slope of the voltage rise 0: 25mV/15.625us = 1.6mV/us 1: 25mV/31.250us = 0.8mV/us RW 0 Default value: XXH Bit Description R / W Default values 7 Reservations, can not be changed 6-0 DC-DC3 output voltage setting 0.7-3.5V, 25mV/step Vout = [0.7 + (Bit6-0) * 0.025] V RW X Default value: XXH Bit Description R / W Default values 7-4 LDO2 output voltage settings 1.8-3.3V, 100mV/step Vout = [1.8 + (Bit7-4) * 0.1] V RW X 3-0 LDO4 output voltage settings 1.25 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2.0 2.5 2.7 2.8 3.0 3.1 3.2 3.3 RW X Default value: XXH Bit Description R / W Default values 7 LDO3 mode select: 0: LDO mode, the voltage is set by the [6:0] 1: switch-mode voltage is decided by LDO3IN RW 0 6-0 LDO3 output voltage setting Bit6-Bit0 0.7-2.275V, 25mV/step Vout = [0.7 + (Bit6-0) * 0.025] V RW X Default value: 6XH Bit Description R / W Default values 7 VBUS available when the VBUS-IPSOUT pathway selection control signal 0: N_VBUSEN ​​pin, to decide whether to open this path 1: VBUS-IPSOUT path select Open, regardless N_VBUSEN ​​state RW 0 6 VBUS V HOLD Pressure limiting control 0: not limited pressure; 1: limited pressure RW 1 5-3 V HOLD Set up V HOLD = [4.0 + (Bit5-3) * 0.1] V RW 100 2 Reservations, can not be changed 1-0 VBUS current limit control open time limit stream selection RW 0 00:900 mA; 01:500 mA; 10:100 mA; 11: not limit OFF Shutdown voltage setting Default value: X3H of Bit Description R / W Default values 7-4 Reservations, can not be changed 3 Sleep mode the PEK or GPIO edge the wakeup enable set: 0: off 1: Open After writing this bit automatically cleared each into Sleep mode again write 1 2-0 V OFF Set up V OFF = [2.6 + (Bit2-0) * 0.1] V Default: 2.9V RW 011 Default value: 46H Bit Description R / W Default values 7 Shutdown control This bit write output closes AXP209 RW 0 6 Battery monitoring function set bit: 0: off; 1: Open RW 1 5-4 CHGLED pin functions set 00: Hi-Z 01: 25% 1Hz blinking 10: 25% 4Hz blinking 11: output low RW 00 3 CHGLED pin control set 0: control by charging function 1: REG 32H [5:4] control by the register RW 0 2 Output Close timing control 0: Close 1: Contrary to start timing RW 0 1-0 Shutdown delay N_OE AXP209 from low to high Delay time 00: 128mS; 01: 1S; 10: 2S; 11: 3S RW 10 Default value: CXH Bit Description R / W Default values 7 Charging functions enable control bit 0: Off, 1: open RW 1 6-5 Charging the target voltage set RW 10 00:4.1 V; 01:4.15 V; 10:4.2 V; 11:4.36 V 4 Charging the end of the current set 0: The charging current is less than 10% of the set value, end-of-charge 1: The charging current is less than 15% of the set value, end-of-charge RW 0 3-0 Charging current is set I charge = [300 + (Bit3-0) * 100] mA RW X Default value: 45H Bit Description R / W Default values 7 Precharge timeout settings Bit1 RW 0 6 Precharge timeout setting Bit0 00: 40 min; 01: 50min; 10: 60min; 11: 70min RW 1 5 Retention 4 CHGLED mode selection 0: Charging Steady 1: flashes when charging RW 0 3-2 Reservations, can not be changed 1-0 The constant current mode timeout setting Bit1-0 00: 6Hours; 01: 8Hours; 10: 10Hours; 11: 12Hours RW 01 Default value: 22H Bit Description R / W Default values 7 Backup battery charge enable control 0: off; 1: open RW 0 6-5 Target backup battery charging voltage set 00:3.1 V; 01:3.0 V; 10:3.6 V; 11:2.5 V RW 01 4-2 Reservations, can not be changed 1-0 Spare battery charging current is set 00: 50uA; 01: 100uA; 10: 200uA; 11: 400uA RW 10 Default value: 9DH Bit Description R / W Default values 7-6 Boot time settings 00: 128mS; 01: 3S; 10: 1S; 11: 2S. RW 01 5-4 Long key time set 00: 1S; 01: 1.5S; 10: 2S; 11: 2.5S. RW 01 3 Key long when you grew up in the shutdown automatic shutdown feature set 0: off; 1: open RW 1 2 The complete power start PWROK signal delay 0:8 mS; 1:64 mS RW 1 1-0 Length setting shutdown 00: 4S; 01: 6S; 10: 8S; 11: 10S. RW 01 Default value: 08H Bit Description R / W Default values 7-4 Reservations, can not be changed 3-0 DC-DC switching frequency is set Each level change of 5%, the default value of 1.5MHz F = [1 + / - (Bit3-0) * 5%)] * 1.5MHz RW 1000 LTF-charge Charging the battery temperature threshold set Default value: A5H of Bit Description R / W Default values 7-0 When charging the battery temperature threshold settings, M M * 10H, when M = A5H corresponding 2.112V; Corresponding voltage 0V3.264V RW A5H V LTF-charge = M * 10H * 0.0008V HTF-charge Battery charging high temperature threshold settings Default value: 1FH Bit Description R / W Default values 7-0 Charging battery high temperature threshold settings, N N * 10H, when N = 1FH corresponding 0.397V; can Corresponding voltage 0V3.264V RW 1FH V HTF-charge = N * 10H * 0.0008V Default value: 68H Bit Description R / W Default values 7-0 System IPSOUT Vwarning Level1 RW 68H Default value: 5FH Bit Description R / W Default values 7-0 System IPSOUT Vwarning Level2 RW 5FH The voltage setting of REG3AH, REG3BH corresponding relations as follows (assuming that the register value of n): Vwarning = 2.8672 + 1.4mV * n * 4 LTF-discharge Battery discharge temperature threshold set Default value: FCH Bit Description R / W Default values 7-0 Discharge the battery temperature threshold settings, M M * 10H, when M = FCH corresponding 3.226V; Corresponding voltage 0V3.264V RW FCH V LTF-discharge = M * 10H * 0.0008V HTF-discharge Battery discharge high temperature threshold settings Default value: 16H Bit Description R / W Default values 7-0 Battery discharge high temperature threshold settings, N N * 10H, when of N = 16H, corresponding to 0.282V; can The voltage 0V3.264V, RW 16H V LTF-discharge = N * 10H * 0.0008V Default value: E0H Bit Description R / W Default values 7-3 Reservations, can not be changed 2 DC-DC2 operating mode control RW 0 1 DC-DC3 operating mode control 0: PFM / PWM auto-switching 1: fixed PWM RW 0 0 Reservations, can not be changed Default value: 83H Bit Description R / W Default values 7 Battery voltage ADC enable RW 1 6 Battery current ADC enable RW 0 5 The ACIN Voltage ADC is enabled. RW 0 4 The ACIN current ADC is enabled. RW 0 3 VBUS voltage ADC enable RW 0 2 The VBUS current ADC enable RW 0 1 APS voltage ADC enable RW 1 0 TS pin ADC function is enabled 0: Off, 1: open RW 1 Default value: 80H Bit Description R / W Default values 7 AXP209 internal temperature monitoring ADC enable 0: Off, 1: open RW 1 6-4 Reservations, can not be changed 3 The GPIO0 ADC enable RW 0 2 The GPIO1 ADC enable RW 0 1-0 Reservations, can not be changed 0: Off, 1: open Default value: 32H Bit Description R / W Default values 7-6 ADC sampling rate is set 25 × 2 n Sampling rates of 25, 50, 100, 200Hz RW 0 5-4 TS pin output current settings: 00:20 uA; 01:40 uA; 10:60 uA; 11:80 uA RW 11 3 Reservations, can not be changed 2 TS pin function selection 0: battery temperature monitoring function, 1: independent external ADC input path RW 0 RW 1 1-0 TS pin current output settings 00: Close 01: charging current output 10: ADC Sample input could be saving 11: has been open RW 0 Default value: X0H of Bit Description R / W Default values 7-2 Reservations, can not be changed 1 The GPIO1 ADC input range RW 0 0 The GPIO0 ADC input range 0:0-2.0475 V 1:0.7-2.7475 V RW 0 Default value: FFH Bit Description R / W Default values 7-0 One LSB 8mV RW FF Default value: 00H Bit Description R / W Default values 7-0 One LSB 8mV RW 00 Default value: 00H Bit Description R / W Default values 7 Timer expires Write 1 to clear this status RW 0 6-0 Set regular time in minutes To write 0 closed this timer RW 0000000 Default value: 00H Bit Description R / W Default values 7-6 Reservations, can not be changed 5-4 VBUS valid voltage settings 00:4.0 V; 01:4.15 V; 10:4.45 V; 11:4.55 V RW 00 3 VBUS Valid detection function settings: 0: Off, 1: Open RW 0 2 VBUS Session detection function settings: 0: Off, 1: Open RW 0 1 Discharge VBUS discharge feature set 0: Close VBUS discharge resistor; 1: VBUS discharge resistor RW 0 0 Charge VBUS charge feature set 0: Disconnect VBUS charge resistor; 1: VBUS charging resistor to VBUS charge RW 0 Default value: 21H Bit Description R / W Default values 7-3 Reservations, can not be changed RW 0 2 AXP209 internal over-temperature shutdown feature set 0: Shutdown; 1: Shutdown RW 0 1-0 Reservations, can not be changed Default value: 07H Bit Description R / W Default values 7 GPIO0 rising edge IRQ or Wakeup function RW 0 6 GPIO0 falling edge of IRQ or Wakeup function 0: disable 1: enable RW 0 5-3 Reservations, can not be changed RW 0 2 RW 1 1 RW 1 0 The GPIO0 pin feature set Bit 2-0 000: low output 001: output (3.3V) 010: universal input function 011: low noise LDO5 100: ADC input 1XX: floating RW 1 Default value: A5H of Bit Description R / W Default values 7-4 LDO5 output voltage settings Vout = [1.8 + (Bit7-4) * 0.1] V; defalt = 1.8 +10 * 0.1 = 2.8V RW 1010 3 Reservations, can not be changed 2-0 EXTEN, and GPIO [1:0] set the output high 000:1.8 V; 001:2.5 V; 010:2.8 V; 011:3.0 V; 100:3.1 V; 101:3.3 V; 110:3.4 V; 111:3.5 V RW 101 VQ.QW WPPIQPWE CC Confidential Page 41/45 Enhanced single Cell Li-Battery and Power System Management IC AXP209 Default value: 07H Bit Description R / W Default values 7 GPIO1 rising edge IRQ or Wakeup function RW 0 6 GPIO1 rising edge IRQ or Wakeup function 0: disable 1: enable RW 0 5-3 Reservations, can not be changed RW 0 2-0 The GPIO1 pin functions set 000: low output 001: output (3.3V) 010: universal input function 011: low-noise LDO 100: ADC input 1XX: floating RW 111 Default value: 07H Bit Description R / W Default values 7 GPIO2 rising edge IRQ or Wakeup function RW 0 6 The GPIO2 falling edge of the IRQ or Wakeup function 0: disable 1: enable RW 0 5-3 Reservations, can not be changed RW 0 2-0 The GPIO2 pin functions set 000: low output 001: floating 010: universal input function XXX: floating RW 111 Default value: 00H Bit Description R / W Default values 7 Reservations, can not be changed R 6 The GPIO2 enter state R 5 The GPIO1 enter state R 4 The GPIO0 enter state 0: input low 1: input high R 3-0 Reservations, can not be changed Default value: 00H Bit Description R / W Default values 7 GPIO3 rising edge IRQ or Wakeup function RW 0 6 GPIO3 falling edge of IRQ or Wakeup function 0: disable 1: enable RW 0 5-3 Reservations, can not be changed 2 GPIO3 feature set 0: NMOS Open Drain Output 1: digital input function RW 0 1 GPIO3 output settings 0: output low, NMOS open 1: floating, NMOS Close RW 1 0 GPIO3 input state 0: input high 1: input low R The IRQ enable 1, REG40H: The default value: D8H IRQ state REG48H: default value: 00H Bit Description R / W Default values 7-0 The meaning of the status bits of each bit corresponding to 40H; For example: Bit7 is ACIN overvoltage IRQ status bits RW 0 IRQ energy 2 REG41H: default value: FFH Bit Description R / W Default values 7 IRQ enable battery access RW 1 6 IRQ enable battery removed RW 1 5 The battery activation patterns IRQ enable RW 1 4 The exit cell activation patterns IRQ enable RW 1 3 The is charging IRQ enable RW 1 2 The charging completed IRQ enable RW 1 1 Battery over-temperature IRQ enabled RW 1 0 IRQ Enable battery low temperature RW 1 Bit Description R / W Default values 7 The ACIN overvoltage IRQ enable RW 1 6 The ACIN access IRQ enable RW 1 5 ACIN out of IRQ enable RW 0 4 VBUS overvoltage IRQ enabled RW 1 3 And VBUS access IRQ enable RW 1 2 The VBUS removed IRQ enabled RW 0 1 VBUS available but less than V HOLD IRQ is enabled RW 0 0 Reservations, can not be changed RW 0 VQ.QW WPPIQPWE CC Confidential Page 43/45 Enhanced single Cell Li-Battery and Power System Management IC AXP209 The IRQ state REG49H: default value: 00H Bit Description R / W Default values 7-0 The meaning of the status bits, respectively, each bit of the corresponding 41H RW 0 IRQ can 3 REG42H: default value: 03H Bit Description R / W Default values 7 AXP209 Internal overtemperature IRQ enable RW 0 6 The charging current is less than the set current IRQ enable RW 0 5 Reservations, can not be changed 4 DC-DC2 output voltage is less than the set value IRQ enable RW 0 3 DC-DC3 output voltage is less than the set value IRQ enable RW 0 2 LDO3 output voltage is less than the set value IRQ enable 1 The PEK short key IRQ enable RW 1 0 PEK long keys IRQ enable RW 1 The IRQ state REG4AH: default value: 00H Bit Description R / W Default values 7-0 The meaning of the status bits, respectively, each bit of the corresponding 42H RW 0 IRQ Enable 4, REG43H: default value: 01H Bit Description R / W Default values 7 N_OE boot IRQ enable RW 0 6 IRQ enable N_OE shutdown RW 0 5 VBUS valid IRQ enabled RW 0 4 VBUS invalid IRQ enable RW 0 3 VBUS Session A / B IRQ enable RW 0 2 VBUS Session End IRQ enable RW 0 1 The APS low pressure IRQ Enable (LEVEL1) RW 0 0 The APS low pressure IRQ Enable (LEVEL2) RW 1 The IRQ state REG4BH: default value: 00H Bit Description R / W Default values 7-0 The meaning of the status bits, respectively, each bit of the corresponding 43H RW 0 IRQ can 5 REG44H default value: 00H; VQ.QW WPPIQPWE CC Confidential Page 44/45 Enhanced single Cell Li-Battery and Power System Management IC AXP209 Bit Description R / W Default values 7 Timer timeout IRQ enable RW 0 6 PEK button on the rising edge IRQ enable RW 0 5 PEK buttons enable falling edge of IRQ RW 0 4 Reservations, can not be changed RW 0 3 GPIO3 input edge-triggered IRQ enable RW 0 2 GPIO2 input edge-triggered IRQ enable RW 0 1 The GPIO1 input edge-triggered or ADC input IRQ enabled RW 0 0 GPIO0 input edge-triggered IRQ enable RW 0 The the IRQ state of 5 REG4CH: default value: 00H Bit Description R / W Default values 7-0 The meaning of the status bits, respectively, each bit of the corresponding 44H RW 0 Note: All IRQ status register corresponding bit write clears state. Default value: 00H Bit Description R / W Default values 7 The coulomb meter switch control RW 0 6 Coulomb Counter pause control, the write will be suspended Coulomb counting while this bit is cleared from RW 0 5 The clear Coulomb Counter control bit write Coulomb Counter will be cleared while this bit is cleared from RW 0 4-2 Reservations, can not be changed RW 0 1-0 The decryption start bit, decryption start automatically cleared RW 0 0 Decryption is complete 0: not completed 1: Complete RW 0 Default value: 7FH Bit Description R / W Default values 7 Metering system control 0: normal operating mode 1: suspend work RW 0 6-0 Measurement results, the percentage of R 7F
 * REG 00H: input power status
 * REG 01H: power operating mode and charge status indication
 * REG 02H: USB OTG VBUS status indication
 * REG 04-0FH: data cache
 * REG 12H: Power output control
 * REG 23H: DC-DC2 output voltage setting
 * REG 25H: DC-DC2/LDO3 dynamic voltage scaling parameter settings
 * REG 27H: DC-DC3 output voltage setting
 * REG 28H: LDO2 / 4 output voltage settings
 * REG 29H: LDO3 output voltage settings
 * REG 30H: VBUS-IPSOUT channel management
 * REG 31H: V
 * REG 32H: shutdown settings, battery detection and CHGLED pins control
 * REG 33H: charge control
 * REG 34H: charge control
 * REG 35H: spare battery charging control
 * REG 36H: PEK key parameter settings
 * REG 37H: DC-DC operating frequency is set
 * REG 38H: V
 * REG 39H: V
 * REG 3AH: system IPSOUT Vwarning Level1
 * REG 3BH: IPSOUT Vwarning Level2
 * REG 3CH: V
 * REG 3DH: V
 * REG 80H: DC-DC mode selection
 * REG 82H: ADC Enable 1
 * REG 83H: ADC Enable 2
 * REG 84H: ADC sample rate settings, the TS pin control
 * REG 85H: ADC input range
 * REG 86H: GPIO1 ADC IRQ rising edge threshold set
 * REG 87H: GPIO1 ADC IRQ falling edge threshold set
 * REG 8AH: timer control
 * REG: VBUS is pin monitoring SRP function control 8BH
 * REG 8FH: over-temperature shutdown feature set
 * REG 90H: GPIO0 feature set
 * REG 91H: LDO5 output voltage as well as the EXTEN / GPIO output high set
 * REG 92H: GPIO1 feature set
 * REG 93H: GPIO2 feature set
 * REG 94H: GPIO [2:0] signal state setting and monitoring
 * REG 95H: GPIO3 set
 * REG 40H and 48H: IRQ enable IRQ state
 * REG 41H and 49H of the: IRQ Enable IRQ state 2
 * REG 42H 4AH: IRQ enable IRQ state
 * REG 43H 4BH: IRQ Enable 4 and IRQ state
 * REG 44H and 4C: IRQ enable IRQ state 5
 * REG B8H: Coulomb Counter Control
 * REG B9H: power measurement results