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

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

?? xio.h

?? <基于fpga的嵌入式設計上的光盤的第四章第二個實驗
?? H
字號:
/* $Id: xio.h,v 1.3 2007/01/11 04:52:25 svemula Exp $ *//********************************************************************************       XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS"*       AS A COURTESY TO YOU, SOLELY FOR USE IN DEVELOPING PROGRAMS AND*       SOLUTIONS FOR XILINX DEVICES.  BY PROVIDING THIS DESIGN, CODE,*       OR INFORMATION AS ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE,*       APPLICATION OR STANDARD, XILINX IS MAKING NO REPRESENTATION*       THAT THIS IMPLEMENTATION IS FREE FROM ANY CLAIMS OF INFRINGEMENT,*       AND YOU ARE RESPONSIBLE FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE*       FOR YOUR IMPLEMENTATION.  XILINX EXPRESSLY DISCLAIMS ANY*       WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE*       IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR*       REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF*       INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS*       FOR A PARTICULAR PURPOSE.**       (c) Copyright 2002-2003 Xilinx Inc.*       All rights reserved.*******************************************************************************//*****************************************************************************//**** @file xio.h** This file contains the interface for the XIo component, which encapsulates* the Input/Output functions for processors that do not require any special* I/O handling.** <pre>* MODIFICATION HISTORY:** Ver   Who  Date     Changes* ----- ---- -------- -------------------------------------------------------* 1.00a rpm  11/07/03 Added InSwap/OutSwap routines for endian conversion* 1.00a xd   11/04/04 Improved support for doxygen* 1.01a ecm  02/24/06 CR225908 corrected the extra curly braces in macros *                     and bumped version to 1.01.a.** </pre>** @note** This file may contain architecture-dependent items (memory-mapped or* non-memory-mapped I/O).*******************************************************************************/#ifndef XIO_H           /* prevent circular inclusions */#define XIO_H           /* by using protection macros */#ifdef __cplusplusextern "C" {#endif/***************************** Include Files *********************************/#include "xbasic_types.h"/************************** Constant Definitions *****************************//**************************** Type Definitions *******************************//** * Typedef for an I/O address.  Typically correlates to the width of the * address bus. */typedef Xuint32 XIo_Address;/***************** Macros (Inline Functions) Definitions *********************//* * The following macros allow optimized I/O operations for memory mapped I/O. * It should be noted that macros cannot be used if synchronization of the I/O * operation is needed as it will likely break some code. *//*****************************************************************************//**** Performs an input operation for an 8-bit memory location by reading from the* specified address and returning the value read from that address.** @param    InputPtr contains the address to perform the input operation at.** @return   The value read from the specified input address.*******************************************************************************/#define XIo_In8(InputPtr)  (*(volatile Xuint8  *)(InputPtr))/*****************************************************************************//**** Performs an input operation for a 16-bit memory location by reading from the* specified address and returning the value read from that address.** @param    InputPtr contains the address to perform the input operation at.** @return   The value read from the specified input address.*******************************************************************************/#define XIo_In16(InputPtr) (*(volatile Xuint16 *)(InputPtr))/*****************************************************************************//**** Performs an input operation for a 32-bit memory location by reading from the* specified address and returning the value read from that address.** @param    InputPtr contains the address to perform the input operation at.** @return   The value read from the specified input address.*******************************************************************************/#define XIo_In32(InputPtr)  (*(volatile Xuint32 *)(InputPtr))/*****************************************************************************//**** Performs an output operation for an 8-bit memory location by writing the* specified value to the the specified address.** @param    OutputPtr contains the address to perform the output operation at.* @param    Value contains the value to be output at the specified address.** @return   None.*******************************************************************************/#define XIo_Out8(OutputPtr, Value)  \    (*(volatile Xuint8  *)((OutputPtr)) = (Value))/*****************************************************************************//**** Performs an output operation for a 16-bit memory location by writing the* specified value to the the specified address.** @param    OutputPtr contains the address to perform the output operation at.* @param    Value contains the value to be output at the specified address.** @return   None.*******************************************************************************/#define XIo_Out16(OutputPtr, Value) \    (*(volatile Xuint16 *)((OutputPtr)) = (Value))/*****************************************************************************//**** Performs an output operation for a 32-bit memory location by writing the* specified value to the the specified address.** @param    OutputPtr contains the address to perform the output operation at.* @param    Value contains the value to be output at the specified address.** @return   None.*******************************************************************************/#define XIo_Out32(OutputPtr, Value) \    (*(volatile Xuint32 *)((OutputPtr)) = (Value))/* The following macros allow the software to be transportable across * processors which use big or little endian memory models. * * Defined first is a no-op endian conversion macro. This macro is not to * be used directly by software. Instead, the XIo_To/FromLittleEndianXX and * XIo_To/FromBigEndianXX macros below are to be used to allow the endian * conversion to only be performed when necessary */#define XIo_EndianNoop(Source, Destination)    (*DestPtr = Source)#ifdef XLITTLE_ENDIAN#define XIo_ToLittleEndian16                XIo_EndianNoop#define XIo_ToLittleEndian32                XIo_EndianNoop#define XIo_FromLittleEndian16              XIo_EndianNoop#define XIo_FromLittleEndian32              XIo_EndianNoop#define XIo_ToBigEndian16(Source, DestPtr)  XIo_EndianSwap16(Source, DestPtr)#define XIo_ToBigEndian32(Source, DestPtr)  XIo_EndianSwap32(Source, DestPtr)#define XIo_FromBigEndian16                 XIo_ToBigEndian16#define XIo_FromBigEndian32                 XIo_ToBigEndian32#else#define XIo_ToLittleEndian16(Source, DestPtr) XIo_EndianSwap16(Source, DestPtr)#define XIo_ToLittleEndian32(Source, DestPtr) XIo_EndianSwap32(Source, DestPtr)#define XIo_FromLittleEndian16                XIo_ToLittleEndian16#define XIo_FromLittleEndian32                XIo_ToLittleEndian32#define XIo_ToBigEndian16                     XIo_EndianNoop#define XIo_ToBigEndian32                     XIo_EndianNoop#define XIo_FromBigEndian16                   XIo_EndianNoop#define XIo_FromBigEndian32                   XIo_EndianNoop#endif/************************** Function Prototypes ******************************//* The following functions allow the software to be transportable across * processors which use big or little endian memory models. These functions * should not be directly called, but the macros XIo_To/FromLittleEndianXX and * XIo_To/FromBigEndianXX should be used to allow the endian conversion to only * be performed when necessary. */void XIo_EndianSwap16(Xuint16 Source, Xuint16* DestPtr);void XIo_EndianSwap32(Xuint32 Source, Xuint32* DestPtr);/* The following functions handle IO addresses where data must be swapped * They cannot be implemented as macros */Xuint16 XIo_InSwap16(XIo_Address InAddress);Xuint32 XIo_InSwap32(XIo_Address InAddress);void XIo_OutSwap16(XIo_Address OutAddress, Xuint16 Value);void XIo_OutSwap32(XIo_Address OutAddress, Xuint32 Value);#ifdef __cplusplus}#endif#endif          /* end of protection macro */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产婷婷一区二区| 亚洲欧美区自拍先锋| 国产精品天美传媒| 亚洲电影一区二区三区| 国产精品77777| 欧美精品乱码久久久久久按摩 | 国产麻豆91精品| 91麻豆免费在线观看| 久久久久国产成人精品亚洲午夜| 亚洲444eee在线观看| 99精品在线观看视频| 久久午夜色播影院免费高清| 日韩国产欧美在线观看| 欧美午夜精品一区| 亚洲天天做日日做天天谢日日欢| 捆绑调教一区二区三区| 99vv1com这只有精品| 日韩欧美一级二级三级久久久| 亚洲猫色日本管| 成+人+亚洲+综合天堂| 久久精品视频在线看| 极品少妇xxxx精品少妇| 欧美一区午夜视频在线观看| 亚洲一区影音先锋| 欧美在线小视频| 亚洲欧洲综合另类| 色天使久久综合网天天| 亚洲欧美在线观看| 99国产一区二区三精品乱码| 国产精品美女久久久久久久久| 国产sm精品调教视频网站| 久久午夜电影网| 成人晚上爱看视频| 欧美高清在线一区| 国产一区二区三区免费看 | 蜜桃视频一区二区三区 | 色香蕉成人二区免费| 亚洲天堂成人在线观看| 97久久人人超碰| 亚洲人妖av一区二区| 欧美系列亚洲系列| 日本女人一区二区三区| 久久综合精品国产一区二区三区| 国产乱淫av一区二区三区 | 成人免费视频免费观看| 国产清纯美女被跳蛋高潮一区二区久久w| 黑人巨大精品欧美一区| 久久女同性恋中文字幕| 波波电影院一区二区三区| 亚洲免费看黄网站| 91精品中文字幕一区二区三区| 免费观看在线综合| 久久精品欧美日韩| 日本福利一区二区| 人妖欧美一区二区| 国产日韩欧美麻豆| 欧美三电影在线| 黄网站免费久久| 日韩美女久久久| 欧美一区二区在线播放| 国产高清不卡一区| 亚洲国产aⅴ天堂久久| 日韩精品中文字幕一区 | 97se狠狠狠综合亚洲狠狠| 亚洲午夜激情网页| 久久精品一区二区| www.亚洲国产| 日韩精彩视频在线观看| 日韩精品一区二区三区中文精品| 国产在线视频一区二区三区| 国产精品电影一区二区| 一道本成人在线| 日韩精品一二三| 欧美激情在线一区二区三区| 在线视频综合导航| 免费一级欧美片在线观看| 国产欧美一区二区精品性色| 色婷婷一区二区| 日产欧产美韩系列久久99| 国产欧美综合色| 欧美四级电影网| 国产综合久久久久久鬼色 | 久久久久久久综合狠狠综合| 国产suv精品一区二区三区| 一区二区在线观看视频| 日韩亚洲欧美综合| 99国产欧美另类久久久精品 | 91国偷自产一区二区三区观看 | 日韩欧美亚洲国产另类| 99国产精品视频免费观看| 奇米影视一区二区三区小说| 国产日韩欧美一区二区三区乱码| 欧美这里有精品| 丰满亚洲少妇av| 国产在线观看一区二区| 一区二区三区成人| 欧美va天堂va视频va在线| 色综合欧美在线视频区| 国产剧情一区二区三区| 午夜日韩在线观看| 最新日韩在线视频| 国产亚洲欧洲一区高清在线观看| 欧美日韩视频不卡| 91网站在线观看视频| 风间由美一区二区三区在线观看 | 91麻豆精品国产综合久久久久久| 色综合久久久久| 成人激情校园春色| 国产乱码精品一品二品| 日本美女一区二区| 蜜桃av一区二区三区| 亚洲二区在线观看| 香蕉加勒比综合久久| 亚洲一区二区三区影院| 亚洲国产视频直播| 亚洲一区二区欧美激情| 亚洲成人免费在线| 亚洲午夜一区二区| 五月天丁香久久| 日韩电影在线免费看| 日韩电影在线免费观看| 捆绑紧缚一区二区三区视频 | 国产清纯白嫩初高生在线观看91 | 97se亚洲国产综合自在线| 波多野结衣精品在线| 91美女在线视频| 欧美在线影院一区二区| 欧美日韩免费电影| 884aa四虎影成人精品一区| 欧美美女直播网站| 精品国产伦一区二区三区观看体验 | 91在线视频官网| 在线中文字幕不卡| 欧美精品 日韩| 欧美r级电影在线观看| 国产女主播在线一区二区| 久久综合狠狠综合| 亚洲人吸女人奶水| 日本欧美一区二区三区乱码| 国产精品一区二区三区网站| 成人性生交大片免费看中文网站| 色综合久久中文综合久久97| 欧美视频在线不卡| 26uuuu精品一区二区| 中文字幕不卡三区| 性做久久久久久久久| 国产美女娇喘av呻吟久久| 99国产精品久| 精品奇米国产一区二区三区| 亚洲男人的天堂一区二区| 午夜国产精品一区| 成人精品免费看| 4438x成人网最大色成网站| 国产调教视频一区| 亚洲国产精品久久不卡毛片| 国产在线播放一区二区三区| 欧美最猛黑人xxxxx猛交| 久久久久久久久久看片| 婷婷国产v国产偷v亚洲高清| 大桥未久av一区二区三区中文| 欧美日韩国产123区| 欧美激情一区二区三区| 美美哒免费高清在线观看视频一区二区 | 日韩国产精品大片| av一区二区三区| wwwwww.欧美系列| 亚欧色一区w666天堂| a级精品国产片在线观看| 欧美成人国产一区二区| 亚洲一区中文在线| 99久久精品国产毛片| 久久综合久久99| 日韩成人一级片| 色久优优欧美色久优优| 精品成人a区在线观看| 亚洲国产精品久久久男人的天堂| 91玉足脚交白嫩脚丫在线播放| 国产清纯美女被跳蛋高潮一区二区久久w| 午夜精品久久一牛影视| 欧美在线观看一区二区| 亚洲人精品午夜| 波多野结衣一区二区三区| 国产日韩欧美a| 国产乱码精品一区二区三区av| 日韩一区二区三区三四区视频在线观看 | 亚洲欧美一区二区不卡| 丁香激情综合五月| 久久久精品黄色| 精品一区二区在线免费观看| 欧美电影一区二区三区| 五月婷婷综合网| 欧美色图天堂网| 亚洲成人激情av| 欧美日韩国产首页在线观看| 一区二区三区欧美日| 色综合久久久久综合体| 亚洲一区二区三区四区的| 在线影视一区二区三区| 亚洲综合另类小说| 欧美男女性生活在线直播观看|