Debian Codegraph @

src/osmo-bts-lc15/misc/lc15bts_power.h

raw symbols SCIP
1 #ifndef _LC15BTS_POWER_H
2 #define _LC15BTS_POWER_H
3
4 enum lc15bts_power_source {
5 LC15BTS_POWER_SUPPLY,
6 LC15BTS_POWER_PA0,
7 LC15BTS_POWER_PA1,
8 _NUM_POWER_SOURCES
9 };
10
11 enum lc15bts_power_type {
12 LC15BTS_POWER_POWER,
13 LC15BTS_POWER_VOLTAGE,
14 LC15BTS_POWER_CURRENT,
15 _NUM_POWER_TYPES
16 };
17
18 int lc15bts_power_sensor_get(
19 enum lc15bts_power_source source,
20 enum lc15bts_power_type type,
21 int *volt);
22
23 int lc15bts_power_set(
24 enum lc15bts_power_source source,
25 int en);
26
27 int lc15bts_power_get(
28 enum lc15bts_power_source source);
29
30 enum lc15bts_vswr_sensor {
31 LC15BTS_VSWR_TX0,
32 LC15BTS_VSWR_TX1,
33 _NUM_VSWR_SENSORS
34 };
35
36 int lc15bts_vswr_get(enum lc15bts_vswr_sensor sensor, int *vswr);
37
38 #endif