annotate gsm-fw/cdg/cdginc-conservative/p_cst.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 9ba088a875bd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
656
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 +--------------------------------------------------------------------------+
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 | PROJECT : PROTOCOL STACK |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 | FILE : p_cst.h |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 | SOURCE : "sap\cst.pdf" |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 | LastModified : "1999-09-21" |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 | IdAndVersion : "8415.060.99.003" |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 | SrcFileTime : "Thu Nov 29 09:39:04 2007" |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 +--------------------------------------------------------------------------+
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 /* PRAGMAS
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 * PREFIX : NONE
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 * ENABLE_GROUP: NO
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 * CAPITALIZE_TYPENAME: NO
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 #ifndef P_CST_H
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 #define P_CST_H
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
27 #define CDG_ENTER__P_CST_H
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
28
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
29 #define CDG_ENTER__FILENAME _P_CST_H
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
30 #define CDG_ENTER__P_CST_H__FILE_TYPE CDGINC
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 #define CDG_ENTER__P_CST_H__LAST_MODIFIED _1999_09_21
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 #define CDG_ENTER__P_CST_H__ID_AND_VERSION _8415_060_99_003
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34 #define CDG_ENTER__P_CST_H__SRC_FILE_TIME _Thu_Nov_29_09_39_04_2007
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
36 #include "CDG_ENTER.h"
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 #undef CDG_ENTER__P_CST_H
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
40 #undef CDG_ENTER__FILENAME
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
41
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
42
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
43 #include "p_cst.val"
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
44
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
45
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
46 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
47 * End of substructure section, begin of primitive definition section
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
48 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
49
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
50 #ifndef __T_CST_ADC_IND__
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
51 #define __T_CST_ADC_IND__
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
52 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
53 *
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
54 * CCDGEN:WriteStruct_Count==1221
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
55 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
56 typedef struct
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
57 {
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
58 U16 adc_values[9]; /*< 0: 18> AD conversion values */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
59 U8 _align0; /*< 18: 1> alignment */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
60 U8 _align1; /*< 19: 1> alignment */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
61 } T_CST_ADC_IND;
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
62 #endif
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
63
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
64 #ifndef __T_CST_VM_STOP_PLAY_IND__
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
65 #define __T_CST_VM_STOP_PLAY_IND__
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
66 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
67 *
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
68 * CCDGEN:WriteStruct_Count==1222
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
69 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
70 typedef struct
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
71 {
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
72 U32 stop_address; /*< 0: 4> contains stop address */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
73 } T_CST_VM_STOP_PLAY_IND;
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
74 #endif
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
75
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
76 #ifndef __T_CST_VM_STOP_RECORD_IND__
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
77 #define __T_CST_VM_STOP_RECORD_IND__
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
78 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
79 *
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
80 * CCDGEN:WriteStruct_Count==1223
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
81 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
82 typedef struct
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
83 {
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
84 U32 stop_address; /*< 0: 4> contains stop address */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
85 } T_CST_VM_STOP_RECORD_IND;
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
86 #endif
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
87
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
88 #ifndef __T_CST_SR_IND__
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
89 #define __T_CST_SR_IND__
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
90 /*
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
91 *
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
92 * CCDGEN:WriteStruct_Count==1224
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
93 */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
94 typedef struct
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
95 {
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
96 U8 error_code; /*< 0: 1> Error code */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
97 U8 index; /*< 1: 1> Index */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
98 U8 _align0; /*< 2: 1> alignment */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
99 U8 _align1; /*< 3: 1> alignment */
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
100 } T_CST_SR_IND;
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
101 #endif
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
102
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
103
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
104 #include "CDG_LEAVE.h"
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
105
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
106
9ba088a875bd gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
107 #endif