📄 serialrpcdriver.h
字号:
/*
* +-------------------------------------------------------------------+
* | Copyright (c) 1995,1996,1997 by Philips Semiconductors. |
* | |
* | This software is furnished under a license and may only be used |
* | and copied in accordance with the terms and conditions of such a |
* | license and with the inclusion of this copyright notice. This |
* | software or any other copies of this software may not be provided |
* | or otherwise made available to any other person. The ownership |
* | and title of this software is not transferred. |
* | |
* | The information in this software is subject to change without |
* | any prior notice and should not be construed as a commitment by |
* | Philips Semiconductors. |
* | |
* | This code and information is provided "as is" without any |
* | warranty of any kind, either expressed or implied, including but |
* | not limited to the implied warranties of merchantability and/or |
* | fitness for any particular purpose. |
* +-------------------------------------------------------------------+
*
*
* Module name : SerialRPCDriver.h 1.1
*
* Last update : 09:44:22 - 99/03/03
*
* Title : Serial RPC driver interface,
* (host and target interface)
*
* Author : Juul van der Spek
*
* Reviewed :
*
* Revision history :
*
* Description :
*
*/
#ifndef SerialRPCDriver_INCLUDED
#define SerialRPCDriver_INCLUDED
/*----------------------------includes---------------------------------------*/
#ifdef __TCS__
#include <tmlib/tmtypes.h>
#include <tmlib/HostCall.h>
#else
#include "tmtypes.h"
#include "HostCall.h"
#endif
#if defined(__cplusplus)
extern "C" {
#endif /* defined(__cplusplus) */
/*--------------------------------- Definitions ------------------------------*/
/*
* Write exactly 'size' bytes in buffer.
*/
void SerialRPC_write_buffer(Pointer buffer, Int32 size);
/*
* Read exactly 'size' bytes into buffer.
*/
void SerialRPC_read_buffer(Pointer buffer, Int32 size);
/*
* Initialize serial channel;
* return True iff succeeded.
*/
Bool SerialRPC_init();
#if defined(__cplusplus)
}
#endif /* defined(__cplusplus) */
#endif /* SerialRPCDriver_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -