aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-lc15/misc/lc15bts_temp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-lc15/misc/lc15bts_temp.h')
-rw-r--r--src/osmo-bts-lc15/misc/lc15bts_temp.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/osmo-bts-lc15/misc/lc15bts_temp.h b/src/osmo-bts-lc15/misc/lc15bts_temp.h
new file mode 100644
index 00000000..35d81f1b
--- /dev/null
+++ b/src/osmo-bts-lc15/misc/lc15bts_temp.h
@@ -0,0 +1,28 @@
+#ifndef _LC15BTS_TEMP_H
+#define _LC15BTS_TEMP_H
+
+enum lc15bts_temp_sensor {
+ LC15BTS_TEMP_SUPPLY,
+ LC15BTS_TEMP_SOC,
+ LC15BTS_TEMP_FPGA,
+ LC15BTS_TEMP_RMSDET,
+ LC15BTS_TEMP_OCXO,
+ LC15BTS_TEMP_TX0,
+ LC15BTS_TEMP_TX1,
+ LC15BTS_TEMP_PA0,
+ LC15BTS_TEMP_PA1,
+ _NUM_TEMP_SENSORS
+};
+
+enum lc15bts_temp_type {
+ LC15BTS_TEMP_INPUT,
+ LC15BTS_TEMP_LOWEST,
+ LC15BTS_TEMP_HIGHEST,
+ LC15BTS_TEMP_FAULT,
+ _NUM_TEMP_TYPES
+};
+
+int lc15bts_temp_get(enum lc15bts_temp_sensor sensor, int *temp);
+
+
+#endif