/* File: Sysbasetypes.h
  (C) 2006  DSP-Weuffen GmbH, Neuravensburg, GERMANY
*/

#ifndef __SYSBASETYPES_H_
#define __SYSBASETYPES_H_

#include <std.h>
#include <csl_chip.h>
      
/*****************************************************************************
  INCLUDES
**************************************************************************** */

typedef double         F64;     /* float 64 Bits double precision */

typedef unsigned long  U64;     /* 40 Bits in 64 Bit register */
typedef signed   long  S64;

typedef unsigned int   U32;     /* 32 Bits */
typedef signed   int   S32;

typedef float          F32;     /* float 32 Bit */
#define F32_MAX  3.402823466E+38F // see: DSP C6000 "float.h"

typedef unsigned short US;      /* 16Bits */
typedef signed   short SS;
#define UC_MAX         255
#define UC_MIN           0
#define US_MAX       65535
#define US_MIN           0
#define SS_MAX       32767
#define SS_MIN           0

typedef unsigned char  UC;      /* 8 Bits */
typedef signed   char  SC;

#if !defined(HANDLE)
typedef void *            HANDLE;
#endif

#if !defined(BOOL)
typedef UC                BOOL;
#endif

#if !defined(BYTE)
typedef UC     BYTE;
#endif

typedef  unsigned   Bit_t;

#define  FORCE_CODE()    asm(" nop")          /* Force the code nop to allow breakpoints to be set */

#endif

#ifndef NULL
#define NULL 0
#endif


/* ### EOF ### */
