annotate autocal/rxtables.h @ 68:3ec82dc1dbda

fc-cmu200d: implemented reading and parsing of cable config files (-c arg)
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Jul 2017 04:34:15 +0000
parents 2588f9eed11a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
57
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /* definitions of the L1 Rx table structures we need */
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 struct rx_agc_params {
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 uint16_t g_magic;
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 uint16_t lna_att;
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 uint16_t lna_switch_thr_low;
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 uint16_t lna_switch_thr_high;
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 };
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 #define RX_CALCHAN_ENTRIES 10
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 struct rx_calchan_entry {
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 uint16_t upper_bound;
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 int16_t agc_calib;
2588f9eed11a fc-rfcal-rxband started
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 };