AXP209

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

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

Spec Sheets






Overview
AXP209 is designed to be a highly-integrated power system management IC that is optimized for applications requiring single-cell Li-battery (Li-Ion/Polymer) and multiple output DC-DC converters.

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.

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



Features

 * Automatic gapless power source change (IPS - Intelligent Power Select)
 * Voltage range: 2.9 V - 6.3V (AMR:-0.3V-11V)
 * Configurable high efficient IPS system
 * Adjustable USB or AC-adapter 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
 * Backup battery
 * Support backup battery (can be used for RTC module)
 * Support for backup battery, charging current can be set
 * 2 synchronous Duck DC-DC converters
 * 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 with voltage from 1.8V to 3.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 outputs interrupts
 * 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 information, such as power consumption (mA or mW), the remaining battery capacity (% or mAh), the state of charge (%) and the remaining time for battery to charge
 * Two-level low-power warning and protection
 * Internal temperature sensor
 * Application Processor Interface (Host Interface)
 * TWSI (I2C) interface for data exchange
 * IRQs and Sleep Managment
 * Built-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, indicating system reset or shutdown instructions
 * External power detection (insert / remove / drive capacity)
 * Supports soft power-on for input & output
 * Over/Under-voltage protection (OVP / UVP)
 * Overcurrent protection (OCP)
 * Overtemperature protection (OTP)
 * Support OTG VBUS power state setting / monitoring
 * Highly integrated
 * Internal precision reference voltage (0.5%)
 * Built-in MOSFET
 * timing and the output voltage can be customized
 * Decryption module
 * 128bit OTP password storage
 * dynamic real-time decryption algorithm

REG 00H: Power input status

 * {| class="wikitable"

! Bit !! Description !! R/W 0: ACIN does not exist; 1: ACIN presence
 * 7
 * ACIN presence indicates
 * ACIN presence indicates
 * 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
 * }
 * 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
 * }
 * 0 || The instructions start ACIN source is or VBUS 0: Start source non-ACIN / VBUS is;: Start source ACIN / VBUS || R
 * }
 * }
 * }

REG 01H: power operating mode and charge status indication

 * {| class="wikitable"

! Bit !! Description !! R/W 0: not too warm; 1: overtemperature 0: not charging or charging has been completed; 1: Charging 0: no battery connected to AXP209; 1: the battery has been connected to the AXP209 0: not to enter the the battery activation patterns; 1: has entered the battery activation mode 0: The actual charge current is equal to the desired current; 1: the actual charge current is less than the desired current
 * 7
 * Indicating AXP209 whether over-temperature
 * Indicating AXP209 whether over-temperature
 * R
 * 6
 * Charging indicator
 * Charging indicator
 * R
 * 5
 * The battery state of existence indicates
 * The battery state of existence indicates
 * R
 * 4
 * Reservations, can not be changed
 * R
 * 3
 * Indicates whether the battery into the active mode
 * 3
 * Indicates whether the battery into the active mode
 * R
 * 2
 * Indicate the charging current is less than the desired current
 * Indicate the charging current is less than the desired current
 * R
 * 1-0
 * Reservations, can not be changed
 * R
 * }
 * }
 * }

REG 02H: USB OTG VBUS status indication

 * {| class="wikitable"

! 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
 * }
 * 0
 * Indicative Session End state 1 indicates
 * R
 * }

REG 04-0FH: data cache
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.

REG 12H: Power output control

 * Default value: XXH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value X 0: off; 1: open 0: off; 1: open
 * 7
 * Reservations, can not be changed
 * RW
 * RW
 * 6
 * LDO3 switch control
 * LDO3 switch control
 * 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
 * DC-DC3 switch control
 * RW
 * X
 * 0
 * The EXTEN switch control
 * The EXTEN switch control
 * RW
 * X
 * }
 * }

