亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rtdx.h

?? SEED_TMS320vc5402dsk是在TI的TMS320VC5402DSK板基礎上簡化開發出來的
?? H
字號:
#ifndef __RTDX_H
#define __RTDX_H
/***********************************************************************
* VERSION : $Revision: 1.6 $
* DATE    : $Date: 1999/05/19 16:02:18 $
* Copyright (c) 1997 Texas Instruments Incorporated
*
* - The RTDX User Library Layer
*
************************************************************************/

/* This controls configuration to be either polling or interrupt driven */
/* It must be defined - values are 0 or 1.                              */
#undef RTDX_POLLING_IMPEMENTATION
#define RTDX_POLLING_IMPLEMENTATION 1
#if RTDX_POLLING_IMPLEMENTATION
extern void RTDX_Poll( void );
#endif

/* return codes used by read functions */
#define RTDX_READ_ERROR	-1
#define RTDX_OK			1

/* ----------------------------------------------------------------------
*  Define Data Types
*
* Data channels are represented by statically declared structures.  A data
* channel may be used either for input or output (logging), but not both.
* The contents of an input or output structure is private to the
* implementation and may change at any time.
*
* -----------------------------------------------------------------------*/

/* For Backward Compatability	*/
#define RTDX_output_channel	RTDX_outputChannel
#define RTDX_input_channel	RTDX_inputChannel

/* --- Data Channels --- */
#define RTDX_CHAN_ENABLED    0x1010

typedef struct {
	/* private */					/* NOTE: enabled MUST BE THE FIRST FIELD */
	volatile unsigned int enabled;
} RTDX_outputChannel;

#define RTDX_OUTPUT_INITIAL_STATE	{0}

typedef struct {
	/* private */					/* NOTE: enabled MUST BE THE FIRST FIELD */
	volatile unsigned int enabled;
	volatile unsigned int count;	/* HOST puts actual bytes received here	*/
	volatile int busy;				/* 1 if channel busy reading.			*/
} RTDX_inputChannel;

#define RTDX_INPUT_INITIAL_STATE	{0,0,0}

/* Macros to hide structure initialization data	*/
#define	RTDX_CreateOutputChannel(c)	\
		RTDX_outputChannel c = RTDX_OUTPUT_INITIAL_STATE
#define	RTDX_CreateInputChannel(c)	\
		RTDX_inputChannel c = RTDX_INPUT_INITIAL_STATE


/* This variable is set to non-NULL if transport is busy transmitting data */
extern void * volatile RTDX_writing;	/* exported from buffer layer   */


/************************************************************************
 * Procedure:
 *      RTDX_enableOutput
 *      RTDX_disableOutput
 *      RTDX_enableInput
 *      RTDX_disableInput
 * Parameters:
 *      ochan   identifier for an output channel
 *      ichan   identifier for an input  channel
 *
 * All input/output channels are initialized to be disabled.  A call to
 * the input/output enable routine causes the specified channel to be
 * enabled for data transmision.  Normally - user code will not call
 * these functions.  Enabling/Disabling is typically done by the
 * host-resident debugger.
 ************************************************************************/
/* For Backward Compatability	*/
#define RTDX_Enable_Data_Output		RTDX_enableOutput
#define RTDX_Disable_Data_Output	RTDX_disableOutput
#define RTDX_Enable_Data_Input		RTDX_enableInput
#define RTDX_Disable_Data_Input		RTDX_disableInput

extern void RTDX_enableOutput	( RTDX_output_channel *pochan);
extern void RTDX_disableOutput	( RTDX_output_channel *pochan);
extern void RTDX_enableInput	( RTDX_input_channel  *pichan);
extern void RTDX_disableInput	( RTDX_input_channel  *pichan);

/* To convert function calls to macros where possible	*/
#define	RTDX_enableOutput(pochan)	(	(pochan)->enabled = RTDX_CHAN_ENABLED )
#define	RTDX_disableOutput(pochan)	(	(pochan)->enabled = 0 )
#define	RTDX_enableInput(pichan)	{	(pichan)->enabled = RTDX_CHAN_ENABLED; \
										(pichan)->busy = 0;}
#define	RTDX_disableInput(pichan)	(	(pichan)->enabled = 0 )

#define RTDX_isInputEnabled(zzz) ((zzz)->enabled == RTDX_CHAN_ENABLED)
#define RTDX_isOutputEnabled(zzz) ((zzz)->enabled == RTDX_CHAN_ENABLED)


/************************************************************************
 * Procedure:
 *      RTDX_write
 * Parameters:
 *      ochan   identifier for an output channel
 *      buffer  a pointer to the buffer to contain the data
 *      bsize   the size of the buffer in address units
 * Returns:
 *      int     Success ( non-zero ) / Fail (0)
 *
 * RTDX_write causes the specified data to be written to the specified
 * output channel, provided the channel is enabled.  On return from
 * RTDX_write, the data has been copied out of the specified buffer.
 * If the channel is not enabled, RTDX_write is a no-op that returns success.
 ************************************************************************/
