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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? xipif_v1_23_b.h

?? 友善mini2440嵌入式
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* $Id: xipif_v1_23_b.h,v 1.1 2002/03/18 23:24:52 linnj 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 Xilinx Inc.*	All rights reserved.*******************************************************************************//******************************************************************************** FILENAME:** xipif.h** DESCRIPTION:** 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.** Critical Sections** 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.** Mutual Exclusion** 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.** NOTES:** None.** MODIFICATION HISTORY:** Ver	Who  Date     Changes* ----- ---- -------- -----------------------------------------------* 1.23b jhl  02/27/01 Repartioned to minimize size*******************************************************************************/#ifndef XIPIF_H			/* prevent circular inclusions */#define XIPIF_H			/* by using protection macros *//***************************** Include Files *********************************/#include "xbasic_types.h"#include "xstatus.h"#include "xversion.h"/************************** Constant Definitions *****************************//* 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 reg */#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 */#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 following constants contain the masks to identify each internal IPIF * 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 *//* The following constants contain 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 *********************//******************************************************************************** MACRO:** XIIF_V123B_RESET** DESCRIPTION:** 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.** ARGUMENTS:** RegBaseAddress contains the base address of the IPIF registers.** RETURN VALUE:** None.** NOTES:** None.*******************************************************************************//* the following constant is used in the reset register to cause the IPIF to * reset */#define XIIF_V123B_RESET(RegBaseAddress) \    XIo_Out32(RegBaseAddress + XIIF_V123B_RESETR_OFFSET, XIIF_V123B_RESET_MASK)/******************************************************************************** MACRO:** XIIF_V123B_WRITE_DISR** DESCRIPTION:** This function 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.** ARGUMENTS:** RegBaseAddress contains the base address of the IPIF registers.** 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 VALUE:** None.** NOTES:** None.*******************************************************************************/#define XIIF_V123B_WRITE_DISR(RegBaseAddress, Status) \    XIo_Out32((RegBaseAddress) + XIIF_V123B_DISR_OFFSET, (Status))/******************************************************************************** MACRO:** XIIF_V123B_READ_DISR** DESCRIPTION:** This function 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.** ARGUMENTS:** RegBaseAddress contains the base address of the IPIF registers.** RETURN VALUE:** 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.**   XIIF_V123B_ERROR_MASK     Indicates a device error in the IPIF** NOTES:** None.*******************************************************************************/#define XIIF_V123B_READ_DISR(RegBaseAddress) \    XIo_In32((RegBaseAddress) + XIIF_V123B_DISR_OFFSET)/******************************************************************************** MACRO:** XIIF_V123B_WRITE_DIER** DESCRIPTION:** 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.** ARGUMENTS:** RegBaseAddress contains the base address of the IPIF registers.** 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 VALUE:** None.** NOTES:** Signature: u32 XIIF_V123B_WRITE_DIER(u32 RegBaseAddress,*					  u32 Enable)*******************************************************************************/#define XIIF_V123B_WRITE_DIER(RegBaseAddress, Enable) \    XIo_Out32((RegBaseAddress) + XIIF_V123B_DIER_OFFSET, (Enable))/******************************************************************************** MACRO:** XIIF_V123B_READ_DIER** DESCRIPTION:** 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.** ARGUMENTS:** RegBaseAddress contains the base address of the IPIF registers.** RETURN VALUE:** 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.**   XIIF_V123B_ERROR_MASK     Indicates a device error in the IPIF** NOTES:** None.*******************************************************************************/#define XIIF_V123B_READ_DIER(RegBaseAddress) \    XIo_In32((RegBaseAddress) + XIIF_V123B_DIER_OFFSET)/******************************************************************************** MACRO:** XIIF_V123B_READ_DIPR** DESCRIPTION:

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美黄色影院| 亚洲成a人v欧美综合天堂| 精品国产网站在线观看| 日韩欧美aaaaaa| 日韩一区二区三区av| 欧美一级片免费看| 日韩免费成人网| 欧美精品一区二区三区蜜桃| 精品粉嫩aⅴ一区二区三区四区| 欧美欧美欧美欧美| 欧美丰满嫩嫩电影| 91精品国产高清一区二区三区| 精品视频一区 二区 三区| 欧美偷拍一区二区| 欧美日本一道本| 这里是久久伊人| 日韩欧美国产不卡| 久久精品视频一区二区| 国产婷婷精品av在线| 国产精品青草综合久久久久99| 中文字幕免费一区| 亚洲色图视频免费播放| 亚洲国产精品综合小说图片区| 亚洲国产视频在线| 另类调教123区| 国产一区二区三区免费看| 国产综合久久久久影院| 成人免费看片app下载| 91网站最新网址| 欧美日韩国产小视频在线观看| 欧美日韩成人一区二区| 欧美第一区第二区| 中文字幕不卡的av| 一区av在线播放| 毛片一区二区三区| 久久电影国产免费久久电影| 粉嫩绯色av一区二区在线观看| 一本一道波多野结衣一区二区| 欧美乱妇23p| 久久午夜免费电影| 亚洲另类春色校园小说| 青青草伊人久久| 成人avav在线| 欧美日韩国产高清一区| 久久欧美一区二区| 亚洲精品免费电影| 久久99精品久久久久久动态图| 成人av影视在线观看| 欧美日韩国产精品自在自线| 国产欧美一区二区精品性色| 一区二区欧美国产| 国产精品自拍毛片| 在线视频中文字幕一区二区| 日韩亚洲欧美在线| 国产欧美日韩精品在线| 亚洲一区二区三区小说| 国产伦理精品不卡| 欧美午夜一区二区三区免费大片| www日韩大片| 亚洲一区二区视频在线观看| 国产精品99久久不卡二区| 欧美中文字幕一区二区三区亚洲| 精品国产免费一区二区三区香蕉| 亚洲三级在线观看| 伦理电影国产精品| 91福利视频在线| 国产日韩欧美电影| 美女mm1313爽爽久久久蜜臀| 不卡视频在线看| 精品人在线二区三区| 一区二区三区四区蜜桃 | 国内外精品视频| 欧美午夜精品理论片a级按摩| 久久久久久电影| 日本亚洲电影天堂| 欧美中文字幕久久| 欧美韩日一区二区三区| 日本在线不卡一区| 欧洲视频一区二区| 国产精品毛片久久久久久| 麻豆精品在线看| 欧美在线视频全部完| 欧美国产日韩a欧美在线观看| 免费在线看一区| 欧美日韩一区二区在线观看| 国产精品福利一区二区三区| 国产一区不卡视频| 日韩一级大片在线| 免费av成人在线| 欧美精品xxxxbbbb| 亚洲国产aⅴ成人精品无吗| www.在线欧美| 中文字幕制服丝袜一区二区三区| 国产剧情一区二区三区| 欧美videos大乳护士334| 天天综合网天天综合色| 欧美视频日韩视频| 一区二区三区在线高清| 在线观看精品一区| 伊人色综合久久天天人手人婷| 成人黄色片在线观看| 中文在线免费一区三区高中清不卡| 国产综合久久久久久鬼色| 久久这里只有精品6| 国产一区二区三区在线看麻豆| 日韩美一区二区三区| 久久精品99国产精品| 日韩欧美123| 国产一区不卡视频| 日本一区二区综合亚洲| 国产成人在线免费观看| 国产婷婷一区二区| www.色精品| 一区二区三区在线视频播放| 在线中文字幕一区二区| 亚洲无人区一区| 欧美一级生活片| 国产麻豆精品一区二区| 亚洲国产精品传媒在线观看| av一二三不卡影片| 亚洲欧美精品午睡沙发| 色综合久久久久网| 亚洲一二三四区| 日韩一区二区在线看| 狠狠网亚洲精品| 国产欧美视频一区二区三区| 成人app下载| 亚洲综合免费观看高清在线观看| 欧美日韩成人在线一区| 久草这里只有精品视频| 国产欧美日韩三区| 在线精品观看国产| 日韩不卡手机在线v区| 久久色中文字幕| 99久久er热在这里只有精品15| 一个色在线综合| 欧美videofree性高清杂交| 成人中文字幕合集| 亚洲综合色视频| 精品国产免费一区二区三区香蕉| 成人免费毛片片v| 亚洲成人精品一区二区| 欧美mv和日韩mv的网站| 成人不卡免费av| 午夜电影一区二区三区| 久久日一线二线三线suv| 91丨九色丨尤物| 免费观看久久久4p| 中文字幕第一页久久| 欧美日韩视频在线第一区 | 色婷婷av一区| 日本va欧美va瓶| 中文字幕av免费专区久久| 精品婷婷伊人一区三区三| 国产一区美女在线| 有码一区二区三区| 精品日本一线二线三线不卡 | 免费av网站大全久久| 国产精品国产馆在线真实露脸| 欧美日韩成人在线一区| 成人性视频免费网站| 婷婷久久综合九色综合伊人色| 国产亚洲欧美色| 欧美精品1区2区| yourporn久久国产精品| 精油按摩中文字幕久久| 亚洲精品久久久蜜桃| 欧美精品一区二区三区蜜桃 | 精品国产一区二区三区av性色| 色婷婷综合久久| 国产风韵犹存在线视精品| 天天影视色香欲综合网老头| 国产精品免费av| 精品国产乱子伦一区| 欧美日韩你懂的| 91视视频在线观看入口直接观看www | 亚洲国产精品成人综合| 91精品国产色综合久久不卡蜜臀| 99国产一区二区三精品乱码| 国内久久精品视频| 天堂久久一区二区三区| 亚洲天堂精品在线观看| 久久久精品国产免费观看同学| 7777精品伊人久久久大香线蕉经典版下载| 成人在线一区二区三区| 国产在线观看免费一区| 日本系列欧美系列| 亚州成人在线电影| 洋洋av久久久久久久一区| 国产精品久久久久久久久快鸭| 精品国产91九色蝌蚪| 日韩欧美一区二区不卡| 欧美美女网站色| 欧美亚日韩国产aⅴ精品中极品| www.日韩精品| www.视频一区| va亚洲va日韩不卡在线观看| 国产成人综合亚洲网站| 狠狠色综合日日| 狠狠色丁香久久婷婷综|