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

📄 helper.h

📁 Canopen协议栈的实现
💻 H
字号:
/****************************************************************************
* (C) 1999-2005 by BECK IPC GmbH
*
*  BECK IPC GmbH
*  Germany
*  
*  http://www.beck-ipc.com
*
* ---------------------------------------------------------------------------
* Module         : HELPER.H
* Function       : prototypes, constants for helper functions
* ---------------------------------------------------------------------------

$Header: /cvsrepo/CANopenNode/_src/CANopen/BECK_SC1x+SJA1000/Clib/HELPER.H,v 1.1 2006/03/08 11:29:44 jani Exp $

*****************************************************************************/

#ifndef HELPER_H
#define HELPER_H

#include <dos.h>

/***************************************************************************/
// Prototyps
/***************************************************************************/
#ifdef __cplusplus
extern "C" {
#endif

typedef int _cdecl (far * Sprintf_Fptr)(char far * buf,
                                        const char far * fmt,
                                        void far * ap);

void         _cdecl helper_strout( const char far *s );
int          _cdecl helper_chrout( char ch, int zero );
void         _cdecl helper_dezout( unsigned int x, int zero );
void         _cdecl helper_hexdig( unsigned char dig );
void         _cdecl helper_hexout( unsigned hex );
int          _cdecl helper_printf( const char _FAR *fmt, ...);

unsigned int _cdecl helper_alloc_rtos_mem  ( unsigned long size );
int          _cdecl helper_release_rtos_mem( unsigned int seg );

unsigned int _cdecl helper_alloc_rtos_fast_mem(unsigned long size);

#ifdef __cplusplus
}
#endif


#endif // HELPER_H

⌨️ 快捷键说明

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