FreeCalypso > hg > tcs211-fcmodem
comparison chipsetsw/services/cst/cus_cst.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 /* | |
2 +--------------------------------------------------------------------+ | |
3 | PROJECT : XXX SOURCE : CUS_CST.H | | |
4 | AUTHOR : XXX VERSION: 1.0 | | |
5 | CREATED : 01.02.99 STATE : code | | |
6 +--------------------------------------------------------------------+ | |
7 | |
8 MODULE : CUS_CST | |
9 | |
10 PURPOSE : Custom dependent definitions for the CST entity of the | |
11 mobile station. | |
12 | |
13 Use this header for definitions to integrate the protocol | |
14 stack entity CST in your target system. | |
15 */ | |
16 | |
17 #ifndef CUS_CST_H | |
18 #define CUS_CST_H | |
19 | |
20 | |
21 /*==== CONSTANTS ==================================================*/ | |
22 /* | |
23 * TIMER_VALUES | |
24 * | |
25 * Description : The constants define the timer values for the CST | |
26 * timer TXXX depending on the various channel types | |
27 * and service access point identifiers. | |
28 * | |
29 * If your target system uses other units please | |
30 * change the values. | |
31 */ | |
32 | |
33 /* | |
34 * Unit is 1 ms | |
35 */ | |
36 #define T_RX_VALUE 1000 | |
37 #define TICS_PER_DECIHOURS (1000*60*6) | |
38 | |
39 | |
40 /* | |
41 * MAX_CST_TIMER | |
42 * | |
43 * Description : The constant define the number of timer available | |
44 * in the timer pool. | |
45 */ | |
46 #define MAX_CST_TIMER 4 | |
47 | |
48 /* | |
49 * VERSION | |
50 * | |
51 * Description : The constants define the type and the value of a | |
52 * version identification. The version is part of the | |
53 * monitor struct. | |
54 */ | |
55 #define T_VERSION char | |
56 #define VERSION_CST "CST 1.0" | |
57 | |
58 /* | |
59 * VSI_CALLER | |
60 * | |
61 * Description : For multithread applications the constant VSI_CALLER | |
62 * must be defined to identify the calling thread of the | |
63 * VSI-Interface. This must be done correponding to the | |
64 * type of T_VSI_CALLER in VSI.H. The comma symbol is | |
65 * neccessary because the vsi-functions are called | |
66 * like this vsi_xxx (VSI_CALLER par2, par3 ...) | |
67 */ | |
68 | |
69 #ifdef OPTION_MULTITHREAD | |
70 #define VSI_CALLER cst_handle, | |
71 #define VSI_CALLER_SINGLE cst_handle | |
72 #else | |
73 #define VSI_CALLER | |
74 #define VSI_CALLER_SINGLE | |
75 #endif | |
76 | |
77 #endif // CUS_CST_H |