annotate gsm-fw/L1/audio_include/l1audio_stereo.h @ 749:ec6e503c1fc7

gsm-fw/g23m-gsm/sim/sim.h: initial preen fixed some non-ASCII characters in comments and one whitespace nit
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 06 Oct 2014 18:33:53 +0000
parents d638de8cc6b8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
603
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 /************* Revision Controle System Header *************
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 * GSM Layer 1 software
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 * L1AUDIO_STEREO_H
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 *
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 * Filename l1audio_stereo.h
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 * Copyright 2003 (C) Texas Instruments
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 *
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 ************* Revision Controle System Header *************/
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 #if (L1_STEREOPATH == 1)
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 //////////////////////////////////////////////////////
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 // VARIABLES DEFINITIONS //
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 //////////////////////////////////////////////////////
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 #if (TESTMODE && (OP_L1_STANDALONE == 1))
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 #define C_STP_DRV_API_BASE_ADDRESS 0x1AD0
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 #define C_STP_DRV_BUF_API_BASE_ADDRESS 0x1AD8
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 #define STEREOPATH_MAX_NB_OF_FRAMES 1152
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25 #define NB_MAX_STEREOPATH_CONFIG 4
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26 #define C_BGD_STP_DRV 9
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28 /***************************************************************************************/
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 /* AUDIO STEREOPATH MCU-DSP API */
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 /***************************************************************************************/
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 typedef struct
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 {
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33 API d_cport_api_dma_install;
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 API d_cport_api_dma_channel;
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35 API d_cport_api_dma_rootcause;
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 } T_STP_DRV_MCU_DSP;
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 #if (CODE_VERSION != SIMULATION)
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39 #ifdef _L1AUDIO_STEREO_C_
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41 /***************************************************************************
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42 * AUDIO_SP_MIDI_CONF configuration
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 **************************************************************************/
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44 const T_TMODE_AUDIO_STEREOPATH_START_REQ tmode_audio_sp_midi_conf =
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45 {
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 AUDIO_SP_MIDI_CONF, // configuration
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 AUDIO_SP_FREQ_22, // sampling_frequency
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 AUDIO_SP_DMA_ALLOC_DSP, // DMA_allocation
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49 2, // DMA_channel_number
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50 AUDIO_SP_DATA_S16, // data_type
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 AUDIO_SP_SOURCE_API, // source_port
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52 2, // element_number
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 864, // frame_number
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 AUDIO_SP_STEREO_OUTPUT, // mono_stereo
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55 AUDIO_SP_SINUS2_PATTERN // pattern_identifier
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 };
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 /***************************************************************************
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 * AUDIO_SP_MP3_CONF configuration
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 **************************************************************************/
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 const T_TMODE_AUDIO_STEREOPATH_START_REQ tmode_audio_sp_mp3_conf =
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 {
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63 AUDIO_SP_MP3_CONF, // configuration
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64 AUDIO_SP_FREQ_48, // sampling_frequency
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 AUDIO_SP_DMA_ALLOC_DSP, // DMA_allocation
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 2, // DMA_channel_number
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 AUDIO_SP_DATA_S16, // data_type
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 AUDIO_SP_SOURCE_API, // source_port
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 2, // element_number
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70 1152, // frame_number
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 AUDIO_SP_STEREO_OUTPUT, // mono_stereo
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 AUDIO_SP_SINUS1_PATTERN // pattern_identifier
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73 };
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75 /***************************************************************************
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76 * AUDIO_SP_EXTAUDIO_CONF configuration
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 **************************************************************************/
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 const T_TMODE_AUDIO_STEREOPATH_START_REQ tmode_audio_sp_extaudio_conf =
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 {
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 AUDIO_SP_EXTAUDIO_CONF, // configuration
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82 AUDIO_SP_FREQ_22, // sampling_frequency
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 AUDIO_SP_DMA_ALLOC_MCU, // DMA_allocation
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 2, // DMA_channel_number
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 AUDIO_SP_DATA_S16, // data_type
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 AUDIO_SP_SOURCE_IMIF, // source_port
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87 2, // element_number
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 1100, // frame_number
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89 AUDIO_SP_MONO_OUTPUT, // mono_stereo
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 AUDIO_SP_SINUS3_PATTERN // pattern_identifier
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 };
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 const T_TMODE_AUDIO_STEREOPATH_START_REQ * tmode_audio_sp_conf[NB_MAX_STEREOPATH_CONFIG] = {
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95 &tmode_audio_sp_midi_conf,
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 &tmode_audio_sp_mp3_conf,
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97 &tmode_audio_sp_extaudio_conf,
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 (T_TMODE_AUDIO_STEREOPATH_START_REQ *) NULL,
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99 };
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101 #else
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102 extern const T_TMODE_AUDIO_STEREOPATH_START_REQ * tmode_audio_sp_conf[NB_MAX_STEREOPATH_CONFIG];
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103 #endif // _L1AUDIO_STEREO_C_
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 #endif // CODE_VERSION
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105 #endif // TESTMODE
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 //////////////////////////////////////////////////////
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
108 // CONSTANTS DEFINITIONS //
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
109 //////////////////////////////////////////////////////
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
110
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
111 #define L1S_STEREOPATH_DRV_WAIT_PLL_COUNTER 3
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
112
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
113 //////////////////////////////////////////////////////
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
114 // FUNCTIONS PROTOTYPES //
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
115 //////////////////////////////////////////////////////
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
116 #if (CODE_VERSION == NOT_SIMULATION)
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
117 extern void l1s_stereopath_drv_config_ABB(UWORD8 mono_stereo,UWORD8 sampling_frequency);
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
118 extern void l1s_stereopath_drv_start_ABB(void);
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
119 extern void l1s_stereopath_drv_stop_ABB(void);
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
120 #if ((CHIPSET == 12) || (CHIPSET == 15))
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
121 extern void l1s_stereopath_drv_start_DMA(T_DMA_TYPE_CHANNEL_PARAMETER d_dma_channel_parameter,UWORD8 DMA_allocation);
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
122 extern void l1s_stereopath_drv_reset_DMA(T_DMA_TYPE_CHANNEL_PARAMETER d_dma_channel_parameter);
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
123 #endif
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
124 extern void l1s_stereopath_drv_reset_CPORT(void);
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
125 extern void l1s_stereopath_drv_stop_CPORT(void);
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
126 extern void l1s_stereopath_drv_config_CPORT(void);
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
127 extern void l1s_stereopath_drv_start_CPORT(void);
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
128
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
129 enum L1S_STEREOPATH_CALLBACK_CONSTANT
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
130 {
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
131 L1S_TWL3029_STEROPATH_CONFIG =10,
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
132 L1S_TWL3029_STEROPATH_STOP,
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
133 L1S_TWL3029_STEROPATH_START,
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
134 L1S_TWL3029_STEROPATH_OUTEN_CONFIG
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
135 };
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
136
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
137 //Add the call back function of the stereo path.
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
138 void l1s_stereopath_callback(UWORD8 cbvalue);
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
139
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
140 #endif // CODE_VERSION == NOT_SIMULATION
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
141
d638de8cc6b8 gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
142 #endif /* L1_STEREOPATH == 1 */