FreeCalypso > hg > freecalypso-citrine
comparison L1/include/l1_types.h @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 Jun 2016 00:02:41 +0000 |
parents | |
children | f93dab57b032 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:75a11d740a02 |
---|---|
1 /************* Revision Controle System Header ************* | |
2 * GSM Layer 1 software | |
3 * L1_TYPES.H | |
4 * | |
5 * Filename l1_types.h | |
6 * Copyright 2003 (C) Texas Instruments | |
7 * | |
8 ************* Revision Controle System Header *************/ | |
9 | |
10 //-------------------------------------- | |
11 // Basic DATA types used along L1 code. | |
12 //-------------------------------------- | |
13 | |
14 #ifndef __L1_TYPES_H__ | |
15 #define __L1_TYPES_H__ | |
16 | |
17 #if !defined (BOOL_FLAG) | |
18 #define BOOL_FLAG | |
19 typedef unsigned char BOOL; | |
20 #endif /* #if !defined (BOOL_FLAG) */ | |
21 | |
22 // FreeCalypso change | |
23 #if 1 //(OP_L1_STANDALONE == 1) | |
24 | |
25 | |
26 #if !defined (NUCLEUS) && !defined CHAR_FLAG | |
27 #define CHAR_FLAG | |
28 | |
29 typedef char CHAR; | |
30 #endif | |
31 | |
32 typedef unsigned char UWORD8; | |
33 typedef signed char WORD8; | |
34 | |
35 typedef unsigned short UWORD16; | |
36 typedef short WORD16; | |
37 | |
38 typedef unsigned long UWORD32; | |
39 typedef long WORD32; | |
40 //-------------------------------------- | |
41 | |
42 | |
43 #else | |
44 #include "global_types.h" | |
45 #endif /* #if (OP_L1_STANDALONE == 1) */ | |
46 | |
47 | |
48 | |
49 | |
50 | |
51 typedef volatile UWORD16 API; | |
52 typedef volatile WORD16 API_SIGNED; | |
53 #endif /* #ifndef __L1_TYPES_H__ */ | |
54 |