diff autocal/rxtables.h @ 57:2588f9eed11a

fc-rfcal-rxband started
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 May 2017 23:05:28 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/autocal/rxtables.h	Sat May 27 23:05:28 2017 +0000
@@ -0,0 +1,15 @@
+/* definitions of the L1 Rx table structures we need */
+
+struct rx_agc_params {
+	uint16_t g_magic;
+	uint16_t lna_att;
+	uint16_t lna_switch_thr_low;
+	uint16_t lna_switch_thr_high;
+};
+
+#define	RX_CALCHAN_ENTRIES	10
+
+struct rx_calchan_entry {
+	uint16_t upper_bound;
+	int16_t  agc_calib;
+};