FreeCalypso > hg > fc-tourmaline
comparison src/g23m-aci/aci/psa_mmi.h @ 1:fa8dc04885d8
src/g23m-*: import from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:25:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:4e78acac3d88 | 1:fa8dc04885d8 |
---|---|
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 =======================================================*/ |