blob: 7e8e3751d253fb61325220ad1c7e444a28bac78a (
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
|
/*
* ltc4155.h
*
* Created: 17/08/2012 8:09:43 PM
* Author: Balint Seeber
*/
#ifndef LTC4155_H_
#define LTC4155_H_
#include <stdbool.h>
#include <stdint.h>
#ifndef CHARGER_TI
bool ltc4155_init(bool disable_charger);
bool ltc4155_has_interrupt(void);
bool ltc4155_handle_irq(void);
void ltc4155_dump(void);
bool ltc4155_set_charge_current_limit(uint8_t percentage);
#endif // !CHARGER_TI
#endif /* LTC4155_H_ */
|