FreeCalypso > hg > fc-magnetite
comparison src/g23m-fad/rlp/cus_rlp.h @ 174:90eb61ecd093
src/g23m-fad: initial import from TCS3.2/LoCosto
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 12 Oct 2016 05:40:46 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
173:bf64d785238a | 174:90eb61ecd093 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GSM-F&D (8411) | |
4 | Modul : CUS_RLP | |
5 +----------------------------------------------------------------------------- | |
6 | Copyright 2002 Texas Instruments Berlin, AG | |
7 | All rights reserved. | |
8 | | |
9 | This file is confidential and a trade secret of Texas | |
10 | Instruments Berlin, AG | |
11 | The receipt of or possession of this file does not convey | |
12 | any rights to reproduce or disclose its contents or to | |
13 | manufacture, use, or sell anything it may describe, in | |
14 | whole, or in part, without the specific written consent of | |
15 | Texas Instruments Berlin, AG. | |
16 +----------------------------------------------------------------------------- | |
17 | Purpose : Custom dependent definitions for the | |
18 | Protocol Stack Entity | |
19 | Radio Link Protocol | |
20 +----------------------------------------------------------------------------- | |
21 */ | |
22 | |
23 #ifndef CUS_RLP_H | |
24 #define CUS_RLP_H | |
25 | |
26 /*==== CONSTANTS ==================================================*/ | |
27 /* | |
28 * TIMER_VALUES | |
29 * | |
30 * Description : The constants define the timer values | |
31 * for the RLP timers | |
32 * If the target system uses other units please | |
33 * change the values. | |
34 */ | |
35 | |
36 /* unit is ms */ | |
37 | |
38 #define TT_VALUE 1000 | |
39 | |
40 #ifdef _SIMULATION_ | |
41 #define TUL_RCV_VALUE 1000 | |
42 #else | |
43 #define TUL_RCV_VALUE 50 | |
44 #endif | |
45 | |
46 /* | |
47 * VERSION | |
48 * | |
49 * Description : The constants define the type and the value | |
50 * of a version identification. The version | |
51 * is part of the monitor struct. | |
52 */ | |
53 | |
54 #define T_VERSION char | |
55 #define VERSION_RLP "RLP 2.0" | |
56 | |
57 /* | |
58 * VSI_CALLER | |
59 * | |
60 * Description : For multithread applications the constant VSI_CALLER | |
61 * must be defined to identify the calling thread of the | |
62 * VSI-Interface. This must be done correponding to the | |
63 * type of T_VSI_CALLER in VSI.H. The comma symbol is | |
64 * neccessary because the vsi-functions are called | |
65 * like this vsi_xxx (VSI_CALLER par2, par3 ...) | |
66 */ | |
67 | |
68 #ifdef OPTION_MULTITHREAD | |
69 #define VSI_CALLER rlp_handle, | |
70 #define VSI_CALLER_SINGLE rlp_handle | |
71 #else | |
72 #define VSI_CALLER | |
73 #define VSI_CALLER_SINGLE | |
74 #endif | |
75 | |
76 #endif |