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

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

?? xipif_v1_23_b.h

?? 關于xilinx大學計劃配需教程實驗五源代碼
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* $Id: xipif_v1_23_b.h,v 1.5 2005/09/26 16:04:52 trujillo 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-2004 Xilinx Inc.*       All rights reserved.*******************************************************************************//*****************************************************************************//**** @file xipif_v1_23_b.h** The XIpIf component encapsulates the IPIF, which is the standard interface* that IP must adhere to when connecting to a bus.  The purpose of this* component is to encapsulate the IPIF processing such that maintainability* is increased.  This component does not provide a lot of abstraction from* from the details of the IPIF as it is considered a building block for* device drivers.  A device driver designer must be familiar with the* details of the IPIF hardware to use this component.** The IPIF hardware provides a building block for all hardware devices such* that each device does not need to reimplement these building blocks. The* IPIF contains other building blocks, such as FIFOs and DMA channels, which* are also common to many devices.  These blocks are implemented as separate* hardware blocks and instantiated within the IPIF.  The primary hardware of* the IPIF which is implemented by this software component is the interrupt* architecture.  Since there are many blocks of a device which may generate* interrupts, all the interrupt processing is contained in the common part* of the device, the IPIF.  This interrupt processing is for the device level* only and does not include any processing for the interrupt controller.** A device is a mechanism such as an Ethernet MAC.  The device is made* up of several parts which include an IPIF and the IP.  The IPIF contains most* of the device infrastructure which is common to all devices, such as* interrupt processing, DMA channels, and FIFOs.  The infrastructure may also* be referred to as IPIF internal blocks since they are part of the IPIF and* are separate blocks that can be selected based upon the needs of the device.* The IP of the device is the logic that is unique to the device and interfaces* to the IPIF of the device.** In general, there are two levels of registers within the IPIF.  The first* level, referred to as the device level, contains registers which are for the* entire device.  The second level, referred to as the IP level, contains* registers which are specific to the IP of the device.  The two levels of* registers are designed to be hierarchical such that the device level is* is a more general register set above the more specific registers of the IP.* The IP level of registers provides functionality which is typically common* across all devices and allows IP designers to focus on the unique aspects* of the IP.** <b>Critical Sections</b>** It is the responsibility of the device driver designer to use critical* sections as necessary when calling functions of the IPIF.  This component* does not use critical sections and it does access registers using* read-modify-write operations.  Calls to IPIF functions from a main thread* and from an interrupt context could produce unpredictable behavior such that* the caller must provide the appropriate critical sections.** <b>Mutual Exclusion</b>** The functions of the IPIF are not thread safe such that the caller of all* functions is responsible for ensuring mutual exclusion for an IPIF.  Mutual* exclusion across multiple IPIF components is not necessary.** <pre>* MODIFICATION HISTORY:** Ver   Who  Date     Changes* ----- ---- -------- ---------------------------------------------------------* 1.23b jhl  02/27/01 Repartioned to minimize size* 1.23b rpm  07/16/04 Changed ifdef for circular inclusion to be more qualified* 1.23b rpm  08/17/04 Doxygenated for inclusion of API documentation* 1.23b xd   10/27/04 Improve Doxygen format* </pre>*******************************************************************************/#ifndef XIPIF_V123B_H /* prevent circular inclusions */#define XIPIF_V123B_H /* by using protection macros */#ifdef __cplusplusextern "C" {#endif/***************************** Include Files *********************************/#include "xbasic_types.h"#include "xstatus.h"#include "xversion.h"/************************** Constant Definitions *****************************//** @name Register Offsets * * The following constants define the register offsets for the registers of the * IPIF, there are some holes in the memory map for reserved addresses to allow * other registers to be added and still match the memory map of the interrupt * controller registers * @{ */#define XIIF_V123B_DISR_OFFSET     0UL  /**< device interrupt status register */#define XIIF_V123B_DIPR_OFFSET     4UL  /**< device interrupt pending register */#define XIIF_V123B_DIER_OFFSET     8UL  /**< device interrupt enable register */#define XIIF_V123B_DIIR_OFFSET     24UL /**< device interrupt ID register */#define XIIF_V123B_DGIER_OFFSET    28UL /**< device global interrupt enable register */#define XIIF_V123B_IISR_OFFSET     32UL /**< IP interrupt status register */#define XIIF_V123B_IIER_OFFSET     40UL /**< IP interrupt enable register */#define XIIF_V123B_RESETR_OFFSET   64UL /**< reset register *//* @} *//** * The value used for the reset register to reset the IPIF */#define XIIF_V123B_RESET_MASK             0xAUL/** * The following constant is used for the device global interrupt enable * register, to enable all interrupts for the device, this is the only bit * in the register */#define XIIF_V123B_GINTR_ENABLE_MASK      0x80000000UL/** * The mask to identify each internal IPIF error condition in the device * registers of the IPIF. Interrupts are assigned in the register from LSB * to the MSB */#define XIIF_V123B_ERROR_MASK             1UL     /**< LSB of the register *//** @name Interrupt IDs * * The interrupt IDs which identify each internal IPIF condition, this value * must correlate with the mask constant for the error * @{ */#define XIIF_V123B_ERROR_INTERRUPT_ID     0    /**< interrupt bit #, (LSB = 0) */#define XIIF_V123B_NO_INTERRUPT_ID        128  /**< no interrupts are pending *//* @} *//**************************** Type Definitions *******************************//***************** Macros (Inline Functions) Definitions *********************//*****************************************************************************//**** Reset the IPIF component and hardware.  This is a destructive operation that* could cause the loss of data since resetting the IPIF of a device also* resets the device using the IPIF and any blocks, such as FIFOs or DMA* channels, within the IPIF.  All registers of the IPIF will contain their* reset value when this function returns.** @param RegBaseAddress contains the base address of the IPIF registers.** @return   None** @note     None*******************************************************************************/#define XIIF_V123B_RESET(RegBaseAddress) \    XIo_Out32(RegBaseAddress + XIIF_V123B_RESETR_OFFSET, XIIF_V123B_RESET_MASK)/*****************************************************************************//**** This macro sets the device interrupt status register to the value.* This register indicates the status of interrupt sources for a device* which contains the IPIF.  The status is independent of whether interrupts* are enabled and could be used for polling a device at a higher level rather* than a more detailed level.** Each bit of the register correlates to a specific interrupt source within the* device which contains the IPIF.  With the exception of some internal IPIF* conditions, the contents of this register are not latched but indicate* the live status of the interrupt sources within the device.  Writing any of* the non-latched bits of the register will have no effect on the register.** For the latched bits of this register only, setting a bit which is zero* within this register causes an interrupt to generated.  The device global* interrupt enable register and the device interrupt enable register must be set* appropriately to allow an interrupt to be passed out of the device. The* interrupt is cleared by writing to this register with the bits to be* cleared set to a one and all others to zero.  This register implements a* toggle on write functionality meaning any bits which are set in the value* written cause the bits in the register to change to the opposite state.** This function writes the specified value to the register such that* some bits may be set and others cleared.  It is the caller's responsibility* to get the value of the register prior to setting the value to prevent a* destructive behavior.** @param RegBaseAddress contains the base address of the IPIF registers.** @param Status contains the value to be written to the interrupt status*        register of the device.  The only bits which can be written are*        the latched bits which contain the internal IPIF conditions.  The*        following values may be used to set the status register or clear an*        interrupt condition.*        - XIIF_V123B_ERROR_MASK     Indicates a device error in the IPIF** @return   None.** @note     None.*******************************************************************************/#define XIIF_V123B_WRITE_DISR(RegBaseAddress, Status) \    XIo_Out32((RegBaseAddress) + XIIF_V123B_DISR_OFFSET, (Status))/*****************************************************************************//**** This macro gets the device interrupt status register contents.* This register indicates the status of interrupt sources for a device* which contains the IPIF.  The status is independent of whether interrupts* are enabled and could be used for polling a device at a higher level.** Each bit of the register correlates to a specific interrupt source within the* device which contains the IPIF.  With the exception of some internal IPIF* conditions, the contents of this register are not latched but indicate* the live status of the interrupt sources within the device.** For only the latched bits of this register, the interrupt may be cleared by* writing to these bits in the status register.** @param    RegBaseAddress contains the base address of the IPIF registers.** @return** A status which contains the value read from the interrupt status register of* the device. The bit definitions are specific to the device with* the exception of the latched internal IPIF condition bits. The following* values may be used to detect internal IPIF conditions in the status.* <br><br>* - XIIF_V123B_ERROR_MASK     Indicates a device error in the IPIF** @note** None.*******************************************************************************/#define XIIF_V123B_READ_DISR(RegBaseAddress) \    XIo_In32((RegBaseAddress) + XIIF_V123B_DISR_OFFSET)/*****************************************************************************//**** This function sets the device interrupt enable register contents.* This register controls which interrupt sources of the device are allowed to* generate an interrupt.  The device global interrupt enable register must also* be set appropriately for an interrupt to be passed out of the device.** Each bit of the register correlates to a specific interrupt source within the* device which contains the IPIF.  Setting a bit in this register enables that* interrupt source to generate an interrupt.  Clearing a bit in this register* disables interrupt generation for that interrupt source.** This function writes only the specified value to the register such that* some interrupts source may be enabled and others disabled.  It is the* caller's responsibility to get the value of the interrupt enable register* prior to setting the value to prevent an destructive behavior.** An interrupt source may not be enabled to generate an interrupt, but can* still be polled in the interrupt status register.** @param    RegBaseAddress contains the base address of the IPIF registers.** @param** Enable contains the value to be written to the interrupt enable register* of the device.  The bit definitions are specific to the device with* the exception of the internal IPIF conditions. The following* values may be used to enable the internal IPIF conditions interrupts.*   - XIIF_V123B_ERROR_MASK     Indicates a device error in the IPIF** @return** None.** @note** Signature: Xuint32 XIIF_V123B_WRITE_DIER(Xuint32 RegBaseAddress,*                                          Xuint32 Enable)*******************************************************************************/#define XIIF_V123B_WRITE_DIER(RegBaseAddress, Enable) \    XIo_Out32((RegBaseAddress) + XIIF_V123B_DIER_OFFSET, (Enable))/*****************************************************************************//**** This function gets the device interrupt enable register contents.* This register controls which interrupt sources of the device* are allowed to generate an interrupt.  The device global interrupt enable* register and the device interrupt enable register must also be set* appropriately for an interrupt to be passed out of the device.** Each bit of the register correlates to a specific interrupt source within the* device which contains the IPIF.  Setting a bit in this register enables that* interrupt source to generate an interrupt if the global enable is set* appropriately.  Clearing a bit in this register disables interrupt generation* for that interrupt source regardless of the global interrupt enable.** @param    RegBaseAddress contains the base address of the IPIF registers.** @return** The value read from the interrupt enable register of the device.  The bit* definitions are specific to the device with the exception of the internal* IPIF conditions. The following values may be used to determine from the* value if the internal IPIF conditions interrupts are enabled.* <br><br>* - XIIF_V123B_ERROR_MASK     Indicates a device error in the IPIF

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区**美女毛片| 精品国产精品一区二区夜夜嗨| 色偷偷久久一区二区三区| 91麻豆精品久久久久蜜臀| 国产精品美女www爽爽爽| 日本亚洲天堂网| 色悠悠亚洲一区二区| 国产亚洲欧美一级| 免费看精品久久片| 在线观看免费亚洲| 亚洲女人的天堂| 国产精品99久| 精品久久人人做人人爱| 天堂资源在线中文精品| 91丝袜呻吟高潮美腿白嫩在线观看| 日韩欧美在线1卡| 亚洲国产综合视频在线观看| 成人av午夜电影| 久久综合九色综合97婷婷 | 欧美日韩视频专区在线播放| 国产女同性恋一区二区| 久久99精品一区二区三区三区| 欧美网站大全在线观看| 夜夜爽夜夜爽精品视频| 99精品桃花视频在线观看| 国产视频在线观看一区二区三区| 久久国产婷婷国产香蕉| 7777精品伊人久久久大香线蕉经典版下载 | 一本大道av一区二区在线播放| 国产日韩欧美一区二区三区综合| 麻豆精品视频在线观看| 日韩午夜精品电影| 日韩av电影天堂| 在线综合视频播放| 麻豆精品在线看| 精品对白一区国产伦| 国内久久精品视频| 欧美精品一区二区不卡| 国产精品夜夜嗨| 日本一区二区三区四区| 成人黄色在线网站| 亚洲欧美视频一区| 在线视频国内自拍亚洲视频| 亚洲国产综合在线| 91精品国产免费| 韩国三级在线一区| 国产精品乱人伦| 大美女一区二区三区| 中文字幕中文字幕在线一区| 99综合影院在线| 亚洲一级二级三级| 91麻豆精品国产91久久久久久久久 | 亚洲女女做受ⅹxx高潮| 欧美日韩精品免费| 久久99精品网久久| 亚洲欧洲一区二区在线播放| 日本高清视频一区二区| 日韩av网站免费在线| 国产婷婷色一区二区三区四区| 99视频精品在线| 天天色图综合网| 欧美精品一区二区三区高清aⅴ| 国产99久久久国产精品免费看| 国产精品福利一区| 欧美日韩成人在线一区| 国产精品性做久久久久久| 亚洲精品v日韩精品| 欧美一区二区黄| av亚洲精华国产精华精华| 亚洲成人一二三| 国产喷白浆一区二区三区| 色婷婷久久综合| 激情另类小说区图片区视频区| 亚洲视频一二区| 日韩你懂的电影在线观看| 91同城在线观看| 麻豆精品在线观看| 一区二区三区日韩精品视频| 久久久久久免费| 欧美日韩日日骚| 成人一区二区三区视频在线观看 | 中文字幕 久热精品 视频在线| 日本二三区不卡| 国产精品羞羞答答xxdd| 日韩在线a电影| 1区2区3区精品视频| 26uuu色噜噜精品一区| 欧美日韩在线亚洲一区蜜芽| 粉嫩av一区二区三区粉嫩| 日韩**一区毛片| 亚洲第一精品在线| 怡红院av一区二区三区| 亚洲人成在线观看一区二区| 精品日韩成人av| 欧美日韩国产首页在线观看| 91在线一区二区三区| 国产成人免费视频精品含羞草妖精 | 经典三级一区二区| 日韩黄色免费网站| 亚洲国产综合91精品麻豆| 综合久久国产九一剧情麻豆| 久久婷婷综合激情| 日韩女优av电影| 日韩一二在线观看| 91精品国产欧美一区二区成人| 在线观看亚洲专区| 色婷婷综合久久久中文一区二区| 不卡一二三区首页| 成人午夜免费电影| 国产成人午夜视频| 国产精品自拍毛片| 国产在线精品视频| 裸体一区二区三区| 另类综合日韩欧美亚洲| 日产国产欧美视频一区精品| 亚洲第一福利一区| 午夜视频在线观看一区二区三区| 亚洲国产日韩a在线播放性色| 亚洲在线免费播放| 午夜精品在线视频一区| 午夜精品福利在线| 蜜臀精品一区二区三区在线观看 | 国产成人午夜精品5599| 国产精品一区二区视频| 国产成人av影院| 91亚洲国产成人精品一区二区三| 欧美三级三级三级| 91精品国产乱码| 精品国产免费一区二区三区四区| 精品久久一区二区三区| 久久精品视频在线看| 国产精品不卡一区| 亚洲一二三专区| 九九精品一区二区| 成人永久看片免费视频天堂| 成人av动漫网站| 在线观看网站黄不卡| 日韩三级中文字幕| 久久久久九九视频| 一区二区三区在线免费视频| 亚洲成人动漫在线免费观看| 久久国产精品99久久人人澡| 国产精品中文字幕日韩精品| 91在线观看下载| 欧美一级欧美三级| 国产精品免费视频网站| 亚洲成人精品一区| 国产真实乱偷精品视频免| 91啪在线观看| 欧美一区午夜精品| 国产精品美女久久久久久2018| 亚洲风情在线资源站| 久久黄色级2电影| 一本高清dvd不卡在线观看| 欧美一区二区三区四区久久| 国产欧美视频在线观看| 丝袜亚洲另类丝袜在线| 国产成人精品www牛牛影视| 欧美日韩www| 中文字幕一区二区在线观看| 五月综合激情婷婷六月色窝| 粉嫩久久99精品久久久久久夜| 欧美日韩精品电影| 国产精品久久久久影院| 亚洲大片精品永久免费| 成人av先锋影音| 欧美精品一区二区在线播放 | 日韩中文字幕区一区有砖一区| 国产精品一级片| 91精品国产黑色紧身裤美女| 国产精品麻豆久久久| 激情综合色播激情啊| 欧美精品777| 一区二区在线看| 丁香五精品蜜臀久久久久99网站| 精品久久久久久久久久久久久久久 | 国产欧美中文在线| 老司机精品视频导航| 在线观看视频一区二区| 国产精品国产三级国产a | 精品国产一二三区| 亚洲一区二区免费视频| 99精品桃花视频在线观看| 国产午夜精品在线观看| 蜜臀va亚洲va欧美va天堂 | 亚洲综合色自拍一区| 成人av在线电影| 国产三级欧美三级日产三级99 | 亚洲一区电影777| 不卡一二三区首页| 国产精品欧美久久久久一区二区 | 日本高清不卡在线观看| 中文字幕中文字幕在线一区| 成人免费三级在线| 欧美国产成人在线| 国产在线精品一区在线观看麻豆| 欧美va在线播放| 久久精品国产一区二区三区免费看 | 久久亚洲精品国产精品紫薇| 精品伊人久久久久7777人|