1 /* 2 * This software is licensed under the terms of the GNU General Public 3 * License version 2, as published by the Free Software Foundation, and 4 * may be copied, distributed, and modified under those terms. 5 * 6 * This program is distributed in the hope that it will be useful, 7 * but WITHOUT ANY WARRANTY; without even the implied warranty of 8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9 * GNU General Public License for more details. 10 */ 11 12 #ifndef __CHARGER_BQ25700_H_ 13 #define __CHARGER_BQ25700_H_ 14 15 #define CHARGER_CURRENT_EVENT 0x01 16 #define INPUT_CURRENT_EVENT 0x02 17 18 void bq25700_charger_set_current(unsigned long event, int current_value); 19 20 #endif /* __CHARGER_BQ25700_H_ */ 21