5 int rs_serial_init(int port
, int baud
);
6 void astro_put_char(char ch
);
7 int astro_is_char(void);
8 int astro_get_char(void);
11 int astro5373l_altera_load(void);
12 int astro5373l_xilinx_load(void);
14 /* data structures used for communication (update.c) */
15 typedef struct card_id
{
17 char hardware_version
;
18 char software_version
;
19 char software_subversion
; /* " ","a".."z" */
20 char fpga_version_altera
;
21 char fpga_version_xilinx
;
26 unsigned char deviation
;
28 } __attribute__ ((packed
)) output_params_t
;
31 unsigned short satfreq
;
32 unsigned char satdatallg
;
33 unsigned short symbolrate
;
34 unsigned char viterbirate
;
35 unsigned char symbolrate_l
;
36 output_params_t output_params
;
37 unsigned char reserve
;
38 unsigned char card_error
;
39 unsigned short dummy_ts_id
;
40 unsigned char dummy_pat_ver
;
41 unsigned char dummy_sdt_ver
;
42 } __attribute__ ((packed
)) parameters_t
;
44 #endif /* __ASTRO_H__ */