FreeCalypso > hg > freecalypso-tools
comparison ffstools/caltools/fc-bin2rftab.c @ 722:a58a38cae51c
fc-bin2rftab: added support for adc-cal table type
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 25 Aug 2020 07:18:43 +0000 |
parents | 68c7e4edc4da |
children |
comparison
equal
deleted
inserted
replaced
721:059649902c7f | 722:a58a38cae51c |
---|---|
12 #include <stdlib.h> | 12 #include <stdlib.h> |
13 #include <string.h> | 13 #include <string.h> |
14 #include <strings.h> | 14 #include <strings.h> |
15 #include <unistd.h> | 15 #include <unistd.h> |
16 | 16 |
17 extern void write_adccal_table(); | |
17 extern void write_afcparams_table(); | 18 extern void write_afcparams_table(); |
18 extern void write_agcwords_table(); | 19 extern void write_agcwords_table(); |
19 extern void write_agcglobals_table(); | 20 extern void write_agcglobals_table(); |
20 extern void write_il2agc_table(); | 21 extern void write_il2agc_table(); |
21 extern void write_tx_ramps_table(); | 22 extern void write_tx_ramps_table(); |
29 static struct table_map { | 30 static struct table_map { |
30 char *type; | 31 char *type; |
31 int size; | 32 int size; |
32 void (*func)(); | 33 void (*func)(); |
33 } table_map[] = { | 34 } table_map[] = { |
35 {"adc-cal", 36, write_adccal_table}, | |
34 {"afcparams", 24, write_afcparams_table}, | 36 {"afcparams", 24, write_afcparams_table}, |
35 {"agc-table", 40, write_agcwords_table}, | 37 {"agc-table", 40, write_agcwords_table}, |
36 {"agc-global-params", 8, write_agcglobals_table}, | 38 {"agc-global-params", 8, write_agcglobals_table}, |
37 {"il2agc", 121, write_il2agc_table}, | 39 {"il2agc", 121, write_il2agc_table}, |
38 {"tx-ramps", 512, write_tx_ramps_table}, | 40 {"tx-ramps", 512, write_tx_ramps_table}, |