diff src/cs/layer1/include/l1_types.h @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cs/layer1/include/l1_types.h	Fri Oct 16 06:23:26 2020 +0000
@@ -0,0 +1,38 @@
+/************* Revision Controle System Header *************
+ *                  GSM Layer 1 software 
+ * L1_TYPES.H
+ *
+ *        Filename l1_types.h
+ *  Copyright 2003 (C) Texas Instruments  
+ *
+ ************* Revision Controle System Header *************/
+
+//--------------------------------------
+// Basic DATA types used along L1 code.
+//--------------------------------------
+#if !defined (BOOL_FLAG)
+  #define BOOL_FLAG
+  typedef unsigned char  BOOL;
+#endif
+
+
+#if !defined (NUCLEUS) && !defined CHAR_FLAG
+  #define CHAR_FLAG
+  typedef          char  CHAR;
+#endif
+
+typedef unsigned char  UWORD8;
+typedef signed   char  WORD8;
+
+typedef unsigned short UWORD16;
+typedef          short WORD16;
+
+typedef unsigned long  UWORD32;
+typedef          long  WORD32;
+//--------------------------------------
+
+typedef volatile UWORD16  API;
+typedef volatile WORD16   API_SIGNED;
+
+
+