REG 23H: DC-DC2 output voltage setting

 * Default value: XXH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 0.7-2.275V, 25mV/step Vout = [0.7 + (Bit5-0) * 0.025] V
 * 7-6
 * Reservations, can not be changed
 * 5-0
 * DC-DC2 output voltage setting
 * 5-0
 * DC-DC2 output voltage setting
 * RW
 * X
 * }
 * }

REG 25H: DC-DC2/LDO3 dynamic voltage scaling parameter settings

 * Default value: 00H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 0: open; 1: Close 0: open; 1: Close 0: 25mV/15.625us = 1.6mV/us 1: 25mV/31.250us = 0.8mV/us 0: 25mV/15.625us = 1.6mV/us 1: 25mV/31.250us = 0.8mV/us
 * 7-4
 * Reservations, can not be changed
 * 3
 * LDO3 VRC enable control
 * 3
 * LDO3 VRC enable control
 * RW
 * 0
 * 2
 * DC-DC2 VRC enable control
 * DC-DC2 VRC enable control
 * RW
 * 0
 * 1
 * LDO3 VRC control the slope of the voltage rise
 * LDO3 VRC control the slope of the voltage rise
 * RW
 * 0
 * 0
 * DC-DC2 VRC control the slope of the voltage rise
 * DC-DC2 VRC control the slope of the voltage rise
 * RW
 * 0
 * }
 * }

REG 27H: DC-DC3 output voltage setting

 * Default value: XXH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 0.7-3.5V, 25mV/step Vout = [0.7 + (Bit6-0) * 0.025] V
 * 7
 * Reservations, can not be changed
 * 6-0
 * DC-DC3 output voltage setting
 * 6-0
 * DC-DC3 output voltage setting
 * RW
 * X
 * }
 * }

REG 28H: LDO2 / 4 output voltage settings

 * Default value: XXH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 1.8-3.3V, 100mV/step Vout = [1.8 + (Bit7-4) * 0.1] V 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
 * 7-4
 * LDO2 output voltage settings
 * LDO2 output voltage settings
 * RW
 * X
 * 3-0
 * LDO4 output voltage settings
 * LDO4 output voltage settings
 * RW
 * X
 * }
 * }

REG 29H: LDO3 output voltage settings

 * Default value: XXH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value LDO3 mode select: 0: LDO mode, the voltage is set by the [6:0] 1: switch-mode voltage is decided by LDO3IN RW 0 LDO3 output voltage setting Bit6-Bit0 0.7-2.275V, 25mV/step Vout = [0.7 + (Bit6-0) * 0.025] V RW X
 * 7
 * 7
 * 6-0
 * 6-0
 * }
 * }

REG 30H: VBUS-IPSOUT channel management

 * Default value: 6XH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 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 VBUS V HOLD Pressure limiting control 0: not limited pressure; 1: limited pressure RW 1 V HOLD Set up V HOLD = [4.0 + (Bit5-3) * 0.1] V RW 100 Reservations, can not be changed VBUS current limit control open time limit stream selection RW 0 00:900 mA; 01:500 mA; 10:100 mA; 11: not limit
 * 7
 * 7
 * 6
 * 6
 * 5-3
 * 5-3
 * 2
 * 2
 * 1-0
 * 1-0
 * }
 * }

REG 31H: V
OFF Shutdown voltage setting
 * Default value: X3H of
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Reservations, can not be changed 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 V OFF Set up V OFF = [2.6 + (Bit2-0) * 0.1] V Default: 2.9V RW 011
 * 7-4
 * 7-4
 * 3
 * 3
 * 2-0
 * 2-0
 * }
 * }

REG 32H: shutdown settings, battery detection and CHGLED pins control

 * Default value: 46H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Shutdown control This bit write output closes AXP209 RW 0 Battery monitoring function set bit: 0: off; 1: Open RW 1 CHGLED pin functions set 00: Hi-Z 01: 25% 1Hz blinking 10: 25% 4Hz blinking 11: output low RW 00 CHGLED pin control set 0: control by charging function 1: REG 32H [5:4] control by the register RW 0 Output Close timing control 0: Close 1: Contrary to start timing RW 0 Shutdown delay N_OE AXP209 from low to high Delay time 00: 128mS; 01: 1S; 10: 2S; 11: 3S RW 10
 * 7
 * 7
 * 6
 * 6
 * 5-4
 * 5-4
 * 3
 * 3
 * 2
 * 2
 * 1-0
 * 1-0
 * }
 * }

