comparison gsm-fw/L1/audio_include/l1audio_abb.h @ 603:d638de8cc6b8

gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Thu, 28 Aug 2014 18:40:12 +0000
parents 57ad8f4d5cb5
children 45bf440cc677
comparison
equal deleted inserted replaced
602:5f93a9a8f9a0 603:d638de8cc6b8
1 /* 1 /*
2 * Filename l1audio_abb.h 2 * Filename l1audio_abb.h
3 * Copyright 2003 (C) Texas Instruments 3 * Copyright 2003 (C) Texas Instruments
4 * 4 *
5 * 5 *
6 */ 6 */
7 7
8 #define ABB_L1_WRITE(addr,data) (((data) << 6) | (addr) | 0x01) 8 #if (ANLG_FAM != 11)
9 9
10 void ABB_CAL_UlVolume (UWORD8 pga_index); 10 #define ABB_L1_WRITE(addr,data) (((data) << 6) | (addr) | 0x01)
11 void ABB_CAL_DlVolume (UWORD8 volume_index, UWORD8 pga_index); 11
12 void ABB_UlVolume (UWORD8 volume_index); 12 void ABB_CAL_UlVolume (UWORD8 pga_index);
13 void ABB_DlVolume (UWORD8 volume_index); 13 void ABB_CAL_DlVolume (UWORD8 volume_index, UWORD8 pga_index);
14 void ABB_DlMute (BOOL mute); 14 void ABB_UlVolume (UWORD8 volume_index);
15 void ABB_SideTone (UWORD8 volume_index); 15 void ABB_DlVolume (UWORD8 volume_index);
16 void ABB_Audio_Config (UWORD16 data); 16 void ABB_DlMute (BOOL mute);
17 void ABB_Audio_Config_2 (UWORD16 data); 17 void ABB_SideTone (UWORD8 volume_index);
18 void ABB_UlMute (BOOL mute); 18 void ABB_Audio_Config (UWORD16 data);
19 void ABB_Audio_Control (UWORD16 data); 19 void ABB_Audio_Config_2 (UWORD16 data);
20 void ABB_Audio_On_Off (UWORD16 data); 20 void ABB_UlMute (BOOL mute);
21 void ABB_Audio_Volume (UWORD16 data); 21 void ABB_Audio_Control (UWORD16 data);
22 void ABB_Audio_PLL (UWORD16 data); 22 void ABB_Audio_On_Off (UWORD16 data);
23 void ABB_Audio_VBPop (UWORD16 data); 23 void ABB_Audio_Volume (UWORD16 data);
24 void ABB_Audio_Delay_Init (UWORD8 delay); 24 void ABB_Audio_PLL (UWORD16 data);
25 void ABB_Audio_VBPop (UWORD16 data);
26 void ABB_Audio_Delay_Init (UWORD8 delay);
27 UWORD16 ABB_Read_DLGain (void);
28 #endif
29 #if (ANLG_FAM == 11)
30 UWORD16 l1_audio_abb_Read_DLGain (void);
31 #endif
32
33 // Triton Audio ON/OFF Changes
34 #if (L1_AUDIO_MCU_ONOFF == 1)
35 void l1_audio_abb_ul_on_req ( void(*callback_fn)(void) );
36 void l1_audio_abb_dl_on_req ( void(*callback_fn)(void) );
37 void l1_audio_abb_ul_off_req ( void(*callback_fn)(void) );
38 void l1_audio_abb_dl_off_req ( void(*callback_fn)(void) );
39 void l1_audio_abb_ul_off_dl_off_req ( void(*callback_fn)(void) );
40 void l1_audio_abb_ul_off_dl_on_req ( void(*callback_fn)(void) );
41 void l1_audio_abb_ul_on_dl_off_req ( void(*callback_fn)(void) );
42 void l1_audio_abb_ul_on_dl_on_req ( void(*callback_fn)(void) );
43 #endif