FreeCalypso > hg > freecalypso-citrine
comparison g23m-aci/aci/psa_mmif.c @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 Jun 2016 00:02:41 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:75a11d740a02 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : GSM-PS (6147) | |
4 | Modul : PSA_MMIF | |
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 : This module defines the functions for the protocol | |
18 | stack adapter for man machine interface. | |
19 +----------------------------------------------------------------------------- | |
20 */ | |
21 | |
22 #ifndef PSA_MMIF_C | |
23 #define PSA_MMIF_C | |
24 #endif | |
25 | |
26 #include "config.h" | |
27 #include "fixedconf.h" | |
28 #include "condat-features.h" | |
29 #include "aci_conf.h" | |
30 | |
31 #include "aci_all.h" | |
32 | |
33 /*==== INCLUDES ===================================================*/ | |
34 #include "aci_cmh.h" | |
35 #include "ati_cmd.h" | |
36 #include "aci_cmd.h" | |
37 #include "aci.h" | |
38 #include "psa_mmi.h" | |
39 #ifdef ACI | |
40 #include "cmh_mmi.h" | |
41 #endif /* ACI */ | |
42 /*==== CONSTANTS ==================================================*/ | |
43 | |
44 #define ITM_WDT (14) /* item width in chars */ | |
45 #define HDR_WDT (10) /* header width in chars */ | |
46 | |
47 /*==== TYPES ======================================================*/ | |
48 | |
49 | |
50 /*==== EXPORT =====================================================*/ | |
51 | |
52 | |
53 /*==== VARIABLES ==================================================*/ | |
54 | |
55 /*==== FUNCTIONS ==================================================*/ | |
56 | |
57 | |
58 /* | |
59 +-------------------------------------------------------------------+ | |
60 | PROJECT : GSM-PS (6147) MODULE : PSA_MMIF | | |
61 | ROUTINE : psaMMI_Init | | |
62 +-------------------------------------------------------------------+ | |
63 | |
64 PURPOSE : initialize the protocol stack adapter for MMI. | |
65 | |
66 */ | |
67 | |
68 GLOBAL void psaMMI_Init ( void ) | |
69 { | |
70 | |
71 /* | |
72 *------------------------------------------------------------------- | |
73 * set default parms | |
74 *------------------------------------------------------------------- | |
75 */ | |
76 #ifdef ACI | |
77 ibt_params.ati_currIbt = CPI_IBT_NotPresent; | |
78 ibt_params.ati_currTch = CPI_TCH_NotPresent; | |
79 ibt_params.last_action = SWITCH_AUDIO_OFF; | |
80 cmhMMI_setAudioVolume (AUDIO_IN, AUDIO_OUT); | |
81 #endif | |
82 } | |
83 | |
84 | |
85 /*==== EOF ========================================================*/ | |
86 |