|
PebbleOS v4.47.0-553-g7a998bc2c
|
Charger driver for the charger of the nPM1300 PMIC. More...
Macros | |
| #define | PBL_CHARGER_NPM1300_DEFINE(sym, _pmic, _irq, _battery, _vterm_reduced_uv, _ntc_ohms, _beta, _hot_celsius, _dischg_ua, _vbus_ua, _vbus_startup_ua) |
| Define the charger of an nPM1300. | |
Charger driver for the charger of the nPM1300 PMIC.
| #define PBL_CHARGER_NPM1300_DEFINE | ( | sym, | |
| _pmic, | |||
| _irq, | |||
| _battery, | |||
| _vterm_reduced_uv, | |||
| _ntc_ohms, | |||
| _beta, | |||
| _hot_celsius, | |||
| _dischg_ua, | |||
| _vbus_ua, | |||
| _vbus_startup_ua | |||
| ) |
Define the charger of an nPM1300.
| sym | Symbol of the charger. |
| _pmic | PMIC, a struct pbl_npm1300. |
| _irq | Interrupt of the PMIC, from its GPIO1, a struct pbl_irq_spec. |
| _battery | Battery, a struct pbl_battery. |
| _vterm_reduced_uv | Charge termination voltage in the warm and cool regions, in uV. |
| _ntc_ohms | Nominal resistance of the NTC thermistor, in ohms: 10000, 47000 or 100000. |
| _beta | Beta of the NTC thermistor. |
| _hot_celsius | Temperature above which charging stops, in Celsius. |
| _dischg_ua | Discharge current limit, in uA: 200000 or 1000000. |
| _vbus_ua | VBUS current limit with USB connected, in uA, 0 for the default. |
| _vbus_startup_ua | VBUS current limit at startup, in uA, 0 for the default. |