comparison gsm-fw/g23m-aci/aci/psa_mmi.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 : 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 =======================================================*/