FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/audio_include/l1audio_abb.h @ 1030:194967e11b2b
fc-shell: tch record and tch play reworked for libgsm-compatible file format
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 31 May 2016 18:39:06 +0000 |
parents | 45bf440cc677 |
children |
rev | line source |
---|---|
519
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /* |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 * Filename l1audio_abb.h |
603
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
3 * Copyright 2003 (C) Texas Instruments |
519
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 * |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 * |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 */ |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 |
604
45bf440cc677
gsm-fw/L1/audio_include: initial preen over the imported LoCosto headers
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
603
diff
changeset
|
8 #if (ANALOG != 11) |
519
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
603
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
10 #define ABB_L1_WRITE(addr,data) (((data) << 6) | (addr) | 0x01) |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
11 |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
12 void ABB_CAL_UlVolume (UWORD8 pga_index); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
13 void ABB_CAL_DlVolume (UWORD8 volume_index, UWORD8 pga_index); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
14 void ABB_UlVolume (UWORD8 volume_index); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
15 void ABB_DlVolume (UWORD8 volume_index); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
16 void ABB_DlMute (BOOL mute); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
17 void ABB_SideTone (UWORD8 volume_index); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
18 void ABB_Audio_Config (UWORD16 data); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
19 void ABB_Audio_Config_2 (UWORD16 data); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
20 void ABB_UlMute (BOOL mute); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
21 void ABB_Audio_Control (UWORD16 data); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
22 void ABB_Audio_On_Off (UWORD16 data); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
23 void ABB_Audio_Volume (UWORD16 data); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
24 void ABB_Audio_PLL (UWORD16 data); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
25 void ABB_Audio_VBPop (UWORD16 data); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
26 void ABB_Audio_Delay_Init (UWORD8 delay); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
27 UWORD16 ABB_Read_DLGain (void); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
28 #endif |
604
45bf440cc677
gsm-fw/L1/audio_include: initial preen over the imported LoCosto headers
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
603
diff
changeset
|
29 #if (ANALOG == 11) |
603
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
30 UWORD16 l1_audio_abb_Read_DLGain (void); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
31 #endif |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
32 |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
33 // Triton Audio ON/OFF Changes |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
34 #if (L1_AUDIO_MCU_ONOFF == 1) |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
35 void l1_audio_abb_ul_on_req ( void(*callback_fn)(void) ); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
36 void l1_audio_abb_dl_on_req ( void(*callback_fn)(void) ); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
37 void l1_audio_abb_ul_off_req ( void(*callback_fn)(void) ); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
38 void l1_audio_abb_dl_off_req ( void(*callback_fn)(void) ); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
39 void l1_audio_abb_ul_off_dl_off_req ( void(*callback_fn)(void) ); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
40 void l1_audio_abb_ul_off_dl_on_req ( void(*callback_fn)(void) ); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
41 void l1_audio_abb_ul_on_dl_off_req ( void(*callback_fn)(void) ); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
42 void l1_audio_abb_ul_on_dl_on_req ( void(*callback_fn)(void) ); |
d638de8cc6b8
gsm-fw/L1/audio_*/*.h: replacing Leonardo headers with LoCosto versions
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
519
diff
changeset
|
43 #endif |