FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-aci/aci/l4_tim.h @ 775:eedbf248bac0
gsm-fw/g23m-aci subtree: initial import from LoCosto source
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 12 Oct 2014 01:45:14 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
774:40a721fd9854 | 775:eedbf248bac0 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GSM-PS (6147) | |
4 | Modul : L4_TIM | |
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 : Definitions of timer indices | |
18 +----------------------------------------------------------------------------- | |
19 */ | |
20 | |
21 | |
22 /* | |
23 * Timer Indices | |
24 */ | |
25 | |
26 #define SMI_TBACKLIGHT 0 | |
27 #define SMI_TSLIDER 1 | |
28 #define SMI_TSHIFTKEY 2 | |
29 #define SMI_TUNIVERSAL 3 | |
30 | |
31 #define ACI_TRING 4 | |
32 #define ACI_TMPTY 5 | |
33 #define ACI_TFIT 6 | |
34 #define ACI_TDTMF 7 | |
35 | |
36 #if defined (FAX_AND_DATA) | |
37 #define FIT_RUN 8 | |
38 #endif | |
39 | |
40 #define AOC_CALLTIMER 9 | |
41 #define AOC_AOCTIMER 10 | |
42 #define MAX_AOC_TIMER 7 /* should be changed to MAX_CALL_NR */ | |
43 | |
44 | |
45 /* timers in between are reserved for AOC */ | |
46 #define MFW_TIMER (AOC_AOCTIMER+MAX_AOC_TIMER) | |
47 | |
48 #define ACI_IPR (MFW_TIMER + 1) | |
49 #define ACI_TECT (ACI_IPR + 1) | |
50 #define ACI_TDELAY (ACI_TECT + 1) | |
51 | |
52 #if defined FF_EOTD /*&& defined _SIMULATION_*/ | |
53 #define ACI_LC_1 (ACI_TDELAY+1) | |
54 #define ACI_LC_2 (ACI_LC_1+1) | |
55 #define ACI_LC_3 (ACI_LC_1+2) | |
56 #define ACI_LC_4 (ACI_LC_1+3) | |
57 #define ACI_LC_5 (ACI_LC_1+4) | |
58 #endif | |
59 | |
60 #ifndef FF_EOTD | |
61 #define ACI_REPEAT_HND (ACI_TDELAY +1) | |
62 #else | |
63 #define ACI_REPEAT_HND (ACI_LC_1+5) | |
64 #endif /* FF_EOTD */ | |
65 | |
66 #ifdef SIM_TOOLKIT | |
67 #define ACI_SAT_MAX_DUR_HND (ACI_REPEAT_HND +1) | |
68 #define ACI_CNMA_TIMER_HANDLE (ACI_SAT_MAX_DUR_HND+1) | |
69 #else | |
70 #define ACI_CNMA_TIMER_HANDLE (ACI_REPEAT_HND+1) | |
71 #endif /* SIM_TOOLKIT */ | |
72 | |
73 | |
74 #ifdef VOCODER_FUNC_INTERFACE | |
75 #define ACI_VOCODER (ACI_CNMA_TIMER_HANDLE+1) | |
76 #endif | |
77 | |
78 #ifdef SIM_PERS | |
79 #ifdef VOCODER_FUNC_INTERFACE | |
80 #define ACI_UNLOCK_TIMER_HANDLE (ACI_VOCODER+1) | |
81 #else | |
82 #define ACI_UNLOCK_TIMER_HANDLE (ACI_CNMA_TIMER_HANDLE+1) | |
83 #endif | |
84 #endif | |
85 | |
86 | |
87 | |
88 #define ACI_REPEAT_1 5000 /* 5 sec for waiting for 1th redialling */ | |
89 #define ACI_REPEAT_2_4 60000 /* 1 min for waiting for 2th to 4th redialling */ | |
90 #define ACI_CNMA_TIMER_VALUE 15000 /* 15 sec. for waiting for the +CNMA */ | |
91 #define ACI_DELAY_TIMER 5000 /* 5 sec delay for various REDIAL attempts */ | |
92 #ifdef SIM_PERS | |
93 #define ACI_UNLOCK_TIMER 10000 /* 2 sec delay for various wrong unlock/unblock attempts */ | |
94 #endif | |
95 |