Ip5306 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
IP5306 - Power management device
public class Ip5306
type Ip5306 = class
Public Class Ip5306
- Inheritance
-
Ip5306
Constructors
Ip5306(I2cDevice) |
Creates an instance of IP5306 |
Fields
DefaultI2cAddress |
Default IP5306 I2C address |
SecondaryI2cAddress |
Possible address as well, used in M5Stack |
Properties
AutoPowerOnEnabled |
Auto power on enabled. True as default. |
BoostEnabled |
Boost enabled. True as default. |
BoostOutputEnabled |
Boost output enabled. True as default. |
BoostWhenVinUnpluggedEnabled |
Boost when V in unplugged enabled. True as default. |
ButtonOffEnabled |
Button off enabled. False as default. |
ChargerEnabled |
Charger enabled. true as default. |
ChargingBatteryVoltage |
Charging battery voltage. Default to 4.2 Volt. |
ChargingCurrent |
Charging current. |
ChargingCutOffCurrent |
Charging cut off current. Default to 400 mA. |
ChargingCuttOffVoltage |
Charging cut off voltage. Default to 4.185 Volt. |
ChargingLoopSelection |
Charging loop selection. Defautl to V in. |
ChargingUnderVoltage |
Charging under voltage. Default to 4.7 Volt. |
ConstantChargingVoltage |
Constant charging voltage. Default to 14 milli Volt. |
FlashLightBehavior |
Flash light behavior. Default to double click. |
IsBatteryFull |
True if the battery is full. |
IsCharging |
True if the battery is charging. |
IsOutputLoadHigh |
True if the output is loaded to high. |
LightDutyShutdownTime |
Light duty shutdown time. Default to 8 seconds. |
LowPowerOffEnabled |
Low power off enabled. True as default. |
ShortPressToSwitchBosst |
Short press to switch boost enabled. False as default. |
SwitchOffBoostBehavior |
Switch off boost behavior. Default to long press. |
Methods
GetButtonStatus() |
Gets the button status. |