aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/e300/rev_b/bq24190.h
blob: bca4151811b9141ff4a11971a8f3902bdbaf1b93 (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
/*
 * bq24190.h
 *
 * Copyright 2015 National Instruments Corp
 */ 


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