📄 serialrpc.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 : SerialRPC.h 1.2
*
* Last update : 22:11:37 - 99/03/22
*
* Title : Serial command values
*
* 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 ------------------------------*/
typedef enum {
SERIAL_XFer_Input = 1,
SERIAL_XFer_Output = 2,
SERIAL_XFer_IOutput = 3,
SERIAL_XFer_Command = 4,
SERIAL_XFer_endian_probe = 5,
SERIAL_Recv_output = 6,
SERIAL_Recv_command = 7
} SERIAL_Command;
#if defined(__cplusplus)
}
#endif /* defined(__cplusplus) */
#endif /* SerialRPCDriver_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -