helper.h
来自「CANopenNode source code with tutorials -」· C头文件 代码 · 共 52 行
H
52 行
/****************************************************************************
* (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 + =
减小字号Ctrl + -
显示快捷键?