extern int RTDX_write ( RTDX_output_channel *ochan, void *buffer, int bsize);
#define RTDX_Data_Write RTDX_write

/***************************************************************************
 * Template:
 *      int RTDX_read ( RTDX_input_channel *ichan, char *buffer, int bsize);
 *
 * Parameters:
 * 	ichan	identifier for the input channel to use
 * 	buffer	a pointer to the buffer to contain the data
 * 	bsize	the size of the buffer in address units
 *
 * Effect:
 *	RTDX_read causes a read request to be posted to the specified input
 * channel.  If the channel is enabled, RTDX_read then busy waits until the
 * data has arrived. On return from RTDX_read, the data has been copied
 * into the specified buffer.
 *
 * Returns:
 *	RTDX_READ_ERROR if the channel is not enabled, or already busy.
 * Otherwise, RTDX_read returns the actual number of units read, in
 * sizeof() units.
 *
 ***************************************************************************/
extern int RTDX_read ( RTDX_input_channel *ichan, void *buffer, int bsize);
#define RTDX_Data_Read RTDX_read


/***************************************************************************
 * Template:
 *      int RTDX_readNB ( RTDX_input_channel *ichan, char *buffer, int bsize);
 *
 * Parameters:
 * 	ichan	identifier for the input channel to use
 * 	buffer	a pointer to the buffer to contain the data
 * 	bsize	the size of the buffer in address units
 *
 * Effect:
 *	RTDX_readNB causes a read request to be posted to the specified
 * input channel.  RTDX_readNB posts a read request to the host, and then
 * immediately returns.  The user must wait for the data to arrive; a call
 * to RTDX_channelBusy can be used to poll the channel for completion.
 *
 * Returns:
 *	RTDX_READ_ERROR if the channel is not enabled, or busy.
 *	0 if the request cannot be posted due to the buffers being full.
 *	RTDX_OK for success.
 *
 ***************************************************************************/
extern int RTDX_readNB ( RTDX_input_channel *ichan, void *buffer, int bsize);
#define RTDX_Data_Read_NB RTDX_readNB


/************************************************************************
 * Procedure:
 *      RTDX_channelBusy
 *
 * Parameters:
 *      ichan   identifier for an input  channel
 *
 * Returns:
 *      TRUE if the channel is currently busy awaiting input.  FALSE
 * if it is not busy, meaning any previous request has completed.
 *
 * Notes:
 *	Usually this function is an inline expanded macro.
 ************************************************************************/
extern int RTDX_channelBusy( RTDX_input_channel *ichan );
#define RTDX_channelBusy( pichan )     ( (pichan)->busy )
#define RTDX_Channel_Busy RTDX_channelBusy


/************************************************************************
 * Procedure:
 *      RTDX_sizeofInput
 *
 * Parameters:
 *      ichan   identifier for an input  channel
 *
 * Returns:
 *      The amount of data actually read by the last completed read
 * operation, in sizeof() units, is returned.  The result of
 * RTDX_sizeofInput is not valid if the channel is currently busy.
 *
 * Notes:
 *	Usually this function is an inline expanded macro.
 ************************************************************************/
extern int RTDX_sizeofInput( RTDX_input_channel *ichan );
#define RTDX_sizeofInput( pichan )       ( (pichan)->count )
#define RTDX_Bytes_Read RTDX_sizeofInput


#endif  // __RTDX_H

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲丝袜精品丝袜在线| 日韩欧美在线不卡| 99久久99久久免费精品蜜臀| 国产精品中文字幕欧美| 蜜臀久久99精品久久久画质超高清 | 日韩一区二区三区视频在线观看| 91福利国产精品| 91精品一区二区三区久久久久久| 欧美精品 国产精品| 欧美另类一区二区三区| 欧美一区欧美二区| 久久精品免视看| 夜夜嗨av一区二区三区| 欧美aaa在线| 不卡一区在线观看| 欧美成人video| 1000精品久久久久久久久| 亚洲曰韩产成在线| 成人动漫精品一区二区| 91.com在线观看| 亚洲三级小视频| 激情六月婷婷久久| 欧美喷潮久久久xxxxx| 国产婷婷色一区二区三区四区| 亚洲精品美腿丝袜| 丁香天五香天堂综合| 91精品在线麻豆| 亚洲综合一区二区| caoporn国产一区二区| 在线成人av网站| 一区二区三区**美女毛片| 亚洲成人激情av| 国产成人h网站| 久久久久久亚洲综合影院红桃| 亚洲动漫第一页| 91亚洲大成网污www| 久久久五月婷婷| 国产福利视频一区二区三区| 日韩欧美资源站| 日本欧美久久久久免费播放网| 在线看一区二区| 欧美在线观看视频一区二区| 91麻豆精品国产91久久久久久久久 | 国产精品蜜臀av| 成人三级伦理片| 中文字幕一区二区三区在线播放| 国内精品第一页| 久久亚洲一区二区三区四区| 经典三级视频一区| 国产精品麻豆欧美日韩ww| 国产成人精品www牛牛影视| 精品国产一区久久| 9色porny自拍视频一区二区| 欧美激情在线看| 欧美最新大片在线看| 日韩精品电影一区亚洲| 久久综合九色综合欧美亚洲| 丁香亚洲综合激情啪啪综合| 亚洲精品乱码久久久久久 | 一区二区三区四区亚洲| 欧美日本在线一区| 国产一区二区三区四| 亚洲精品国久久99热| 欧美一区二区三区电影| aaa欧美日韩| 国产一区欧美一区| 亚洲地区一二三色| 国产精品免费av| 欧美日韩一区二区三区四区五区 | 欧美三级电影在线观看| 国产成人夜色高潮福利影视| 亚洲午夜久久久久久久久电影网| 7799精品视频| 欧美天堂一区二区三区| 成人激情黄色小说| 国产福利91精品| 精品一区二区三区日韩| 日本不卡的三区四区五区| 亚洲亚洲人成综合网络| 日韩欧美一级在线播放| 波多野结衣精品在线| 国产成人免费在线观看不卡| 日本女人一区二区三区| 亚洲成人免费视| 亚洲va天堂va国产va久| 亚洲主播在线播放| 亚洲一区二区三区自拍| 亚洲黄色免费电影| **欧美大码日韩| 夜夜嗨av一区二区三区| 一区二区三区视频在线观看| 亚洲观看高清完整版在线观看 | 韩国中文字幕2020精品| 日韩中文字幕区一区有砖一区| 午夜久久福利影院| 精品一区二区三区av| 国产suv精品一区二区6| 99精品视频一区二区三区| 北条麻妃一区二区三区| 欧美日韩三级一区| 91精品国产91久久综合桃花| 精品国产伦一区二区三区观看体验| 精品国产乱码久久久久久浪潮| 中国av一区二区三区| 亚洲网友自拍偷拍| 成人一区二区三区在线观看| 色哟哟一区二区| 日韩欧美中文字幕制服| 亚洲欧洲日产国码二区| 日韩黄色小视频| 成人18精品视频| 91猫先生在线| 久久久精品天堂| 亚洲va欧美va人人爽午夜| 国产一区二区精品久久| 51午夜精品国产| 亚洲欧洲成人av每日更新| 久久国产精品72免费观看| 91色在线porny| 久久蜜桃一区二区| 奇米精品一区二区三区在线观看一| 成人av片在线观看| 国产嫩草影院久久久久| 亚洲午夜av在线| 亚洲午夜一区二区| 国产成人精品亚洲午夜麻豆| 欧美精品在线观看播放| 亚洲乱码精品一二三四区日韩在线| 开心九九激情九九欧美日韩精美视频电影 | 天天操天天干天天综合网| 色综合久久久久久久久| 亚洲三级在线观看| 日本乱人伦一区| 悠悠色在线精品| 欧美影视一区二区三区| 亚洲免费在线视频一区 二区| aaa国产一区| 性做久久久久久免费观看欧美| 337p亚洲精品色噜噜狠狠| 理论电影国产精品| 久久综合久久鬼色| 色婷婷狠狠综合| 天天影视网天天综合色在线播放 | 亚洲欧美另类小说| 欧美日本免费一区二区三区| 精品一二三四区| 亚洲色图欧美在线| 欧美日本一区二区| 国产一区二区三区美女| 日韩一区日韩二区| 日韩视频在线一区二区| 国产精品一区2区| 亚洲第一综合色| 久久精品一二三| 99久久伊人网影院| 美女在线视频一区| 国产精品成人免费在线| 欧美精品在线观看一区二区| 国产suv一区二区三区88区| 亚洲已满18点击进入久久| 久久久久久久免费视频了| 欧美性一二三区| 色婷婷狠狠综合| 粉嫩aⅴ一区二区三区四区| 久久精品国产亚洲高清剧情介绍 | 亚洲女厕所小便bbb| 精品国偷自产国产一区| 色综合咪咪久久| 国产精品一区在线观看你懂的| 亚洲h在线观看| 洋洋成人永久网站入口| 日本一区二区三区四区在线视频| 欧美高清视频www夜色资源网| 99综合电影在线视频| 波多野结衣亚洲| 不卡av电影在线播放| 成人精品电影在线观看| 波多野结衣一区二区三区| 国产丶欧美丶日本不卡视频| 久久av资源站| 国产成人av网站| 99精品国产视频| 在线视频你懂得一区二区三区| 91国偷自产一区二区开放时间 | 亚洲制服欧美中文字幕中文字幕| 亚洲美女屁股眼交| 亚洲一二三四在线| 日韩激情视频在线观看| 久久国产精品一区二区| 国内精品久久久久影院薰衣草 | 欧美一区二区黄色| 国产喂奶挤奶一区二区三区| 日韩精品一区二区三区三区免费| 欧美成人a视频| 亚洲欧美日韩电影| 韩国av一区二区三区四区| 99久免费精品视频在线观看| 欧美日本在线观看| 亚洲国产精品精华液ab| 婷婷综合五月天|