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

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

?? xipif_v1_23_b.h

?? 關于xilinx大學計劃培訓教程3的實例代碼
?? 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一区二区三区免费野_久草精品视频
欧美一级专区免费大片| 亚洲精品亚洲人成人网在线播放| 26uuu亚洲综合色欧美| 26uuu国产电影一区二区| 国产精品无圣光一区二区| 国产精品福利一区二区| 亚洲18色成人| 国产毛片精品国产一区二区三区| www.日韩大片| 日韩三级av在线播放| 欧美韩日一区二区三区四区| 午夜电影一区二区三区| 国产精品99久久久久久久女警 | 亚洲在线观看免费视频| 日韩精品91亚洲二区在线观看 | 国产欧美日韩不卡| 午夜激情一区二区| 不卡一区中文字幕| 日韩三级视频中文字幕| 亚洲精品欧美激情| 韩国v欧美v日本v亚洲v| 在线观看日韩电影| 一区精品在线播放| 激情五月激情综合网| 欧美老肥妇做.爰bbww| 国产欧美一区二区三区网站| 五月婷婷色综合| 色婷婷久久久综合中文字幕 | 亚洲日本护士毛茸茸| 美美哒免费高清在线观看视频一区二区 | 日本强好片久久久久久aaa| 韩国理伦片一区二区三区在线播放| 色一区在线观看| 国产精品久久精品日日| 国产激情一区二区三区四区| 91精品中文字幕一区二区三区| 国产精品天干天干在线综合| 久久福利视频一区二区| 欧美一卡2卡3卡4卡| 亚洲精品久久久久久国产精华液| 国产1区2区3区精品美女| 欧美岛国在线观看| 五月婷婷久久丁香| 欧美日韩mp4| 亚洲gay无套男同| 91激情五月电影| 一级精品视频在线观看宜春院 | 中文字幕一区二区三区在线播放 | 国产在线播放一区三区四| 91麻豆精品国产91久久久| 亚洲狠狠爱一区二区三区| 在线精品视频一区二区三四| 亚洲精品国产高清久久伦理二区| 懂色av一区二区夜夜嗨| 久久久91精品国产一区二区三区| 韩国v欧美v亚洲v日本v| 中文字幕免费不卡| 成人a级免费电影| 亚洲激情网站免费观看| 成人黄色综合网站| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 夜夜嗨av一区二区三区| 一本色道**综合亚洲精品蜜桃冫 | 欧美精品一区二区三区蜜桃| 麻豆高清免费国产一区| 精品国产sm最大网站免费看 | 国产精品大尺度| 91亚洲永久精品| 五月婷婷激情综合| 精品国产髙清在线看国产毛片 | 亚洲小说欧美激情另类| 欧美精品高清视频| 精品一区二区在线观看| 国产精品国产三级国产普通话三级| 成人激情视频网站| 亚洲精品免费视频| 久久久电影一区二区三区| 欧美性色黄大片| 国产成人福利片| 男人的j进女人的j一区| 亚洲欧美激情在线| 国产天堂亚洲国产碰碰| 欧美日韩亚洲国产综合| 成人性色生活片| 久久99精品一区二区三区| 亚洲免费av在线| 国产网站一区二区| 日韩欧美不卡在线观看视频| av日韩在线网站| 国产一区中文字幕| 麻豆中文一区二区| 亚洲国产日韩精品| 亚洲欧美中日韩| 国产清纯白嫩初高生在线观看91 | 国产精品久久久爽爽爽麻豆色哟哟 | 成人欧美一区二区三区1314| www久久久久| 日韩视频在线你懂得| 欧美性猛交xxxx乱大交退制版| 成人高清视频免费观看| 国产一本一道久久香蕉| 美女视频网站久久| 男男gaygay亚洲| 蜜臀av性久久久久av蜜臀妖精| 午夜免费久久看| 亚洲国产精品一区二区久久| 一区二区在线观看免费| 综合久久国产九一剧情麻豆| 国产三级精品在线| 国产视频视频一区| 国产午夜精品福利| 欧美国产精品中文字幕| 国产亚洲一区二区三区在线观看| 精品国产污污免费网站入口| 日韩欧美一二三区| 精品国产精品网麻豆系列| 精品人在线二区三区| 久久夜色精品一区| 国产欧美日韩另类一区| 国产偷国产偷亚洲高清人白洁| 国产亚洲欧美日韩日本| 国产精品天天看| 亚洲人成精品久久久久久| 亚洲最大成人网4388xx| 亚洲午夜精品网| 男人的天堂久久精品| 国产一区啦啦啦在线观看| 国产精品一区二区久激情瑜伽| 国产成人丝袜美腿| 91在线国产福利| 欧美手机在线视频| 欧美一区二区三区在线看| 精品少妇一区二区三区 | 成人少妇影院yyyy| 色哟哟在线观看一区二区三区| 日本精品视频一区二区三区| 欧美日韩在线不卡| 精品成人在线观看| 亚洲色图另类专区| 婷婷丁香久久五月婷婷| 国产美女精品人人做人人爽 | 制服丝袜亚洲播放| 久久久www免费人成精品| 亚洲视频在线一区| 日韩 欧美一区二区三区| 国产一本一道久久香蕉| 91日韩精品一区| 日韩一卡二卡三卡四卡| 国产三级欧美三级| 亚洲综合一二区| 黑人巨大精品欧美一区| 在线免费一区三区| 欧美精品一区二区三| 亚洲色图在线视频| 久久精品国产亚洲a| 99精品视频一区| 日韩欧美亚洲一区二区| 亚洲色图制服丝袜| 久久se精品一区精品二区| 91蝌蚪porny九色| 精品欧美一区二区三区精品久久| 国产精品久久久久aaaa樱花| 青娱乐精品在线视频| 97精品久久久久中文字幕 | 亚洲国产高清不卡| 亚洲国产精品人人做人人爽| 国产老女人精品毛片久久| 欧美亚洲综合色| 久久久久久久久久久久电影| 日韩国产欧美在线播放| 99国产欧美另类久久久精品| 欧美精品一区二区三区一线天视频 | 一区二区免费在线播放| 国产伦精品一区二区三区在线观看| 日本精品视频一区二区| 国产清纯白嫩初高生在线观看91 | 亚洲精品视频免费看| 高清不卡一二三区| 精品免费视频.| 日本成人中文字幕在线视频| 一本到不卡免费一区二区| 国产精品三级在线观看| 久久福利视频一区二区| 91精品免费在线观看| 亚洲成在人线免费| 在线精品视频一区二区三四| 亚洲欧美日韩一区二区三区在线观看 | 欧美四级电影网| 亚洲精品久久7777| 一本一道波多野结衣一区二区| 亚洲国产精品黑人久久久| 国产在线精品免费av| 精品成人在线观看| 国产中文一区二区三区| 精品国产乱码久久久久久牛牛| 毛片一区二区三区| 精品对白一区国产伦| 国产剧情一区在线| 久久久久综合网| 国产电影精品久久禁18|