FreeCalypso > hg > fc-tourmaline
comparison src/g23m-aci/aci/psa_mmif.c @ 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_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 "aci_all.h" | |
27 | |
28 /*==== INCLUDES ===================================================*/ | |
29 #include "aci_cmh.h" | |
30 #include "ati_cmd.h" | |
31 #include "aci_cmd.h" | |
32 #include "aci.h" | |
33 #include "psa_mmi.h" | |
34 #ifdef ACI | |
35 #include "cmh_mmi.h" | |
36 #endif /* ACI */ | |
37 /*==== CONSTANTS ==================================================*/ | |
38 | |
39 #define ITM_WDT (14) /* item width in chars */ | |
40 #define HDR_WDT (10) /* header width in chars */ | |
41 | |
42 /*==== TYPES ======================================================*/ | |
43 | |
44 | |
45 /*==== EXPORT =====================================================*/ | |
46 | |
47 | |
48 /*==== VARIABLES ==================================================*/ | |
49 | |
50 /*==== FUNCTIONS ==================================================*/ | |
51 | |
52 | |
53 /* | |
54 +-------------------------------------------------------------------+ | |
55 | PROJECT : GSM-PS (6147) MODULE : PSA_MMIF | | |
56 | ROUTINE : psaMMI_Init | | |
57 +-------------------------------------------------------------------+ | |
58 | |
59 PURPOSE : initialize the protocol stack adapter for MMI. | |
60 | |
61 */ | |
62 | |
63 GLOBAL void psaMMI_Init ( void ) | |
64 { | |
65 | |
66 /* | |
67 *------------------------------------------------------------------- | |
68 * set default parms | |
69 *------------------------------------------------------------------- | |
70 */ | |
71 #ifdef ACI | |
72 ibt_params.ati_currIbt = CPI_IBT_NotPresent; | |
73 ibt_params.ati_currTch = CPI_TCH_NotPresent; | |
74 ibt_params.last_action = SWITCH_AUDIO_OFF; | |
75 cmhMMI_setAudioVolume (AUDIO_IN, AUDIO_OUT); | |
76 #endif | |
77 } | |
78 | |
79 | |
80 /*==== EOF ========================================================*/ | |
81 |