blob: dc20ca796f1d898298a25f50263ca683b8184e27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* bq24190.h
*
* Created: 11/12/2012 4:58:23 PM
* Author: Balint Seeber
*/
#ifndef BQ24190_H_
#define BQ24190_H_
#include <stdbool.h>
#include <stdint.h>
#ifdef CHARGER_TI
bool bq24190_init(bool disable_charger);
bool bq24190_has_interrupt(void);
bool bq24190_handle_irq(void);
//void bq24190_dump(void);
//bool bq24190_set_charge_current_limit(uint8_t deciamps);
bool bq24190_toggle_charger(bool on);
#endif // !CHARGER_TI
#endif /* BQ24190_H_ */
|