|
PebbleOS
|
#include <stdint.h>#include <pbl/drivers/intc.h>#include <pbl/drivers/mfd/npm1300.h>#include <pbl/services/new_timer/new_timer.h>#include <board/board.h>Data Structures | |
| struct | Npm1300Config |
| nPM1300 board configuration. More... | |
| struct | pbl_npm1300_charger |
| nPM1300 charger. More... | |
Macros | |
| #define | NPM1300_DISCHG_LIMIT_MA_MAX 1000UL |
| Maximum discharge current limit in mA. | |
| #define | PBL_NPM1300_CHARGER_DEFINE(sym, _pmic, _cfg, _irq) |
| Define the charger. | |
Functions | |
| int | pbl_npm1300_charger_set_dischg_limit_ma (const struct pbl_npm1300_charger *charger, uint32_t ma) |
| Set the battery discharge current limit. | |
Variables | |
| const struct pbl_npm1300_charger *const | NPM1300_CHARGER |
| The board's charger. | |
| const Npm1300Config | NPM1300_CONFIG |
| The board's charger configuration. | |