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

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

?? xpacket_fifo_v1_00_b.h

?? u-boot1.3.0的原碼,從配了網絡驅動和FLASH的驅動,并該用ESC竟如
?? H
字號:
/********************************************************************************     Author: Xilinx, Inc.***     This program is free software; you can redistribute it and/or modify it*     under the terms of the GNU General Public License as published by the*     Free Software Foundation; either version 2 of the License, or (at your*     option) any later version.***     XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" AS A*     COURTESY TO YOU. 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 THIRD PARTY 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.***     Xilinx hardware products are not intended for use in life support*     appliances, devices, or systems. Use in such applications is*     expressly prohibited.***     (c) Copyright 2002-2004 Xilinx Inc.*     All rights reserved.***     You should have received a copy of the GNU General Public License along*     with this program; if not, write to the Free Software Foundation, Inc.,*     675 Mass Ave, Cambridge, MA 02139, USA.*******************************************************************************//*****************************************************************************//*** @file xpacket_fifo_v1_00_b.h** This component is a common component because it's primary purpose is to* prevent code duplication in drivers. A driver which must handle a packet* FIFO uses this component rather than directly manipulating a packet FIFO.** A FIFO is a device which has dual port memory such that one user may be* inserting data into the FIFO while another is consuming data from the FIFO.* A packet FIFO is designed for use with packet protocols such as Ethernet and* ATM.  It is typically only used with devices when DMA and/or Scatter Gather* is used.  It differs from a nonpacket FIFO in that it does not provide any* interrupts for thresholds of the FIFO such that it is less useful without* DMA.** @note** This component has the capability to generate an interrupt when an error* condition occurs.  It is the user's responsibility to provide the interrupt* processing to handle the interrupt. This component provides the ability to* determine if that interrupt is active, a deadlock condition, and the ability* to reset the FIFO to clear the condition. In this condition, the device which* is using the FIFO should also be reset to prevent other problems. This error* condition could occur as a normal part of operation if the size of the FIFO* is not setup correctly.  See the hardware IP specification for more details.** <pre>* MODIFICATION HISTORY:** Ver   Who  Date     Changes* ----- ---- -------- -----------------------------------------------* 1.00b rpm 03/26/02  First release* </pre>******************************************************************************/#ifndef XPACKET_FIFO_H		/* prevent circular inclusions */#define XPACKET_FIFO_H		/* by using protection macros *//***************************** Include Files *********************************/#include "xbasic_types.h"#include "xstatus.h"/************************** Constant Definitions *****************************//* * These constants specify the FIFO type and are mutually exclusive */#define XPF_READ_FIFO_TYPE      0	/* a read FIFO */#define XPF_WRITE_FIFO_TYPE     1	/* a write FIFO *//* * These constants define the offsets to each of the registers from the * register base address, each of the constants are a number of bytes */#define XPF_RESET_REG_OFFSET            0UL#define XPF_MODULE_INFO_REG_OFFSET      0UL#define XPF_COUNT_STATUS_REG_OFFSET     4UL/* * This constant is used with the Reset Register */#define XPF_RESET_FIFO_MASK             0x0000000A/* * These constants are used with the Occupancy/Vacancy Count Register. This * register also contains FIFO status */#define XPF_COUNT_MASK                  0x0000FFFF#define XPF_DEADLOCK_MASK               0x20000000#define XPF_ALMOST_EMPTY_FULL_MASK      0x40000000#define XPF_EMPTY_FULL_MASK             0x80000000/**************************** Type Definitions *******************************//* * The XPacketFifo driver instance data. The driver is required to allocate a * variable of this type for every packet FIFO in the device. */typedef struct {	u32 RegBaseAddress;	/* Base address of registers */	u32 IsReady;		/* Device is initialized and ready */	u32 DataBaseAddress;	/* Base address of data for FIFOs */} XPacketFifoV100b;/***************** Macros (Inline Functions) Definitions *********************//*****************************************************************************//*** Reset the specified packet FIFO.  Resetting a FIFO will cause any data* contained in the FIFO to be lost.** @param InstancePtr contains a pointer to the FIFO to operate on.** @return** None.** @note** Signature: void XPF_V100B_RESET(XPacketFifoV100b *InstancePtr)*******************************************************************************/#define XPF_V100B_RESET(InstancePtr) \    XIo_Out32((InstancePtr)->RegBaseAddress + XPF_RESET_REG_OFFSET, XPF_RESET_FIFO_MASK);/*****************************************************************************//*** Get the occupancy count for a read packet FIFO and the vacancy count for a* write packet FIFO. These counts indicate the number of 32-bit words* contained (occupancy) in the FIFO or the number of 32-bit words available* to write (vacancy) in the FIFO.** @param InstancePtr contains a pointer to the FIFO to operate on.** @return** The occupancy or vacancy count for the specified packet FIFO.** @note** Signature: u32 XPF_V100B_GET_COUNT(XPacketFifoV100b *InstancePtr)*******************************************************************************/#define XPF_V100B_GET_COUNT(InstancePtr) \    (XIo_In32((InstancePtr)->RegBaseAddress + XPF_COUNT_STATUS_REG_OFFSET) & \    XPF_COUNT_MASK)/*****************************************************************************//*** Determine if the specified packet FIFO is almost empty. Almost empty is* defined for a read FIFO when there is only one data word in the FIFO.** @param InstancePtr contains a pointer to the FIFO to operate on.** @return** TRUE if the packet FIFO is almost empty, FALSE otherwise.** @note** Signature: u32 XPF_V100B_IS_ALMOST_EMPTY(XPacketFifoV100b *InstancePtr)*******************************************************************************/#define XPF_V100B_IS_ALMOST_EMPTY(InstancePtr) \    (XIo_In32((InstancePtr)->RegBaseAddress + XPF_COUNT_STATUS_REG_OFFSET) & \    XPF_ALMOST_EMPTY_FULL_MASK)/*****************************************************************************//*** Determine if the specified packet FIFO is almost full. Almost full is* defined for a write FIFO when there is only one available data word in the* FIFO.** @param InstancePtr contains a pointer to the FIFO to operate on.** @return** TRUE if the packet FIFO is almost full, FALSE otherwise.** @note** Signature: u32 XPF_V100B_IS_ALMOST_FULL(XPacketFifoV100b *InstancePtr)*******************************************************************************/#define XPF_V100B_IS_ALMOST_FULL(InstancePtr) \    (XIo_In32((InstancePtr)->RegBaseAddress + XPF_COUNT_STATUS_REG_OFFSET) & \    XPF_ALMOST_EMPTY_FULL_MASK)/*****************************************************************************//*** Determine if the specified packet FIFO is empty. This applies only to a* read FIFO.** @param InstancePtr contains a pointer to the FIFO to operate on.** @return** TRUE if the packet FIFO is empty, FALSE otherwise.** @note** Signature: u32 XPF_V100B_IS_EMPTY(XPacketFifoV100b *InstancePtr)*******************************************************************************/#define XPF_V100B_IS_EMPTY(InstancePtr) \    (XIo_In32((InstancePtr)->RegBaseAddress + XPF_COUNT_STATUS_REG_OFFSET) & \    XPF_EMPTY_FULL_MASK)/*****************************************************************************//*** Determine if the specified packet FIFO is full. This applies only to a* write FIFO.** @param InstancePtr contains a pointer to the FIFO to operate on.** @return** TRUE if the packet FIFO is full, FALSE otherwise.** @note** Signature: u32 XPF_V100B_IS_FULL(XPacketFifoV100b *InstancePtr)*******************************************************************************/#define XPF_V100B_IS_FULL(InstancePtr) \    (XIo_In32((InstancePtr)->RegBaseAddress + XPF_COUNT_STATUS_REG_OFFSET) & \    XPF_EMPTY_FULL_MASK)/*****************************************************************************//*** Determine if the specified packet FIFO is deadlocked.  This condition occurs* when the FIFO is full and empty at the same time and is caused by a packet* being written to the FIFO which exceeds the total data capacity of the FIFO.* It occurs because of the mark/restore features of the packet FIFO which allow* retransmission of a packet. The software should reset the FIFO and any devices* using the FIFO when this condition occurs.** @param InstancePtr contains a pointer to the FIFO to operate on.** @return** TRUE if the packet FIFO is deadlocked, FALSE otherwise.** @note** This component has the capability to generate an interrupt when an error* condition occurs.  It is the user's responsibility to provide the interrupt* processing to handle the interrupt. This function provides the ability to* determine if a deadlock condition, and the ability to reset the FIFO to* clear the condition.** In this condition, the device which is using the FIFO should also be reset* to prevent other problems. This error condition could occur as a normal part* of operation if the size of the FIFO is not setup correctly.** Signature: u32 XPF_V100B_IS_DEADLOCKED(XPacketFifoV100b *InstancePtr)*******************************************************************************/#define XPF_V100B_IS_DEADLOCKED(InstancePtr) \    (XIo_In32((InstancePtr)->RegBaseAddress + XPF_COUNT_STATUS_REG_OFFSET) & \    XPF_DEADLOCK_MASK)/************************** Function Prototypes ******************************//* Standard functions */XStatus XPacketFifoV100b_Initialize(XPacketFifoV100b * InstancePtr,				    u32 RegBaseAddress, u32 DataBaseAddress);XStatus XPacketFifoV100b_SelfTest(XPacketFifoV100b * InstancePtr, u32 FifoType);/* Data functions */XStatus XPacketFifoV100b_Read(XPacketFifoV100b * InstancePtr,			      u8 * ReadBufferPtr, u32 ByteCount);XStatus XPacketFifoV100b_Write(XPacketFifoV100b * InstancePtr,			       u8 * WriteBufferPtr, u32 ByteCount);#endif				/* end of protection macro */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91.com视频| 国产精品一品二品| 麻豆精品一区二区综合av| 激情图区综合网| 99天天综合性| 日本韩国精品在线| 亚洲图片欧美综合| 另类小说欧美激情| 成人性视频网站| 欧美亚洲国产一区在线观看网站| 欧美一区二区视频在线观看2020| 国产亚洲精品精华液| 伊人色综合久久天天| 免费成人深夜小野草| 国产成人免费视频精品含羞草妖精 | 狠狠色综合播放一区二区| 成人av网站在线观看免费| 欧美日韩精品一区二区三区蜜桃| 日韩欧美久久一区| 综合欧美亚洲日本| 国产综合色产在线精品| 99久久国产综合色|国产精品| 制服.丝袜.亚洲.另类.中文| 国产三级欧美三级日产三级99| 亚洲一区二区三区三| 国产成人综合视频| 51精品秘密在线观看| **性色生活片久久毛片| 蜜臀av性久久久久蜜臀aⅴ流畅| 97久久精品人人做人人爽| 欧美不卡一二三| 亚洲一区二区三区视频在线播放| 国产精品自在在线| 7777精品伊人久久久大香线蕉经典版下载 | 亚洲蜜臀av乱码久久精品蜜桃| 另类小说欧美激情| 欧美性受xxxx黑人xyx性爽| 国产亚洲综合av| 免费观看成人av| 欧美揉bbbbb揉bbbbb| 国产欧美日韩视频一区二区| 美女爽到高潮91| 欧美性一区二区| 亚洲欧美怡红院| 国产成人av电影在线观看| 欧美一区二区不卡视频| 亚洲精品国产成人久久av盗摄| 国产a久久麻豆| 精品久久免费看| 五月天久久比比资源色| 色乱码一区二区三区88| 国产日韩av一区| 国产毛片精品国产一区二区三区| 91精品国产免费| 亚洲第一电影网| 欧美中文字幕久久| 亚洲精选视频在线| 91视频免费观看| 国产精品欧美一级免费| 国产成人免费在线| 久久日韩粉嫩一区二区三区 | 精品区一区二区| 免费人成黄页网站在线一区二区| 欧美熟乱第一页| 一区二区激情小说| 一本久久a久久免费精品不卡| 国产精品成人一区二区三区夜夜夜| 国产一区二区三区蝌蚪| 久久五月婷婷丁香社区| 国产一区二区三区精品欧美日韩一区二区三区 | 中文字幕在线观看一区| 国产成人av资源| 国产欧美日韩在线| 国产精品一线二线三线| 久久精品日韩一区二区三区| 国产精品一二三四| 国产日韩精品视频一区| 成人久久18免费网站麻豆| 中国色在线观看另类| 国产电影精品久久禁18| 国产日韩精品视频一区| 成人av免费网站| 亚洲视频在线观看三级| 在线观看www91| 亚洲va欧美va人人爽午夜 | 久久99精品久久久久久国产越南 | 国产精品亚洲一区二区三区妖精| 精品国产在天天线2019| 国产成人超碰人人澡人人澡| 国产精品天干天干在线综合| 97久久超碰精品国产| 亚洲自拍偷拍av| 9191成人精品久久| 久久99精品久久久久久国产越南| 久久久精品综合| 91视频你懂的| 午夜精品久久久久久久99水蜜桃 | 国产成人精品www牛牛影视| 国产欧美va欧美不卡在线| 91在线小视频| 亚洲午夜一区二区三区| 日韩精品专区在线影院观看 | 亚洲欧洲精品成人久久奇米网| 一本到一区二区三区| 日韩中文字幕不卡| 久久久国产午夜精品| 色94色欧美sute亚洲线路二| 日韩影视精彩在线| 国产网站一区二区三区| 在线观看91精品国产入口| 日韩福利视频导航| 国产日韩欧美精品在线| 欧美亚洲禁片免费| 国产九色精品成人porny| 一区二区三区日韩精品视频| 91精品国产综合久久久蜜臀粉嫩 | 伊人开心综合网| 日韩精品一区二区三区视频播放 | 亚洲精品视频免费看| 88在线观看91蜜桃国自产| 国产成人免费在线视频| 亚洲va国产va欧美va观看| 精品91自产拍在线观看一区| 色综合一个色综合| 久久精品国产77777蜜臀| 国产精品久久久一本精品| 在线播放中文一区| 成人小视频在线| 日韩福利视频导航| 中文字幕在线不卡视频| 日韩三级.com| 在线观看网站黄不卡| 国产精品一区二区久久不卡| 亚洲成人av在线电影| 欧美激情在线一区二区| 91精品国产综合久久国产大片| 福利电影一区二区| 欧美aⅴ一区二区三区视频| 国产精品久久久久7777按摩| 日韩一区二区三区在线观看| 色综合激情五月| 国产**成人网毛片九色 | 精品久久人人做人人爽| 91成人国产精品| 成人久久久精品乱码一区二区三区| 日韩激情一二三区| 亚洲天堂成人在线观看| 国产午夜精品美女毛片视频| 91精品国产手机| 在线观看日韩毛片| 成人黄动漫网站免费app| 美女在线观看视频一区二区| 亚洲高清免费观看高清完整版在线观看| 国产欧美一区二区精品忘忧草| 欧美一区二区不卡视频| 欧美日韩综合一区| 99精品偷自拍| 成人综合婷婷国产精品久久蜜臀| 久久99国产乱子伦精品免费| 性做久久久久久久免费看| 亚洲欧美日韩国产手机在线| 国产日韩欧美高清| 久久综合九色综合97婷婷| 欧美嫩在线观看| 色欧美乱欧美15图片| av电影在线观看一区| 成人精品亚洲人成在线| 国产.精品.日韩.另类.中文.在线.播放| 精品一区二区免费视频| 老司机午夜精品| 奇米影视在线99精品| 日韩电影一二三区| 午夜欧美视频在线观看| 国产精品日日摸夜夜摸av| 99精品视频一区| 99久久伊人网影院| 丰满放荡岳乱妇91ww| 豆国产96在线|亚洲| 丁香天五香天堂综合| 懂色一区二区三区免费观看| 福利一区二区在线| 成人av电影在线| 99国产麻豆精品| 91免费在线看| 色综合一区二区| 欧美视频一区二区三区四区 | 天天综合网 天天综合色| 一区二区三区蜜桃网| 亚洲另类在线一区| 一区二区三区视频在线看| 亚洲精品久久久久久国产精华液| 一区二区三区四区在线免费观看| 亚洲一二三四区| 日韩影院精彩在线| 毛片一区二区三区| 国产a久久麻豆| 色哟哟一区二区三区| 777奇米成人网| 久久久久久亚洲综合影院红桃| 欧美国产精品一区|