FreeCalypso > hg > fc-magnetite
annotate cdg211/cdginc/p_rrlc.h @ 629:3231dd9b38c1
armio.c: make GPIOs 8 & 13 outputs driving 1 on all "classic" targets
Calypso GPIOs 8 & 13 are pinmuxed with MCUEN1 & MCUEN2, respectively,
and on powerup these pins are MCUEN, i.e., outputs driving 1. TI's code
for C-Sample and earlier turns them into GPIOs configured as outputs also
driving 1 - so far, so good - but TI's code for BOARD 41 (which covers
D-Sample, Leonardo and all real world Calypso devices derived from the
latter) switches them from MCUEN to GPIOs, but then leaves them as inputs.
Given that the hardware powerup state of these two pins is outputs driving 1,
every Calypso board design MUST be compatible with such driving; typically
these GPIO signals will be either unused and unconnected or connected as
outputs driving some peripheral. Turning these pins into GPIO inputs will
result in floating inputs on every reasonably-wired board, thus I am
convinced that this configuration is nothing but a bug on the part of
whoever wrote this code at TI.
This floating input bug had already been fixed earlier for GTA modem and
FCDEV3B targets; the present change makes the fix unconditional for all
"classic" targets. The newly affected targets are D-Sample, Leonardo,
Tango and GTM900.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 02 Jan 2020 05:38:26 +0000 |
parents | 56abf6cf8a0b |
children |
rev | line source |
---|---|
4
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 +--------------------------------------------------------------------------+ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 | PROJECT : PROTOCOL STACK | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 | FILE : p_rrlc.h | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 | SOURCE : "__out__\g23m_dfile\prim\rrlc.pdf" | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 | LastModified : "2002-10-11" | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 | IdAndVersion : "8443.101.02.008" | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 | SrcFileTime : "Mon Nov 24 15:49:52 2003" | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 | Generated by CCDGEN_2.5.5 on Fri Jun 08 13:59:16 2007 | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 +--------------------------------------------------------------------------+ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 /* PRAGMAS |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 * PREFIX : NONE |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 * COMPATIBILITY_DEFINES : NO (require PREFIX) |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 * ALWAYS_ENUM_IN_VAL_FILE: NO |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 * ENABLE_GROUP: NO |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 * CAPITALIZE_TYPENAME: NO |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 #ifndef P_RRLC_H |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 #define P_RRLC_H |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 #define CDG_ENTER__P_RRLC_H |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 #define CDG_ENTER__FILENAME _P_RRLC_H |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 #define CDG_ENTER__P_RRLC_H__FILE_TYPE CDGINC |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 #define CDG_ENTER__P_RRLC_H__LAST_MODIFIED _2002_10_11 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 #define CDG_ENTER__P_RRLC_H__ID_AND_VERSION _8443_101_02_008 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 #define CDG_ENTER__P_RRLC_H__SRC_FILE_TIME _Mon_Nov_24_15_49_52_2003 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 #include "CDG_ENTER.h" |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 #undef CDG_ENTER__P_RRLC_H |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 #undef CDG_ENTER__FILENAME |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 #include "p_rrlc.val" |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 #ifndef __T_assist_data__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 #define __T_assist_data__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 * Assistance Data |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 * CCDGEN:WriteStruct_Count==2048 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 U16 arfcn; /*< 0: 2> Channel number */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 U8 bsic; /*< 2: 1> Base station ID code */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 U8 mfrm_offset; /*< 3: 1> multiframe offset */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 U8 otd_type; /*< 4: 1> OTD type */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 U8 _align0; /*< 5: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 U16 exp_otd; /*< 6: 2> expectedOTD */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 U8 uncertainty; /*< 8: 1> Uncertainty of expected OTD */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 U8 _align1; /*< 9: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 U16 rough_rtd; /*< 10: 2> rough RTD */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 } T_assist_data; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 #ifndef __T_eotd_sc_res__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 #define __T_eotd_sc_res__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 * EOTD SC Results at start of measurement |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 * CCDGEN:WriteStruct_Count==2049 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 U8 sb_flag; /*< 0: 1> data on SCH could be decoded, 'sb' stems from Sch Burst */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 U8 bsic; /*< 1: 1> Base station ID code */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 U16 arfcn; /*< 2: 2> Channel number */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 S16 eotd_crosscor[XCOR_NO]; /*< 4: 36> Cross-correlation data */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 U32 d_eotd_nrj; /*< 40: 4> Signal level */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 U32 time_tag; /*< 44: 4> Nominal Position */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 } T_eotd_sc_res; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 * EOTD SC Results at stop of measurement |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 * CCDGEN:WriteStruct_Count==2050 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 #ifndef __T_eotd_sc_res1__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 #define __T_eotd_sc_res1__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 typedef T_eotd_sc_res T_eotd_sc_res1; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 * EOTD NC Results |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 * CCDGEN:WriteStruct_Count==2051 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 #ifndef __T_eotd_nc_res__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 #define __T_eotd_nc_res__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 typedef T_eotd_sc_res T_eotd_nc_res; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 * End of substructure section, begin of primitive definition section |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 #ifndef __T_RRLC_MEAS_REQ__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 #define __T_RRLC_MEAS_REQ__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 * CCDGEN:WriteStruct_Count==2052 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 U16 req_id; /*< 0: 2> Request Identifier */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 U8 _align0; /*< 2: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 U8 v_arfcn; /*< 3: 1> valid-flag */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 U16 arfcn; /*< 4: 2> Channel number */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 U8 v_bsic; /*< 6: 1> valid-flag */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 U8 bsic; /*< 7: 1> Base station ID code */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 U8 _align1; /*< 8: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 U8 _align2; /*< 9: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 U8 v_assist_data; /*< 10: 1> valid-flag */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 U8 c_assist_data; /*< 11: 1> counter */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 T_assist_data assist_data[MAX_NCELL_EOTD]; /*< 12:180> Assistance Data */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 } T_RRLC_MEAS_REQ; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 #ifndef __T_RRLC_MEAS_IND__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 #define __T_RRLC_MEAS_IND__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 * CCDGEN:WriteStruct_Count==2053 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 U8 mcc[3]; /*< 0: 3> Mobile country code */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 U8 mnc[3]; /*< 3: 3> Mobile country code */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 U16 lac; /*< 6: 2> Location area code */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 U16 cell_id; /*< 8: 2> Cell ID */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 U8 eotd_mode; /*< 10: 1> Operation mode */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 U8 _align0; /*< 11: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 U16 req_id; /*< 12: 2> Request Identifier */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 U8 tav; /*< 14: 1> Timing advance */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 U8 _align1; /*< 15: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 U32 fn; /*< 16: 4> full frame number */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 T_eotd_sc_res eotd_sc_res; /*< 20: 48> EOTD SC Results at start of measurement */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 T_eotd_sc_res1 eotd_sc_res1; /*< 68: 48> EOTD SC Results at stop of measurement */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 U8 _align2; /*<116: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 U8 _align3; /*<117: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 U8 _align4; /*<118: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 U8 c_eotd_nc_res; /*<119: 1> counter */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 T_eotd_nc_res eotd_nc_res[MAX_NCELL_EOTD_L1]; /*<120:576> EOTD NC Results */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
150 } T_RRLC_MEAS_IND; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
151 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
152 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 #ifndef __T_RRLC_ERROR_IND__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
154 #define __T_RRLC_ERROR_IND__ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
155 /* |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
156 * |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
157 * CCDGEN:WriteStruct_Count==2054 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
158 */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
159 typedef struct |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
160 { |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
161 U8 cause; /*< 0: 1> Cause Identifier */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
162 U8 _align0; /*< 1: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
163 U8 _align1; /*< 2: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
164 U8 _align2; /*< 3: 1> alignment */ |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
165 } T_RRLC_ERROR_IND; |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
166 #endif |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
167 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
168 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
169 #include "CDG_LEAVE.h" |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
170 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
171 |
56abf6cf8a0b
cdg211: cdginc/mdf/pdf files from TCS211-20070608
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
172 #endif |