comparison chipsetsw/layer1/gtt_include/l1gtt_defty.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /************* Revision Controle System Header *************
2 * GSM Layer 1 software
3 * L1GTT_DEFTY.H
4 *
5 * Filename l1gtt_defty.h
6 * Copyright 2003 (C) Texas Instruments
7 *
8 ************* Revision Controle System Header *************/
9
10 #ifndef _L1GTT_DEFTY_H_
11 #define _L1GTT_DEFTY_H_
12
13 #if (L1_GTT == 1)
14
15 // GTT L1A/L1S COM structure
16 //---------------------------
17
18 typedef struct
19 {
20 BOOL start;
21 BOOL stop;
22 }
23 T_GTT_COMMAND;
24
25 typedef struct
26 {
27 UWORD8 scen_enable;
28 UWORD16 rate;
29 }
30 T_GTT_TEST;
31
32 typedef struct
33 {
34 T_GTT_TEST test;
35 T_GTT_COMMAND command;
36 }
37 T_GTT_TASK;
38
39 // FIFO structure
40 //----------------
41
42 #if (CODE_VERSION == SIMULATION)
43
44 // DSP address do not exist --> 32-bit addresses
45 typedef struct
46 {
47 API *ptr_read; //API pointer to current data to read
48 API *ptr_write; //API pointer to free area to write to
49 API *buffer_start; //pointer to start
50 UWORD16 buffer_length; //length of buffer
51 }
52 T_TTY_FIFO_struct;
53
54 #else
55
56 typedef struct
57 {
58 API ptr_read; //API pointer to current data to read
59 API ptr_write; //API pointer to free area to write to
60 API buffer_start; //pointer to start
61 API buffer_length; //length of buffer
62 }
63 T_TTY_FIFO_struct;
64
65 #endif
66
67 // GTT test data
68 //--------------
69
70 typedef struct
71 {
72 UWORD16 scen_index;
73 UWORD16 scen_length;
74 char *scen_ptr;
75 UWORD8 chars_to_push;
76 UWORD16 frame_count;
77 }
78 T_GTT_TEST_L1S;
79
80 #endif
81
82
83 #endif //_L1GTT_DEFTY_H_