REG 33H: charge control

 * Default value: CXH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Charging functions enable control bit 0: Off, 1: open RW 1 Charging the target voltage set RW 10 00:4.1 V; 01:4.15 V; 10:4.2 V; 11:4.36 V 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 Charging current is set I charge = [300 + (Bit3-0) * 100] mA RW X
 * 7
 * 7
 * 6-5
 * 6-5
 * 4
 * 4
 * 3-0
 * 3-0
 * }
 * }

REG 34H: charge control

 * Default value: 45H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Precharge timeout settings Bit1 RW 0 Precharge timeout setting Bit0 00: 40 min; 01: 50min; 10: 60min; 11: 70min RW 1 Retention CHGLED mode selection 0: Charging Steady 1: flashes when charging RW 0 Reservations, can not be changed The constant current mode timeout setting Bit1-0 00: 6Hours; 01: 8Hours; 10: 10Hours; 11: 12Hours RW 01
 * 7
 * 7
 * 6
 * 6
 * 5
 * 5
 * 4
 * 4
 * 3-2
 * 3-2
 * 1-0
 * 1-0
 * }
 * }

REG 35H: spare battery charging control

 * Default value: 22H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Backup battery charge enable control 0: off; 1: open RW 0 Target backup battery charging voltage set 00:3.1 V; 01:3.0 V; 10:3.6 V; 11:2.5 V RW 01 Reservations, can not be changed Spare battery charging current is set 00: 50uA; 01: 100uA; 10: 200uA; 11: 400uA RW 10
 * 7
 * 7
 * 6-5
 * 6-5
 * 4-2
 * 4-2
 * 1-0
 * 1-0
 * }
 * }

REG 36H: PEK key parameter settings

 * Default value: 9DH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Boot time settings 00: 128mS; 01: 3S; 10: 1S; 11: 2S. RW 01 Long key time set 00: 1S; 01: 1.5S; 10: 2S; 11: 2.5S. RW 01 Key long when you grew up in the shutdown automatic shutdown feature set 0: off; 1: open RW 1 The complete power start PWROK signal delay 0:8 mS; 1:64 mS RW 1 Length setting shutdown 00: 4S; 01: 6S; 10: 8S; 11: 10S. RW 01
 * 7-6
 * 7-6
 * 5-4
 * 5-4
 * 3
 * 3
 * 2
 * 2
 * 1-0
 * 1-0
 * }
 * }

REG 37H: DC-DC operating frequency is set

 * Default value: 08H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Reservations, can not be changed 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
 * 7-4
 * 7-4
 * 3-0
 * 3-0
 * }
 * }

REG 38H: V
LTF-charge Charging the battery temperature threshold set
 * Default value: A5H of
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 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
 * 7-0
 * 7-0
 * }
 * }

REG 39H: V
HTF-charge Battery charging high temperature threshold settings
 * Default value: 1FH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 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
 * 7-0
 * 7-0
 * }
 * }

REG 3AH: system IPSOUT Vwarning Level1

 * Default value: 68H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value System IPSOUT Vwarning Level1 RW 68H
 * 7-0
 * 7-0
 * }
 * }

REG 3BH: IPSOUT Vwarning Level2

 * Default value: 5FH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 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
 * 7-0
 * 7-0
 * }
 * }

REG 3CH: V
LTF-discharge Battery discharge temperature threshold set
 * Default value: FCH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 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
 * 7-0
 * 7-0
 * }
 * }

REG 3DH: V
HTF-discharge Battery discharge high temperature threshold settings
 * Default value: 16H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 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
 * 7-0
 * 7-0
 * }
 * }

