comparison src/g23m-gprs/sm/sm_sequencer.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: Sequencer state machine 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_SEQUENCER_H
24 #define SM_SEQUENCER_H
25
26 /*==== INCLUDES =============================================================*/
27
28 /*==== CONSTS ===============================================================*/
29
30 /*==== TYPES ================================================================*/
31
32 typedef enum
33 {
34 /* Incoming primitives */
35 SM_P_MMPM_ATTACH_IND,
36 SM_P_MMPM_DETACH_IND,
37 SM_P_SMREG_PDP_DEACTIVATE_REQ,
38 SM_P_SM_STATUS_REQ,
39 /* Events from Context Control */
40 SM_I_CONTEXT_ACTIVATION_OVERRIDE,
41 SM_I_CONTEXT_DEACTIVATE_COMPLETED,
42 SM_I_CONTEXT_TEAR_DOWN_DEACTIVATE,
43 SM_I_CONTEXT_REACTIVATE_COMPLETED,
44 /* Number of events */
45 SM_SEQUENCER_NUMBER_OF_EVENTS
46 } T_SM_SEQUENCER_EVENT;
47
48 /*==== EXPORTS ==============================================================*/
49
50 extern void sm_sequencer_init(void);
51 extern void sm_sequencer_exit(void);
52
53 extern void sm_sequencer(T_SM_SEQUENCER_EVENT event,
54 void *data);
55
56 #endif /* SM_SEQUENCER_H */
57 /*==== END OF FILE ==========================================================*/