summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/dev/tps61052.h
blob: 2711d2ba9384c01e58fadd92dfcc12b6babb9781 (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
27
28
29
30
31
32
33
34
#include <stdint.h>

/* register b00 */
int eos_tps61052_get_tc(uint8_t *tc);
int eos_tps61052_set_tc(uint8_t tc);
int eos_tps61052_get_dim(uint8_t *dim);
int eos_tps61052_set_dim(uint8_t dim);
int eos_tps61052_get_ov(uint8_t *ov);
int eos_tps61052_set_ov(uint8_t ov);
int eos_tps61052_get_mode0(uint8_t *mode);
int eos_tps61052_set_mode0(uint8_t mode);

/* register b01 */
int eos_tps61052_get_fc(uint8_t *fc);
int eos_tps61052_set_fc(uint8_t fc);
int eos_tps61052_get_sft(uint8_t *sft);
int eos_tps61052_set_sft(uint8_t sft);
int eos_tps61052_get_stt(uint8_t *stt);
int eos_tps61052_set_stt(uint8_t stt);
int eos_tps61052_get_to(uint8_t *to);
int eos_tps61052_get_mode1(uint8_t *mode);
int eos_tps61052_set_mode1(uint8_t mode);

/* register b10 */
int eos_tps61052_get_adc(uint8_t *adc);
int eos_tps61052_get_lf(uint8_t *lf);
int eos_tps61052_get_ot(uint8_t *ot);
int eos_tps61052_set_ilim(uint8_t ilim);

/* register b11 */
int eos_tps61052_get_stim(uint8_t *stim);
int eos_tps61052_set_stim(uint8_t stim);
int eos_tps61052_get_dctim(uint8_t *dctim);
int eos_tps61052_set_dctim(uint8_t dctim);