comparison src/g23m-aci/aci/psa_mmi.h @ 162:53929b40109c

src/g23m-aci: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2016 02:02:43 +0000
parents
children
comparison
equal deleted inserted replaced
161:4557e2a9c18e 162:53929b40109c
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-PS (6147)
4 | Modul : PSA_MMI
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 for the protocol stack adapter
18 | man machine interface ( MMI )
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef PSA_MMI_H
23 #define PSA_MMI_H
24
25
26 /*==== CONSTANTS ==================================================*/
27
28 #define TEST_STR_LEN (80) /* max. length of test parameter string */
29
30 #define NO_ENTRY (-1) /* not a valid entry */
31
32 /*==== TYPES ======================================================*/
33
34 typedef struct MMIShrdParm
35 {
36 UBYTE keyCd; /* key code */
37 UBYTE keySt; /* key status */
38 UBYTE rxLev; /* rx level */
39 UBYTE btLev; /* battery level */
40 void* dspRq; /* display request */
41 UBYTE cmdSrc; /* source of current command */
42 } T_MMI_SHRD_PRM;
43
44 /*==== PROTOTYPES =================================================*/
45
46 SHORT psaMMI_Display ( void );
47 SHORT psaMMI_Cbch ( void );
48
49 void psaMMI_Init ( void );
50
51 EXTERN void psaMMI_ConfigPrim (T_HANDLE receiver_handle,
52 CHAR *config_msg);
53
54
55 /*==== EXPORT =====================================================*/
56
57 #ifdef PSA_MMIF_C
58
59 GLOBAL T_MMI_SHRD_PRM mmiShrdPrm;
60
61 #else
62
63 EXTERN T_MMI_SHRD_PRM mmiShrdPrm;
64
65 #endif /* PSA_MMIF_C */
66
67
68
69 #endif /* PSA_MMI_H */
70
71 /*==== EOF =======================================================*/