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

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

?? rtdx.h

?? DSP原理及其C編程開發技術相關代碼
?? H
字號:
#ifndef __RTDX_H
#define __RTDX_H
/***********************************************************************
* VERSION : $Revision: 1.5 $
* DATE    : $Date: 1998/10/23 00:14:37 $
* 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 0
#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.
*
* -----------------------------------------------------------------------*/


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

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

#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_input_channel;

#define RTDX_INPUT_INITIAL_STATE	{0,0,0}

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


/* 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.
 ************************************************************************/

extern void RTDX_enableOutput	( RTDX_output_channel *ochan);
extern void RTDX_disableOutput	( RTDX_output_channel *ochan);
extern void RTDX_enableInput	( RTDX_input_channel  *ichan);
extern void RTDX_disableInput	( RTDX_input_channel  *ichan);

/* For DSPBios 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

/* To convert function calls to macros where possible	*/
#define RTDX_enableOutput(c)		( (c)->enabled = RTDX_CHAN_ENABLED )

/* CDM 10/22 */
/* This macro did not initialize the busy state, use the underlying function instead */
/* #define RTDX_enableInput(c)			( (c)->enabled = RTDX_CHAN_ENABLED ) */
#define RTDX_disableOutput(c)		( (c)->enabled = 0 )
#define RTDX_disableInput(c)		( (c)->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一区二区三区免费野_久草精品视频
亚洲人精品一区| 成人午夜精品一区二区三区| 国产一区美女在线| 91福利在线免费观看| 久久精品视频在线看| 人妖欧美一区二区| 在线免费观看一区| 中文字幕在线观看一区二区| 国产麻豆精品一区二区| 制服丝袜亚洲精品中文字幕| 亚洲激情在线激情| av爱爱亚洲一区| 久久毛片高清国产| 精品一区二区三区免费播放| 欧美日本在线播放| 亚洲中国最大av网站| 91丨porny丨在线| 中文字幕精品在线不卡| 国产乱对白刺激视频不卡| 欧美一区二区高清| 青青青伊人色综合久久| 欧美丰满一区二区免费视频| 亚洲一卡二卡三卡四卡无卡久久| 91丨porny丨国产入口| 亚洲天堂免费在线观看视频| jizzjizzjizz欧美| 国产精品不卡在线观看| 成人a区在线观看| 国产精品久久久久9999吃药| 成人avav影音| 亚洲日本一区二区| 一本久久精品一区二区| 中文字幕av一区 二区| 成人激情黄色小说| 中文字幕精品一区二区精品绿巨人| 成人亚洲精品久久久久软件| 国产欧美一区在线| 99久久国产综合色|国产精品| 中文字幕一区二区三区在线不卡| 色哟哟国产精品免费观看| 亚洲精选在线视频| 69av一区二区三区| 开心九九激情九九欧美日韩精美视频电影 | 国产精品蜜臀av| 不卡欧美aaaaa| 亚洲激情一二三区| 91精品国产综合久久久久久| 国内外成人在线视频| 国产日韩视频一区二区三区| 97久久精品人人做人人爽50路| 亚洲黄一区二区三区| 在线电影欧美成精品| 国产自产视频一区二区三区| 国产精品无人区| 欧美亚洲禁片免费| 精彩视频一区二区三区| 亚洲视频一二三| 9191久久久久久久久久久| 国产精品伊人色| 一区二区三区在线影院| 日韩精品影音先锋| 91在线观看视频| 麻豆精品在线播放| 亚洲美女偷拍久久| 日韩亚洲欧美中文三级| 99久久精品免费精品国产| 午夜精品久久久久久| 国产欧美一区二区精品仙草咪| 一本大道av伊人久久综合| 九九久久精品视频 | 国产欧美日韩在线视频| 欧美性生活大片视频| 国产精品1024| 视频一区二区国产| 国产精品美女视频| 日韩欧美黄色影院| 欧美性受xxxx| jlzzjlzz亚洲日本少妇| 精品一区二区三区免费播放| 亚洲午夜三级在线| 国产精品久久久久久久久果冻传媒| 欧美精品日韩精品| 日本韩国一区二区三区视频| 国产一区二区中文字幕| 丝瓜av网站精品一区二区| 亚洲品质自拍视频网站| 国产欧美一区二区三区网站| 欧美肥妇bbw| 欧美午夜电影网| 91丨porny丨中文| 成人av午夜电影| 国产永久精品大片wwwapp| 免费观看日韩电影| 婷婷一区二区三区| 一区二区三区国产| 亚洲你懂的在线视频| 国产精品久久久久久久久晋中 | 不卡一卡二卡三乱码免费网站| 喷水一区二区三区| 午夜亚洲国产au精品一区二区| 亚洲欧美另类久久久精品| 国产精品乱子久久久久| 国产女同互慰高潮91漫画| 精品三级在线看| 欧美不卡视频一区| 日韩免费一区二区三区在线播放| 欧美精品久久99| 欧美欧美欧美欧美首页| 欧美日韩国产另类一区| 欧美日韩亚洲综合在线 | 一本色道综合亚洲| 91免费小视频| 99精品视频在线观看| 97久久精品人人爽人人爽蜜臀| 成人高清免费观看| 91小视频免费看| 欧洲精品中文字幕| 欧美电影影音先锋| 日韩视频永久免费| 久久综合狠狠综合| 欧美高清一级片在线观看| 成人欧美一区二区三区| 亚洲女人小视频在线观看| 亚洲电影在线播放| 美国av一区二区| 国产九色精品成人porny| 成人一级片在线观看| 色婷婷综合中文久久一本| 91国偷自产一区二区使用方法| 欧美色精品在线视频| 在线电影国产精品| 久久久久久久久久美女| 国产精品初高中害羞小美女文| 一区二区三区四区高清精品免费观看| 一区二区国产盗摄色噜噜| 午夜精品久久久久久久99樱桃| 久久99久久99精品免视看婷婷| 国产白丝精品91爽爽久久| 97久久人人超碰| 欧美一区二区在线视频| 国产无人区一区二区三区| 亚洲猫色日本管| 蜜臀av一区二区| 91原创在线视频| 欧美一区二区三区性视频| 欧美国产日本韩| 婷婷久久综合九色综合绿巨人| 国内精品免费**视频| 91视视频在线观看入口直接观看www | 波多野结衣亚洲| 欧美日韩亚洲综合| 国产精品丝袜黑色高跟| 亚洲h精品动漫在线观看| 国产在线精品国自产拍免费| 91麻豆自制传媒国产之光| 欧美tickle裸体挠脚心vk| 亚洲男帅同性gay1069| 激情综合网最新| 欧美三级日韩在线| 欧美韩国日本一区| 午夜电影网一区| 99精品欧美一区二区三区综合在线| 欧美日韩大陆一区二区| 国产精品系列在线| 美女任你摸久久| 91黄色小视频| 欧美极品aⅴ影院| 琪琪久久久久日韩精品| 91丨porny丨户外露出| 久久久久久久久久久久久久久99 | 久久一区二区三区四区| 香蕉成人啪国产精品视频综合网 | 国产suv精品一区二区6| 69成人精品免费视频| 一区二区三区影院| 国产成人日日夜夜| 欧美va亚洲va香蕉在线| 三级欧美在线一区| 欧美日韩一区视频| 亚洲激情自拍视频| 色综合夜色一区| 精品免费国产二区三区| 夜夜嗨av一区二区三区 | 国产成人精品免费视频网站| 日韩一区国产二区欧美三区| 一区二区三区欧美久久| 99久久久无码国产精品| 国产精品久久久久毛片软件| 国产精品一区二区视频| 精品av久久707| 激情都市一区二区| 久久综合999| 国产高清不卡一区| 国产精品视频麻豆| 懂色av中文字幕一区二区三区| 久久久国产精品麻豆| 国产99精品视频| 国产精品视频一二| 91天堂素人约啪| 一区二区三区中文字幕电影|