⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gtmpscos.h

📁 Curtiss-Wright Controls Embedded Computing公司的cw183板bsp源代码
💻 H
字号:
/* gtMpscOS.h - header file for OS specific macros and functions *//********************************************************************** * *   Copyright (c) 2003-2004, Dy 4 Systems All rights reserved. *   This Source Code is the Property of Dy 4 Systems Inc. and can *   only be used in accordance with Source Code License *   Agreement of Dy 4 Systems Inc. dba (doing business as)  *   CURTISS-WRIGHT CONTROLS EMBEDDED COMPUTING, "CWCEC". * **********************************************************************//*modification history--------------------01a 01nov02, deb PTR release*/ /* The following line is for CVS. */ /*(#) $Id: Exp $ */ /*----------------------------------------------------------*/ /*    Copyright (C) 2002  Dy 4 Systems, Inc.                */ /*                                                          */ /*----------------------------------------------------------*/ /****************************************************************************** * begin_header: ******************************************************************************* * * Filename:  gtMpscOS.h * * Description: Offers OS specific macros and functions * * ******************************************************************************* * * revision log: * * 01nov02, deb    PTR Initial release * $Log: $ * ******************************************************************************* * end_header: ******************************************************************************/#ifndef GT_MPSCOS_H#define GT_MPSCOS_H#ifdef __cplusplusextern "C" {#endif /******************************** ********  INCLUDE FILES  ******** *********************************/#include <stdlib.h>#include <string.h>#include <stdio.h>#include <taskLib.h>#include <logLib.h>#include <cacheLib.h>#include "gtMpscErr.h" /******************************** ********  LOCAL DEFINES  ******** *********************************/#define GT_MPSC_WARN(A) (fprintf( stderr, "%s: %d: WARNING: %s\n", __FILE__, __LINE__, (A) ))#define GT_MPSC_ASSERT(A) if (!(A)) logMsg( "%s: %d: ASSERTION FAILED\n", (int)__FILE__, __LINE__, 0, 0, 0, 0 )#define GT_MPSC_LOG(A) logMsg( "%s: %d: LOG: %s\n", (int)__FILE__, __LINE__, (int)(A), 0, 0, 0 )/************************************************************** These features will be added as necessary to support * half duplex operations on the RHDLC Driver** * Timer definitions ** #define SCC_TMR       CNTMR_6* #define SCC_TMR_INT  CNTMR6_EXP** void gtMpscOSClkInit();* void gtMpscOSCldTime( int * seconds, int * microseconds );* void gtMpscOSInit();* void gtMpscClkStart(int chan, int cycles);* void gtMpscOSClkClose();*************************************************************/#ifdef __cplusplus}#endif#endif /* GT_MPSCOS_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -