blob: 4bb27486a5df0ec5bc70ceaabf83e1e04e19235b (
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
|
#ifndef _LC15BTS_POWER_H
#define _LC15BTS_POWER_H
enum lc15bts_power_source {
LC15BTS_POWER_SUPPLY,
LC15BTS_POWER_PA1,
LC15BTS_POWER_PA2,
_NUM_POWER_SOURCES
};
enum lc15bts_power_type {
LC15BTS_POWER_POWER,
LC15BTS_POWER_VOLTAGE,
LC15BTS_POWER_CURRENT,
_NUM_POWER_TYPES
};
int lc15bts_power_sensor_get(
enum lc15bts_power_source source,
enum lc15bts_power_type type);
int lc15bts_power_set(
enum lc15bts_power_source source,
int en);
int lc15bts_power_get(
enum lc15bts_power_source source);
#endif
|