REG 80H: DC-DC mode selection

 * Default value: E0H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Reservations, can not be changed DC-DC2 operating mode control RW 0 DC-DC3 operating mode control 0: PFM / PWM auto-switching 1: fixed PWM RW 0 Reservations, can not be changed
 * 7-3
 * 7-3
 * 2
 * 2
 * 1
 * 1
 * 0
 * 0
 * }
 * }

REG 82H: ADC Enable 1

 * Default value: 83H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Battery voltage ADC enable RW 1 Battery current ADC enable RW 0 The ACIN Voltage ADC is enabled. RW 0 The ACIN current ADC is enabled. RW 0 VBUS voltage ADC enable RW 0 The VBUS current ADC enable RW 0 APS voltage ADC enable RW 1 TS pin ADC function is enabled 0: Off, 1: open RW 1
 * 7
 * 7
 * 6
 * 6
 * 5
 * 5
 * 4
 * 4
 * 3
 * 3
 * 2
 * 2
 * 1
 * 1
 * 0
 * 0
 * }
 * }

REG 83H: ADC Enable 2

 * Default value: 80H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value AXP209 internal temperature monitoring ADC enable 0: Off, 1: open RW 1 Reservations, can not be changed The GPIO0 ADC enable RW 0 The GPIO1 ADC enable RW 0 Reservations, can not be changed 0: Off, 1: open
 * 7
 * 7
 * 6-4
 * 6-4
 * 3
 * 3
 * 2
 * 2
 * 1-0
 * 1-0
 * }
 * }

REG 84H: ADC sample rate settings, the TS pin control

 * Default value: 32H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value ADC sampling rate is set 25 × 2 n Sampling rates of 25, 50, 100, 200Hz RW 0 TS pin output current settings: 00:20 uA; 01:40 uA; 10:60 uA; 11:80 uA RW 11 Reservations, can not be changed TS pin function selection 0: battery temperature monitoring function, 1: independent external ADC input path RW 0 RW 1 TS pin current output settings 00: Close 01: charging current output 10: ADC Sample input could be saving 11: has been open RW 0
 * 7-6
 * 7-6
 * 5-4
 * 5-4
 * 3
 * 3
 * 2
 * 2
 * 1-0
 * 1-0
 * }
 * }

REG 85H: ADC input range

 * Default value: X0H of
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Reservations, can not be changed The GPIO1 ADC input range RW 0 The GPIO0 ADC input range 0:0-2.0475 V 1:0.7-2.7475 V RW 0
 * 7-2
 * 7-2
 * 1
 * 1
 * 0
 * 0
 * }
 * }

REG 86H: GPIO1 ADC IRQ rising edge threshold set

 * Default value: FFH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value One LSB 8mV RW FF
 * 7-0
 * 7-0
 * }
 * }

REG 87H: GPIO1 ADC IRQ falling edge threshold set

 * Default value: 00H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value One LSB 8mV RW 00
 * 7-0
 * 7-0
 * }
 * }

REG 8AH: timer control

 * Default value: 00H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Timer expires Write 1 to clear this status RW 0 Set regular time in minutes To write 0 closed this timer RW 0000000
 * 7
 * 7
 * 6-0
 * 6-0
 * }
 * REG: VBUS is pin monitoring SRP function control 8BH
 * Default value: 00H
 * {| class="wikitable"
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Reservations, can not be changed VBUS valid voltage settings 00:4.0 V; 01:4.15 V; 10:4.45 V; 11:4.55 V RW 00 VBUS Valid detection function settings: 0: Off, 1: Open RW 0 VBUS Session detection function settings: 0: Off, 1: Open RW 0 Discharge VBUS discharge feature set 0: Close VBUS discharge resistor; 1: VBUS discharge resistor RW 0 Charge VBUS charge feature set 0: Disconnect VBUS charge resistor; 1: VBUS charging resistor to VBUS charge RW 0
 * 7-6
 * 7-6
 * 5-4
 * 5-4
 * 3
 * 3
 * 2
 * 2
 * 1
 * 1
 * 0
 * 0
 * }
 * }

