FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/L1/include/l1_types.h @ 530:25a7fe25864c
gsm-fw/L1/include: switch to LoCosto versions of all header files
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 01 Aug 2014 16:38:35 +0000 |
parents | afceeeb2cba1 |
children | c87f2e4dc391 |
comparison
equal
deleted
inserted
replaced
529:f72c9db5e2f5 | 530:25a7fe25864c |
---|---|
8 ************* Revision Controle System Header *************/ | 8 ************* Revision Controle System Header *************/ |
9 | 9 |
10 //-------------------------------------- | 10 //-------------------------------------- |
11 // Basic DATA types used along L1 code. | 11 // Basic DATA types used along L1 code. |
12 //-------------------------------------- | 12 //-------------------------------------- |
13 | |
14 #ifndef __L1_TYPES_H__ | |
15 #define __L1_TYPES_H__ | |
16 | |
13 #if !defined (BOOL_FLAG) | 17 #if !defined (BOOL_FLAG) |
14 #define BOOL_FLAG | 18 #define BOOL_FLAG |
15 typedef unsigned char BOOL; | 19 typedef unsigned char BOOL; |
16 #endif | 20 #endif /* #if !defined (BOOL_FLAG) */ |
17 | 21 |
18 | 22 #if (OP_L1_STANDALONE == 1) |
23 | |
24 | |
19 #if !defined (NUCLEUS) && !defined CHAR_FLAG | 25 #if !defined (NUCLEUS) && !defined CHAR_FLAG |
20 #define CHAR_FLAG | 26 #define CHAR_FLAG |
27 | |
21 typedef char CHAR; | 28 typedef char CHAR; |
22 #endif | 29 #endif |
23 | 30 |
24 typedef unsigned char UWORD8; | 31 typedef unsigned char UWORD8; |
25 typedef signed char WORD8; | 32 typedef signed char WORD8; |
28 typedef short WORD16; | 35 typedef short WORD16; |
29 | 36 |
30 typedef unsigned long UWORD32; | 37 typedef unsigned long UWORD32; |
31 typedef long WORD32; | 38 typedef long WORD32; |
32 //-------------------------------------- | 39 //-------------------------------------- |
40 | |
41 | |
42 #else | |
43 #include "global_types.h" | |
44 #endif /* #if (OP_L1_STANDALONE == 1) */ | |
45 | |
46 | |
47 | |
48 | |
33 | 49 |
34 typedef volatile UWORD16 API; | 50 typedef volatile UWORD16 API; |
35 typedef volatile WORD16 API_SIGNED; | 51 typedef volatile WORD16 API_SIGNED; |
52 #endif /* #ifndef __L1_TYPES_H__ */ | |
36 | 53 |
37 | |
38 |