FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/tm_include/l1tm_signa.h @ 853:ae254ffeaec3
AT command interface works!
The cause of the breakage was the same Nucleus API issue with NU_Create_Timer()
which we encountered at the very beginning of this project with Riviera timers:
the code in uartfax.c from TCS211 was passing 0 as the initial dummy value for
the timer duration, and our FreeNucleus version doesn't like it. The fix is
the same: pass 1 as the initial dummy value instead.
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Thu, 30 Apr 2015 01:46:26 +0000 |
parents | 57ad8f4d5cb5 |
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 /************* Revision Controle System Header ************* |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 * GSM Layer 1 software |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 * L1TM_SIGNA.H |
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 * Filename l1tm_signa.h |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 * Copyright 2003 (C) Texas Instruments |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 * |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 ************* Revision Controle System Header *************/ |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 #define P_TMODE ( P_L1C + 3 ) // keep compatibility with GPRS code |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 //TestMode |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 #define TMODE_RXLEV_REQ ( ( P_TMODE << 8 ) | 1 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 #define TMODE_RXLEV_IND ( ( P_TMODE << 8 ) | 2 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 #define TMODE_STOP_RXLEV_CON ( ( P_TMODE << 8 ) | 3 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 #define TMODE_FB0_REQ ( ( P_TMODE << 8 ) | 4 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 #define TMODE_FB1_REQ ( ( P_TMODE << 8 ) | 5 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 #define TMODE_SB_REQ ( ( P_TMODE << 8 ) | 6 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 #define TMODE_FB_CON ( ( P_TMODE << 8 ) | 7 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 #define TMODE_SB_CON ( ( P_TMODE << 8 ) | 8 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 #define TMODE_BCCHS_CON ( ( P_TMODE << 8 ) | 9 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 #define TMODE_RA_START ( ( P_TMODE << 8 ) | 10 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 #define TMODE_RA_DONE ( ( P_TMODE << 8 ) | 11 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 #define TMODE_SCELL_NBCCH_REQ ( ( P_TMODE << 8 ) | 12 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 #define TMODE_STOP_SCELL_BCCH_REQ ( ( P_TMODE << 8 ) | 13 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 #define TMODE_NEW_SCELL_REQ ( ( P_TMODE << 8 ) | 14 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 #define TMODE_TCH_REQ ( ( P_TMODE << 8 ) | 15 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 #define TMODE_IMMED_ASSIGN_REQ ( ( P_TMODE << 8 ) | 16 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 #define TMODE_IMMED_ASSIGN_CON ( ( P_TMODE << 8 ) | 17 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 #define TMODE_STOP_RX_TX ( ( P_TMODE << 8 ) | 18 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 #define TMODE_SACCH_INFO ( ( P_TMODE << 8 ) | 19 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 #define TESTMODE_PRIM ( ( P_TMODE << 8 ) | 20 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 #define TMODE_FB_SB_REQ ( ( P_TMODE << 8 ) | 21 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 #define TMODE_NETWORK_SYNC_IND ( ( P_TMODE << 8 ) | 22 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 #define TMODE_TCH_INFO ( ( P_TMODE << 8 ) | 23 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 #if L1_GPRS |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 #define TMODE_PDTCH_ASSIGN_REQ ( ( P_TMODE << 8 ) | 24 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 #define TMODE_PDTCH_INFO ( ( P_TMODE << 8 ) | 25 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 #endif |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 // #define TMODE_RXLEV_REQ ( ( P_TMODE << 8 ) | 24 ) |
57ad8f4d5cb5
L1: audio and tm header files imported from Leonardo semi-src
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 // #define TMODE_RXLEV_IND ( ( P_TMODE << 8 ) | 25 ) |