REG 8FH: over-temperature shutdown feature set

 * Default value: 21H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Reservations, can not be changed RW 0 AXP209 internal over-temperature shutdown feature set 0: Shutdown; 1: Shutdown RW 0 Reservations, can not be changed
 * 7-3
 * 7-3
 * 2
 * 2
 * 1-0
 * 1-0
 * }
 * }

REG 90H: GPIO0 feature set

 * Default value: 07H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value GPIO0 rising edge IRQ or Wakeup function RW 0 GPIO0 falling edge of IRQ or Wakeup function 0: disable 1: enable RW 0 Reservations, can not be changed RW 0 RW 1 1 RW 1 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
 * 7
 * 7
 * 6
 * 6
 * 5-3
 * 5-3
 * 2
 * 2
 * 0
 * 0
 * }
 * }

REG 91H: LDO5 output voltage as well as the EXTEN / GPIO output high set

 * Default value: A5H of
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value LDO5 output voltage settings Vout = [1.8 + (Bit7-4) * 0.1] V; defalt = 1.8 +10 * 0.1 = 2.8V RW 1010 Reservations, can not be changed 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
 * 7-4
 * 7-4
 * 3
 * 3
 * 2-0
 * 2-0
 * }
 * }

REG 92H: GPIO1 feature set

 * Default value: 07H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value GPIO1 rising edge IRQ or Wakeup function RW 0 GPIO1 rising edge IRQ or Wakeup function 0: disable 1: enable RW 0 Reservations, can not be changed RW 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
 * 7
 * 7
 * 6
 * 6
 * 5-3
 * 5-3
 * 2-0
 * 2-0
 * }
 * }

REG 93H: GPIO2 feature set

 * Default value: 07H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value GPIO2 rising edge IRQ or Wakeup function RW 0 The GPIO2 falling edge of the IRQ or Wakeup function 0: disable 1: enable RW 0 Reservations, can not be changed RW 0 The GPIO2 pin functions set 000: low output 001: floating 010: universal input function XXX: floating RW 111
 * 7
 * 7
 * 6
 * 6
 * 5-3
 * 5-3
 * 2-0
 * 2-0
 * }
 * }

REG 94H: GPIO [2:0] signal state setting and monitoring

 * Default value: 00H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Reservations, can not be changed R The GPIO2 enter state R The GPIO1 enter state R The GPIO0 enter state 0: input low 1: input high R Reservations, can not be changed
 * 7
 * 7
 * 6
 * 6
 * 5
 * 5
 * 4
 * 4
 * 3-0
 * 3-0
 * }
 * }

REG 95H: GPIO3 set

 * Default value: 00H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value GPIO3 rising edge IRQ or Wakeup function RW 0 GPIO3 falling edge of IRQ or Wakeup function 0: disable 1: enable RW 0 Reservations, can not be changed GPIO3 feature set 0: NMOS Open Drain Output 1: digital input function RW 0 GPIO3 output settings 0: output low, NMOS open 1: floating, NMOS Close RW 1 GPIO3 input state 0: input high 1: input low R
 * 7
 * 7
 * 6
 * 6
 * 5-3
 * 5-3
 * 2
 * 2
 * 1
 * 1
 * 0
 * 0
 * }
 * }

REG 40H and 48H: IRQ enable IRQ state
The IRQ enable 1, REG40H: The default value: D8H IRQ state REG48H: default value: 00H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value The meaning of the status bits of each bit corresponding to 40H; For example: Bit7 is ACIN overvoltage IRQ status bits RW 0
 * 7-0
 * 7-0
 * }
 * }

