FreeCalypso > hg > fc-magnetite
comparison src/g23m-gprs/sm/sm_timer_handler.h @ 183:219afcfc6250
src/g23m-gprs: initial import from TCS3.2/LoCosto
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 13 Oct 2016 04:24:13 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
182:f02d0a0e1849 | 183:219afcfc6250 |
---|---|
1 /*---------------------------------------------------------------------------- | |
2 | Project : 3G PS | |
3 | Module : SM | |
4 +----------------------------------------------------------------------------- | |
5 | Copyright 2003 Texas Instruments. | |
6 | All rights reserved. | |
7 | | |
8 | This file is confidential and a trade secret of Texas | |
9 | Instruments . | |
10 | The receipt of or possession of this file does not convey | |
11 | any rights to reproduce or disclose its contents or to | |
12 | manufacture, use, or sell anything it may describe, in | |
13 | whole, or in part, without the specific written consent of | |
14 | Texas Instruments. | |
15 +----------------------------------------------------------------------------- | |
16 | Purpose: 3G Timer handler function definitions in the SM entity. | |
17 | For design details, see: | |
18 | 8010.908 SM Detailed Specification | |
19 +---------------------------------------------------------------------------*/ | |
20 | |
21 /*==== DECLARATION CONTROL =================================================*/ | |
22 | |
23 #ifndef SM_TIMER_HANDLER_H | |
24 #define SM_TIMER_HANDLER_H | |
25 | |
26 /*==== INCLUDES =============================================================*/ | |
27 | |
28 #include "sm.h" | |
29 | |
30 /*==== CONSTS ===============================================================*/ | |
31 | |
32 #define NWSM_T3380_TIMEOUT 30000 | |
33 #define NWSM_T3381_TIMEOUT 8000 | |
34 #define NWSM_T3390_TIMEOUT 8000 | |
35 | |
36 #define NWSM_MAX_TIMEOUTS 5 | |
37 | |
38 /*==== TYPES ================================================================*/ | |
39 | |
40 typedef enum { | |
41 SM_TIMER_NONE, | |
42 SM_TIMER_T3380, | |
43 SM_TIMER_T3381, | |
44 SM_TIMER_T3390 | |
45 } T_SM_TIMER_TYPE; | |
46 | |
47 /*==== EXPORTS ==============================================================*/ | |
48 | |
49 extern void sm_timer_start (struct T_SM_CONTEXT_DATA *context, T_SM_TIMER_TYPE timer); | |
50 extern void sm_timer_restart(struct T_SM_CONTEXT_DATA *context); | |
51 extern void sm_timer_stop (struct T_SM_CONTEXT_DATA *context); | |
52 | |
53 #endif /* SM_TIMER_HANDLER_H */ | |
54 /*==== END OF FILE ==========================================================*/ |