comparison gsm-fw/L1/audio_include/l1audio_signa.h @ 604:45bf440cc677

gsm-fw/L1/audio_include: initial preen over the imported LoCosto headers
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 28 Aug 2014 19:08:09 +0000
parents d638de8cc6b8
children
comparison
equal deleted inserted replaced
603:d638de8cc6b8 604:45bf440cc677
5 * Filename l1audio_signa.h 5 * Filename l1audio_signa.h
6 * Copyright 2003 (C) Texas Instruments 6 * Copyright 2003 (C) Texas Instruments
7 * 7 *
8 ************* Revision Controle System Header *************/ 8 ************* Revision Controle System Header *************/
9 9
10 #include "l1sw.cfg" 10 #include "../../include/config.h"
11 #include "../include/l1_confg.h"
11 12
12 #if (AUDIO_TASK == 1) 13 #if (AUDIO_TASK == 1)
13 #define P_AUDIO ( 0x18 ) 14 #define P_AUDIO ( 0x18 )
14 15
15 // Messages MMI <-> L1A 16 // Messages MMI <-> L1A
179 #if (L1_ANR == 2) 180 #if (L1_ANR == 2)
180 #define MMI_AQI_ANR_REQ ( ( P_AUDIO << 8 ) | 131) 181 #define MMI_AQI_ANR_REQ ( ( P_AUDIO << 8 ) | 131)
181 #define MMI_AQI_ANR_CON ( ( P_AUDIO << 8 ) | 132) 182 #define MMI_AQI_ANR_CON ( ( P_AUDIO << 8 ) | 132)
182 #endif 183 #endif
183 184
184 #if (L1_IIR == 2) 185 #if (L1_IIR == 2)
185 #define MMI_AQI_IIR_DL_REQ ( ( P_AUDIO << 8 ) | 134) 186 #define MMI_AQI_IIR_DL_REQ ( ( P_AUDIO << 8 ) | 134)
186 #define MMI_AQI_IIR_DL_CON ( ( P_AUDIO << 8 ) | 135) 187 #define MMI_AQI_IIR_DL_CON ( ( P_AUDIO << 8 ) | 135)
187 #endif 188 #endif
188 189
189 #define MMI_OUTEN_CFG_REQ ( ( P_AUDIO << 8) | 152) 190 #define MMI_OUTEN_CFG_REQ ( ( P_AUDIO << 8) | 152)
190 #define MMI_OUTEN_CFG_CON ( ( P_AUDIO << 8) | 153) 191 #define MMI_OUTEN_CFG_CON ( ( P_AUDIO << 8) | 153)
191 #define MMI_OUTEN_CFG_READ_REQ ( ( P_AUDIO << 8) | 154) 192 #define MMI_OUTEN_CFG_READ_REQ ( ( P_AUDIO << 8) | 154)
192 #define MMI_OUTEN_CFG_READ_CON ( ( P_AUDIO << 8) | 155) 193 #define MMI_OUTEN_CFG_READ_CON ( ( P_AUDIO << 8) | 155)
193 194
194 #if(L1_BT_AUDIO==1) 195 #if(L1_BT_AUDIO==1)
195 #define MMI_BT_ENABLE_REQ ((P_AUDIO<<8)|167) 196 #define MMI_BT_ENABLE_REQ ((P_AUDIO<<8)|167)
196 #define MMI_BT_DISABLE_REQ ((P_AUDIO<<8)|169) 197 #define MMI_BT_DISABLE_REQ ((P_AUDIO<<8)|169)
197 #endif 198 #endif
198 199
199 // Messages L1S -> L1A 200 // Messages L1S -> L1A
200 #if (KEYBEEP) 201 #if (KEYBEEP)
201 #define L1_KEYBEEP_START_CON ( ( P_AUDIO << 8 ) | 78 ) 202 #define L1_KEYBEEP_START_CON ( ( P_AUDIO << 8 ) | 78 )
202 #define L1_KEYBEEP_STOP_CON ( ( P_AUDIO << 8 ) | 79 ) 203 #define L1_KEYBEEP_STOP_CON ( ( P_AUDIO << 8 ) | 79 )
300 301
301 #if (L1_ANR == 2) 302 #if (L1_ANR == 2)
302 #define L1_AQI_ANR_CON ( ( P_AUDIO << 8 ) | 133 ) 303 #define L1_AQI_ANR_CON ( ( P_AUDIO << 8 ) | 133 )
303 #endif 304 #endif
304 305
305 #if (L1_IIR == 2) 306 #if (L1_IIR == 2)
306 #define L1_AQI_IIR_DL_CON ( ( P_AUDIO << 8 ) | 136) 307 #define L1_AQI_IIR_DL_CON ( ( P_AUDIO << 8 ) | 136)
307 #endif 308 #endif
308 309
309 #if (L1_WCM == 1) 310 #if (L1_WCM == 1)
310 #define L1_AQI_WCM_CON ( ( P_AUDIO << 8 ) | 151 ) 311 #define L1_AQI_WCM_CON ( ( P_AUDIO << 8 ) | 151 )
311 #endif 312 #endif
312 313
313 // Messages L1A <-> Audio background 314 // Messages L1A <-> Audio background
314 #if (SPEECH_RECO) 315 #if (SPEECH_RECO)
333 #if (L1_AUDIO_DRIVER == 1) 334 #if (L1_AUDIO_DRIVER == 1)
334 #define L1_AUDIO_DRIVER_IND ( ( P_AUDIO << 8 ) | 125 ) 335 #define L1_AUDIO_DRIVER_IND ( ( P_AUDIO << 8 ) | 125 )
335 #endif 336 #endif
336 #endif 337 #endif
337 338
338 #if (L1_EXTERNAL_AUDIO_VOICE_ONOFF == 1 || L1_EXT_MCU_AUDIO_VOICE_ONOFF == 1) 339 #if (L1_EXTERNAL_AUDIO_VOICE_ONOFF == 1 || L1_EXT_MCU_AUDIO_VOICE_ONOFF == 1)
339 #define L1_AUDIO_ONOFF_CON ( ( P_AUDIO << 8 ) | 126 ) 340 #define L1_AUDIO_ONOFF_CON ( ( P_AUDIO << 8 ) | 126 )
340 #endif 341 #endif
341 342
342 #endif // AUDIO_TASK == 1 343 #endif // AUDIO_TASK == 1