REG 41H and 49H of the: IRQ Enable IRQ state 2
IRQ energy 2 REG41H: default value: FFH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value IRQ enable battery access RW 1 IRQ enable battery removed RW 1 The battery activation patterns IRQ enable RW 1 The exit cell activation patterns IRQ enable RW 1 The is charging IRQ enable RW 1 The charging completed IRQ enable RW 1 Battery over-temperature IRQ enabled RW 1 IRQ Enable battery low temperature RW 1
 * 7
 * 7
 * 6
 * 6
 * 5
 * 5
 * 4
 * 4
 * 3
 * 3
 * 2
 * 2
 * 1
 * 1
 * 0
 * 0
 * }
 * {| class="wikitable"
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value The ACIN overvoltage IRQ enable RW 1 The ACIN access IRQ enable RW 1 ACIN out of IRQ enable RW 0 VBUS overvoltage IRQ enabled RW 1 And VBUS access IRQ enable RW 1 The VBUS removed IRQ enabled RW 0 VBUS available but less than V HOLD IRQ is enabled RW 0 Reservations, can not be changed RW 0 The IRQ state REG49H: default value: 00H
 * 7
 * 7
 * 6
 * 6
 * 5
 * 5
 * 4
 * 4
 * 3
 * 3
 * 2
 * 2
 * 1
 * 1
 * 0
 * 0
 * }
 * }
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 7-0 The meaning of the status bits, respectively, each bit of the corresponding 41H RW 0
 * }
 * }

REG 42H 4AH: IRQ enable IRQ state
IRQ can 3 REG42H: default value: 03H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value AXP209 Internal overtemperature IRQ enable RW 0 The charging current is less than the set current IRQ enable RW 0 Reservations, can not be changed DC-DC2 output voltage is less than the set value IRQ enable RW 0 DC-DC3 output voltage is less than the set value IRQ enable RW 0 LDO3 output voltage is less than the set value IRQ enable The PEK short key IRQ enable RW 1 PEK long keys IRQ enable RW 1 The IRQ state REG4AH: default value: 00H
 * 7
 * 7
 * 6
 * 6
 * 5
 * 5
 * 4
 * 4
 * 3
 * 3
 * 2
 * 2
 * 1
 * 1
 * 0
 * 0
 * }
 * }
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value The meaning of the status bits, respectively, each bit of the corresponding 42H RW 0
 * 7-0
 * 7-0
 * }
 * }

REG 43H 4BH: IRQ Enable 4 and IRQ state
IRQ Enable 4, REG43H: default value: 01H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value The IRQ state REG4BH: default value: 00H
 * 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
 * }
 * RW
 * 0
 * 0
 * The APS low pressure IRQ Enable (LEVEL2)
 * RW
 * 1
 * }
 * }
 * }
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value
 * 7-0
 * The meaning of the status bits, respectively, each bit of the corresponding 43H
 * RW
 * 0
 * }
 * }
 * }

REG 44H and 4C: IRQ enable IRQ state 5
IRQ can 5 REG44H default value: 00H;
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value The the IRQ state of 5 REG4CH: default value: 00H
 * 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
 * }
 * RW
 * 0
 * 0
 * GPIO0 input edge-triggered IRQ enable
 * RW
 * 0
 * }
 * }
 * }
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value Note: All IRQ status register corresponding bit write clears state.
 * 7-0
 * The meaning of the status bits, respectively, each bit of the corresponding 44H
 * RW
 * 0
 * }
 * }
 * }

REG B8H: Coulomb Counter Control

 * Default value: 00H
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 0: not completed 1: Complete
 * 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
 * The decryption start bit, decryption start automatically cleared
 * RW
 * 0
 * 0
 * Decryption is complete
 * Decryption is complete
 * RW
 * 0
 * }
 * }

REG B9H: power measurement results

 * Default value: 7FH
 * {| class="wikitable"

! Bit !! Description !! R/W !! Default Value 0: normal operating mode 1: suspend work
 * 7
 * Metering system control
 * Metering system control
 * RW
 * 0
 * 6-0
 * Measurement results, the percentage of
 * R
 * 7F
 * }
 * }
 * }