view src/cs/layer1/include/l1_types.h @ 291:a72feaed133a

PWT buzzer driver: conditionalize on TARGET_HAS_BUZZER Here we add a new target config preprocessor symbol TARGET_HAS_BUZZER, currently defined for c11x and c139; later we also expect to have it on for FC Venus, and in FC Magnetite we are going to turn it on for target dsample, just for the sake of completeness and philosophical correctness.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Mar 2022 19:31:18 +0000
parents 4e78acac3d88
children
line wrap: on
line source

/************* 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;