FreeCalypso > hg > fc-magnetite
comparison src/g23m-fad/ip/cus_ip.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-FaD (8411) | |
4 | Modul : CUS_IP | |
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_IP_H | |
24 #define CUS_IP_H | |
25 | |
26 /*==== CONSTANTS ==================================================*/ | |
27 /* | |
28 * TIMER_VALUES | |
29 * | |
30 * Description : The constants define the timer values | |
31 * for the IP timers | |
32 * If the target system uses other units please | |
33 * change the values. | |
34 */ | |
35 | |
36 | |
37 /* | |
38 * TIMER IDENTIFIER | |
39 * | |
40 * Description : The constants define the identifier of the | |
41 * timer resources of IP. The identifier is used | |
42 * to reference a timer in a config primitive | |
43 */ | |
44 | |
45 #define TREASSEMBLY_NAME "TREASSEMBLY" | |
46 | |
47 /* | |
48 * MAX_IP_TIMER | |
49 * | |
50 * Description : The constant define the number of timer | |
51 * needed. This number is equal to the number | |
52 * of simultaneously instances. | |
53 */ | |
54 | |
55 #define MAX_IP_TIMER ( MAX_SEGM_SERVER * MAX_LAYER ) | |
56 | |
57 /* | |
58 * VERSION | |
59 * | |
60 * Description : The constants define the type and the value | |
61 * of a version identification. The version | |
62 * is part of the monitor struct. | |
63 */ | |
64 | |
65 #define T_VERSION char | |
66 | |
67 /* | |
68 * This is the first version with DTILIB | |
69 */ | |
70 | |
71 #define VERSION_IP "IP 1.1" | |
72 | |
73 /* | |
74 * VSI_CALLER | |
75 * | |
76 * Description : For multithread applications the constant VSI_CALLER | |
77 * must be defined to identify the calling thread of the | |
78 * VSI-Interface. This must be done correponding to the | |
79 * type of T_VSI_CALLER in VSI.H. The comma symbol is | |
80 * neccessary because the vsi-functions are called | |
81 * like this vsi_xxx (VSI_CALLER par2, par3 ...) | |
82 */ | |
83 | |
84 | |
85 #ifdef OPTION_MULTITHREAD | |
86 #define VSI_CALLER ip_handle, | |
87 #define VSI_CALLER_SINGLE ip_handle | |
88 #else | |
89 #define VSI_CALLER | |
90 #define VSI_CALLER_SINGLE | |
91 #endif | |
92 | |
93 #endif | |
94 |