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

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

?? xipif_v1_23_b.h

?? <基于fpga的嵌入式設計上的光盤的第四章第二個實驗
?? 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一区二区三区免费野_久草精品视频
韩国av一区二区| 国产一区二区三区免费在线观看| 91国产免费看| 亚洲国产另类av| 91麻豆精品91久久久久同性| 久久99久久99小草精品免视看| 久久日韩精品一区二区五区| 成人性生交大片免费看视频在线 | 香蕉久久夜色精品国产使用方法| 欧美年轻男男videosbes| 日本sm残虐另类| 久久精子c满五个校花| av影院午夜一区| 亚洲另类在线视频| 91.麻豆视频| 国产一区二区三区综合| 中文字幕一区在线观看| 欧美在线观看视频一区二区| 麻豆91免费看| 中文字幕电影一区| 欧洲日韩一区二区三区| 免费xxxx性欧美18vr| 国产精品午夜久久| 欧美羞羞免费网站| 精品中文av资源站在线观看| 国产精品三级在线观看| 亚洲黄色小视频| 日韩免费一区二区| av不卡免费在线观看| 日韩精品欧美成人高清一区二区| 久久美女艺术照精彩视频福利播放| 白白色 亚洲乱淫| 天天综合日日夜夜精品| 国产偷国产偷亚洲高清人白洁| 91小视频在线免费看| 日韩—二三区免费观看av| 国产三级欧美三级| 欧美视频一区二区| 国产精品一品视频| 亚洲第一综合色| 国产色一区二区| 欧美三级韩国三级日本一级| 国产黑丝在线一区二区三区| 一区二区三区**美女毛片| 精品sm在线观看| 欧美亚洲动漫精品| 丁香婷婷综合五月| 日本在线播放一区二区三区| 国产精品天美传媒沈樵| 51午夜精品国产| av不卡在线播放| 精品一区二区在线观看| 亚洲综合免费观看高清完整版在线 | 在线一区二区视频| 国产成人免费视| 日韩成人免费电影| 色婷婷激情综合| 国产一区久久久| 婷婷中文字幕综合| 国产精品久久久久久久裸模 | 国产精品日产欧美久久久久| 日韩欧美高清一区| 欧美亚洲综合网| 成人av在线网站| 精品一区精品二区高清| 亚洲图片欧美视频| 国产精品久久久久久久久久久免费看| 91精品国产91久久久久久一区二区| 99视频精品免费视频| 精品写真视频在线观看| 视频一区免费在线观看| 亚洲欧美日韩久久精品| 国产日韩三级在线| 精品国产91久久久久久久妲己| 欧美日韩精品系列| 一本色道久久加勒比精品| 成人免费黄色大片| 国产一区二区在线免费观看| 三级一区在线视频先锋| 亚洲精品成人天堂一二三| 欧美极品美女视频| 精品国产成人在线影院| 欧美精品免费视频| 欧美色图片你懂的| 色婷婷国产精品久久包臀| 成人禁用看黄a在线| 国产美女精品一区二区三区| 免费高清在线一区| 偷拍一区二区三区| 亚洲国产毛片aaaaa无费看 | 天堂影院一区二区| 亚洲一二三专区| 亚洲人妖av一区二区| 久久久精品天堂| 欧美白人最猛性xxxxx69交| 717成人午夜免费福利电影| 欧美私人免费视频| 日本丰满少妇一区二区三区| 99麻豆久久久国产精品免费优播| 国产福利91精品一区二区三区| 久久99精品一区二区三区| 六月丁香婷婷色狠狠久久| 男男成人高潮片免费网站| 日韩成人伦理电影在线观看| 日韩精品亚洲一区二区三区免费| 午夜精品福利视频网站| 日韩在线观看一区二区| 丝瓜av网站精品一区二区| 亚洲高清在线视频| 首页综合国产亚洲丝袜| 三级欧美韩日大片在线看| 日韩一区精品字幕| 免费看日韩精品| 美女任你摸久久| 激情综合网天天干| 国产成人在线视频免费播放| 成人永久aaa| 不卡一区二区中文字幕| 成人视屏免费看| 99国产精品一区| 在线看不卡av| 欧美日韩大陆一区二区| 日韩一区二区三区视频| 精品国产免费久久 | 偷拍日韩校园综合在线| 日韩电影一区二区三区四区| 蜜臀av一级做a爰片久久| 韩国成人精品a∨在线观看| 国产成人在线视频网址| 91网站最新网址| 欧美视频第二页| 麻豆91精品视频| 国产一区二区在线观看免费| 国产999精品久久| 91婷婷韩国欧美一区二区| 色999日韩国产欧美一区二区| 欧美日韩免费视频| 日韩一级片在线观看| 国产三级精品三级| 亚洲黄网站在线观看| 免费人成精品欧美精品| 国产精品伊人色| 91在线观看美女| 欧美精品日日鲁夜夜添| 精品国产91洋老外米糕| 国产精品久久二区二区| 亚洲va欧美va人人爽| 久99久精品视频免费观看| 国产suv精品一区二区883| 色视频一区二区| 日韩一级免费观看| 国产欧美视频在线观看| 一区二区免费在线播放| 蜜桃传媒麻豆第一区在线观看| 懂色av一区二区三区蜜臀| 日本精品一区二区三区高清| 日韩午夜在线影院| 国产精品色一区二区三区| 亚洲国产成人91porn| 国产乱人伦偷精品视频不卡 | 国产婷婷色一区二区三区四区| 综合av第一页| 美女免费视频一区| 91色.com| 精品少妇一区二区| 亚洲青青青在线视频| 韩国女主播一区二区三区| 91美女蜜桃在线| 日韩精品一区二区三区蜜臀| 综合色天天鬼久久鬼色| 麻豆91在线观看| 91福利在线看| 久久精品亚洲国产奇米99| 亚洲风情在线资源站| 国产盗摄一区二区| 欧美另类变人与禽xxxxx| 国产精品丝袜一区| 蜜桃久久久久久久| 欧洲av一区二区嗯嗯嗯啊| 国产无遮挡一区二区三区毛片日本| 亚洲国产日韩一级| 中文字幕精品一区二区精品绿巨人| 亚洲一卡二卡三卡四卡无卡久久 | 中文字幕在线不卡视频| 久久国产视频网| 欧洲亚洲国产日韩| 国产精品嫩草99a| 麻豆精品国产91久久久久久| 日本久久一区二区| 国产精品视频看| 精品一区免费av| 欧美一区二区三区四区久久| 亚洲欧美乱综合| 国产91精品一区二区麻豆网站| 欧美一级在线视频| 亚洲午夜电影在线| voyeur盗摄精品| 国产三级精品三级| 黄色日韩三级电影| 欧美一级生活片|