FreeCalypso > hg > fc-magnetite
comparison cdg3/cdginc-conservative/p_ra.val @ 16:c15047b3d00d
cdg3: import from freecalypso-citrine/cdg
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 27 Sep 2016 16:27:34 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
15:c8bdae60fcb1 | 16:c15047b3d00d |
---|---|
1 /* | |
2 +--------------------------------------------------------------------------+ | |
3 | PROJECT : PROTOCOL STACK | | |
4 | FILE : p_ra.val | | |
5 | SOURCE : "sap\ra.pdf" | | |
6 | LastModified : "2002-04-26" | | |
7 | IdAndVersion : "8411.102.98.204" | | |
8 | SrcFileTime : "Thu Nov 29 09:51:34 2007" | | |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 | | |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | | |
11 +--------------------------------------------------------------------------+ | |
12 */ | |
13 | |
14 /* PRAGMAS | |
15 * PREFIX : NONE | |
16 * COMPATIBILITY_DEFINES : NO (require PREFIX) | |
17 * ALWAYS_ENUM_IN_VAL_FILE: NO | |
18 * ENABLE_GROUP: NO | |
19 * CAPITALIZE_TYPENAME: NO | |
20 */ | |
21 | |
22 | |
23 #ifndef P_RA_VAL | |
24 #define P_RA_VAL | |
25 | |
26 | |
27 #define CDG_ENTER__P_RA_VAL | |
28 | |
29 #define CDG_ENTER__FILENAME _P_RA_VAL | |
30 #define CDG_ENTER__P_RA_VAL__FILE_TYPE CDGINC | |
31 #define CDG_ENTER__P_RA_VAL__LAST_MODIFIED _2002_04_26 | |
32 #define CDG_ENTER__P_RA_VAL__ID_AND_VERSION _8411_102_98_204 | |
33 | |
34 #define CDG_ENTER__P_RA_VAL__SRC_FILE_TIME _Thu_Nov_29_09_51_34_2007 | |
35 | |
36 #include "CDG_ENTER.h" | |
37 | |
38 #undef CDG_ENTER__P_RA_VAL | |
39 | |
40 #undef CDG_ENTER__FILENAME | |
41 | |
42 | |
43 /* | |
44 * Value constants for VAL_model | |
45 */ | |
46 #define RA_MODEL_SPEECH (0x0) /* model speech */ | |
47 #define RA_MODEL_TRANS (0x1) /* model 1b async transparent */ | |
48 #define RA_MODEL_RLP (0x2) /* model 3b async nontransparent */ | |
49 #define RA_MODEL_FAX (0x3) /* model 5b fax 3.45 */ | |
50 | |
51 /* | |
52 * Value constants for VAL_tra_rate | |
53 */ | |
54 #define TRA_FULLRATE_2400 (0x0) /* fullrate 2,4/3,6 kBit */ | |
55 #define TRA_HALFRATE_2400 (0x1) /* halfrate 2,4/3,6 kBit */ | |
56 #define TRA_FULLRATE_4800 (0x2) /* fullrate 4,8/6 kBit */ | |
57 #define TRA_HALFRATE_4800 (0x3) /* halfrate 4,8/6 kBit */ | |
58 #define TRA_FULLRATE_9600 (0x4) /* fullrate 9,6/12 kBit */ | |
59 #define TRA_FULLRATE_14400 (0x5) /* fullrate 13,4/14,4 kBit */ | |
60 | |
61 /* | |
62 * Value constants for VAL_user_rate | |
63 */ | |
64 #define URA_300 (0x0) /* user rate 300bps */ | |
65 #define URA_1200 (0x1) /* user rate 1200bps */ | |
66 #define URA_2400 (0x2) /* user rate 2400bps */ | |
67 #define URA_4800 (0x3) /* user rate 4800bps */ | |
68 #define URA_9600 (0x4) /* user rate 9600bps */ | |
69 #define URA_1200_75 (0x5) /* user rate 1200/75bps */ | |
70 #define URA_14400 (0x6) /* user rate 14400bps */ | |
71 | |
72 /* | |
73 * Value constants for VAL_dtx_flg | |
74 */ | |
75 #define DTX_DIS (0x0) /* Disable DTX */ | |
76 #define DTX_EN (0x1) /* Enable DTX */ | |
77 | |
78 /* | |
79 * Value constants for VAL_fr_type | |
80 */ | |
81 #define FR_T4DATA (0x0) /* GSM 3.45 Data frame */ | |
82 #define FR_STATUS (0x1) /* GSM 3.45 Status (BCS) frame */ | |
83 #define FR_SYNC (0x2) /* GSM 3.45 Sync frame */ | |
84 #define FR_TRAIN (0x3) /* GSM 3.45 Status (TRAIN) frame */ | |
85 #define FR_TRANS (0x4) /* Transparent Data frame */ | |
86 #define FR_RLP (0x5) /* Valid RLP frame */ | |
87 #define FR_INVALID (0xf) /* Invalid frame or FCS error detected in RLP mode */ | |
88 | |
89 /* | |
90 * Value constants for VAL_status | |
91 */ | |
92 #define ST_SA (0x1) /* Status SA */ | |
93 #define ST_SB (0x2) /* Status SB */ | |
94 #define ST_X (0x4) /* Status X */ | |
95 #define ST_OVER (0x8) /* Overspeed flag */ | |
96 | |
97 /* | |
98 * Value constants for VAL_ack_flg | |
99 */ | |
100 #define RA_ACK (0x0) /* acknowledged */ | |
101 #define RA_NAK (0x1) /* not acknowledged */ | |
102 | |
103 /* | |
104 * Value constants for VAL_detect | |
105 */ | |
106 #define DET_NO_STATUS (0x0) /* do not detect status frames */ | |
107 #define DET_STATUS (0x1) /* detect status frames */ | |
108 | |
109 /* | |
110 * Value constants for VAL_tick_dir | |
111 */ | |
112 #define TICK_UL (0x1) /* tick uplink */ | |
113 #define TICK_DL (0x2) /* tick downlink */ | |
114 #define TICK_UL_DL (0x3) /* tick uplink & downlink */ | |
115 | |
116 /* | |
117 * Value constants for VAL_offset | |
118 */ | |
119 #define ra_conf (0x0) /* Configurations */ | |
120 #define ra_act (0x1) /* Activities */ | |
121 #define ra_test (0x2) /* Test */ | |
122 #define ra_statu (0x3) /* Uplink status */ | |
123 #define ra_statd (0x4) /* Downlink status */ | |
124 #define fax_status_det (0x5) /* Fax status detection */ | |
125 #define rau (0x6) /* Buffer for uplink characters */ | |
126 #define rad (0x7) /* Buffer for downlink characters */ | |
127 #define ntu (0x8) /* Buffer for uplink RLP frames */ | |
128 #define ntd (0x9) /* Buffer for downlink RLP frames */ | |
129 #define faxu (0xa) /* Buffer for uplink fax data */ | |
130 #define faxd (0xb) /* Buffer for downlink fax data */ | |
131 | |
132 /* | |
133 * user defined constants | |
134 */ | |
135 #define DUMMY_RA (0x0) | |
136 | |
137 #include "CDG_LEAVE.h" | |
138 | |
139 | |
140 #endif |