/************************************************************************* $Archive: /PACS/OnBoard/l_gendef.h $ $Revision: 1.10 $ $Date: 2009/04/23 13:51:12 $ $Author: amazy $ $Log: l_gendef.h,v $ Revision 1.10 2009/04/23 13:51:12 amazy 6.029 * * 7 28/08/02 11:49 Amazy * Added the header with the history log *************************************************************************/ /***************************************************************************** * * Project name: Plank LFI REBA / Herschel PACS SPU * Product name: LLSW_DRV * Object name: l_gendef * Filename: %M% * Language: C (ADSP-21020) * Compiler: G21K - r3.3 * Company: CRISA * Author: Jaime Gomez/F. Torrero * Version: %I% * Creation date: 03/Aug/2001 * Last Modification date: %G% * * Description =============================================================== * * This module sets the common definitions interface throughout the project * * Change log =============================================================== * * | DATE | NEW VERSION | AUTHOR | REASON FOR CHANGE | * =========================================================================== * * 03/Aug/01 1 J. Gómez Creation * * ****************************************************************************/ #ifndef L_GENDEF_H #define L_GENDEF_H /***************************************************************************** PROVIDED CONSTANTS *****************************************************************************/ /* Boolean TRUE/FALSE constants */ #define K_TRUE 1 #define K_FALSE 0 #undef TRUE #undef FALSE #define TRUE K_TRUE #define FALSE K_FALSE /* To be used as function parameters */ #define K_ENABLE 1 #define K_DISABLE 0 #define K_MASK 0 #define K_UNMASK 1 #define K_HIGH 1 #define K_LOW 0 /* To be used in infinite "for" loops */ #define EVER (;;) #ifndef INCLUDE_DEFINE_ONLY /***************************************************************************** PROVIDED TYPES *****************************************************************************/ typedef int T_SIGNED_32; typedef int T_SIGNED_16; typedef unsigned int T_UNSIGNED_32; typedef unsigned int T_UNSIGNED_16; typedef T_UNSIGNED_32 T_BOOLEAN; /* To be used with TRUE/FALSE values */ typedef T_UNSIGNED_32 T_LEVEL; /* To be used with K_HIGH/K_LOW values */ typedef T_UNSIGNED_32 T_SR; /* Status return */ typedef void T_VOID; /***************************************************************************** PROVIDED VARIABLES *****************************************************************************/ /***************************************************************************** DECLARATION OF PROVIDED FUNCTIONS *****************************************************************************/ #endif /*INCLUDE_DEFINE_ONLY*/ #endif /* L_GENDEF_H */