aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/e300/rev_c/ltc4155.h
blob: 048e476cb8f6893264f9fa9e2aecba0ac62aea16 (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
/*
 * ltc4155.h
 *
 * Copyright 2015 National Instruments Corp
 */ 


#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_ */