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

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

?? xuartlite.h

?? ucos2在macroblaze上的移植代碼
?? H
字號(hào):
/* $Id: xuartlite.h,v 1.10 2002/07/24 22:35:28 robertm 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.******************************************************************************//****************************************************************************//**** @file xuartlite.h** This component contains the implementation of the XUartLite component which is* the driver for the Xilinx UART Lite device. This UART is a minimal hardware* implementation with minimal features.  Most of the features, including baud* rate, parity, and number of data bits are only configurable when the hardware* device is built, rather than at run time by software.** The device has 16 byte transmit and receive FIFOs and supports interrupts.* The device does not have any way to disable the receiver such that the* receive FIFO may contain unwanted data.  The FIFOs are not flushed when the* driver is initialized, but a function is provided to allow the user to* reset the FIFOs if desired.** The driver defaults to no interrupts at initialization such that interrupts* must be enabled if desired. An interrupt is generated when the transmit FIFO* transitions from having data to being empty or when any data is contained in* the receive FIFO.** In order to use interrupts, it's necessary for the user to connect the driver* interrupt handler, XUartLite_InterruptHandler, to the interrupt system of the* application.  This function does not save and restore the processor context* such that the user must provide it.  Send and receive handlers may be set for* the driver such that the handlers are called when transmit and receive* interrupts occur.  The handlers are called from interrupt context and are* designed to allow application specific processing to be performed.** The functions, XUartLite_Send and XUartLite_Recv, are provided in the driver* to allow data to be sent and received. They are designed to be used in* polled or interrupt modes.** The driver provides a status for each received byte indicating any parity* frame or overrun error. The driver provides statistics which allow visibility* into these errors.** <b>RTOS Independence</b>** This driver is intended to be RTOS and processor independent.  It works* with physical addresses only.  Any needs for dynamic memory management,* threads or thread mutual exclusion, virtual memory, or cache control must* be satisfied by the layer above this driver.** @note** The driver is partitioned such that a minimal implementation may be used.* More features require additional files to be linked in.** <pre>* MODIFICATION HISTORY:** Ver   Who  Date     Changes* ----- ---- -------- -----------------------------------------------* 1.00a ecm  08/31/01 First release* 1.00b jhl  02/21/02 Repartitioned the driver for smaller files* </pre>******************************************************************************/#ifndef XUARTLITE_H /* prevent circular inclusions */#define XUARTLITE_H /* by using protection macros *//***************************** Include Files ********************************/#include "xbasic_types.h"#include "xstatus.h"/************************** Constant Definitions ****************************//**************************** Type Definitions ******************************//** * Callback function.  The first argument is a callback reference passed in by * the upper layer when setting the callback functions, and passed back to the * upper layer when the callback is invoked. * The second argument is the ByteCount which is the number of bytes that * actually moved from/to the buffer provided in the _Send/_Receive call. */typedef void (*XUartLite_Handler)(void *CallBackRef, unsigned int ByteCount);/** * Statistics for the XUartLite driver */typedef struct{    Xuint32 TransmitInterrupts;     /**< Number of transmit interrupts */    Xuint32 ReceiveInterrupts;      /**< Number of receive interrupts */    Xuint32 CharactersTransmitted;  /**< Number of characters transmitted */    Xuint32 CharactersReceived;     /**< Number of characters received */    Xuint32 ReceiveOverrunErrors;   /**< Number of receive overruns */    Xuint32 ReceiveParityErrors;    /**< Number of receive parity errors */    Xuint32 ReceiveFramingErrors;   /**< Number of receive framing errors */} XUartLite_Stats;/** * The following data type is used to manage the buffers that are handled * when sending and receiving data in the interrupt mode. It is intended * for internal use only. */typedef struct{    Xuint8 *NextBytePtr;    unsigned int RequestedBytes;    unsigned int RemainingBytes;} XUartLite_Buffer;/** * This typedef contains configuration information for the device. */typedef struct{    Xuint16 DeviceId;       /**< Unique ID  of device */    Xuint32 RegBaseAddr;    /**< Register base address */    Xuint32 BaudRate;       /**< Fixed baud rate */    Xuint8  UseParity;      /**< Parity generator enabled when XTRUE */    Xuint8  ParityOdd;      /**< Parity generated is odd when XTRUE, even when                                 XFALSE */    Xuint8  DataBits;       /**< Fixed data bits */} XUartLite_Config;/** * The XUartLite driver instance data. The user is required to allocate a * variable of this type for every UART Lite device in the system. A pointer * to a variable of this type is then passed to the driver API functions. */typedef struct{    XUartLite_Stats Stats;      /* Component Statistics */    Xuint32 RegBaseAddress;     /* Base address of registers */    Xuint32 IsReady;            /* Device is initialized and ready */    XUartLite_Buffer SendBuffer;    XUartLite_Buffer ReceiveBuffer;    XUartLite_Handler RecvHandler;    void *RecvCallBackRef;          /* Callback reference for recv handler */    XUartLite_Handler SendHandler;    void *SendCallBackRef;          /* Callback reference for send handler */} XUartLite;/***************** Macros (Inline Functions) Definitions ********************//************************** Function Prototypes *****************************//* * Required functions, in file xuart.c */XStatus XUartLite_Initialize(XUartLite *InstancePtr, Xuint16 DeviceId);void XUartLite_ResetFifos(XUartLite *InstancePtr);unsigned int XUartLite_Send(XUartLite *InstancePtr, Xuint8 *DataBufferPtr,                            unsigned int NumBytes);unsigned int XUartLite_Recv(XUartLite *InstancePtr, Xuint8 *DataBufferPtr,                            unsigned int NumBytes);Xboolean XUartLite_IsSending(XUartLite *InstancePtr);XUartLite_Config *XUartLite_LookupConfig(Xuint16 DeviceId);/* * Functions for statistics, in file xuartlite_stats.c */void XUartLite_GetStats(XUartLite *InstancePtr, XUartLite_Stats *StatsPtr);void XUartLite_ClearStats(XUartLite *InstancePtr);/* * Functions for self-test, in file xuartlite_selftest.c */XStatus XUartLite_SelfTest(XUartLite *InstancePtr);/* * Functions for interrupts, in file xuartlite_intr.c */void XUartLite_EnableInterrupt(XUartLite *InstancePtr);void XUartLite_DisableInterrupt(XUartLite *InstancePtr);void XUartLite_SetRecvHandler(XUartLite *InstancePtr, XUartLite_Handler FuncPtr,                              void *CallBackRef);void XUartLite_SetSendHandler(XUartLite *InstancePtr, XUartLite_Handler FuncPtr,                              void *CallBackRef);void XUartLite_InterruptHandler(XUartLite *InstancePtr);#endif            /* end of protection macro */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美国产高清| 99视频精品全部免费在线| 欧美一卡2卡三卡4卡5免费| 亚洲午夜久久久久久久久久久 | 国产精品污www在线观看| 国产99久久久国产精品潘金网站| 久久久不卡网国产精品一区| 国产精品99久久不卡二区| 国产婷婷色一区二区三区四区| 高清久久久久久| 亚洲少妇最新在线视频| 欧美三级电影精品| 久久国产剧场电影| 国产精品女人毛片| 在线影院国内精品| 麻豆视频一区二区| 国产精品免费视频观看| 一本久道中文字幕精品亚洲嫩| 五月综合激情网| 欧美精品一区二区三区蜜臀| 岛国一区二区三区| 婷婷夜色潮精品综合在线| 精品福利一区二区三区免费视频| 国产a精品视频| 亚洲在线观看免费| 26uuu亚洲综合色欧美| 92国产精品观看| 免费看日韩精品| 国产精品国产成人国产三级| 欧美人xxxx| 懂色av一区二区三区蜜臀| 亚洲地区一二三色| 欧美国产日产图区| 在线播放91灌醉迷j高跟美女 | 99视频超级精品| 亚洲电影在线播放| 欧美国产欧美综合| 欧美日韩国产影片| 99精品欧美一区二区三区综合在线| 午夜精品一区二区三区电影天堂| 国产三区在线成人av| 欧美日韩国产一区二区三区地区| 国产一区二区导航在线播放| 亚洲午夜激情网页| 亚洲国产精品黑人久久久| 日韩一区二区电影| 日本高清无吗v一区| 国产成人免费视频一区| 日韩经典一区二区| 亚洲免费伊人电影| 久久久久久久久久久电影| 欧美高清www午色夜在线视频| av激情成人网| 国产aⅴ综合色| 九九九久久久精品| 青青草国产精品97视觉盛宴| 亚洲精品日韩专区silk| 欧美高清在线视频| 久久婷婷成人综合色| 欧美一区二区视频在线观看| 在线中文字幕一区| 91亚洲国产成人精品一区二三| 国产一区不卡精品| 另类成人小视频在线| 欧美96一区二区免费视频| 亚洲国产视频在线| 一区二区三区精品| 亚洲欧美日韩国产成人精品影院| 日本一区二区三区国色天香| 精品粉嫩超白一线天av| 欧美一级欧美一级在线播放| 欧美日韩国产123区| 色激情天天射综合网| 97精品视频在线观看自产线路二| 国产福利精品一区二区| 国产一区二区三区在线观看精品| 麻豆成人免费电影| 久久99久久久欧美国产| 麻豆精品蜜桃视频网站| 精品无人区卡一卡二卡三乱码免费卡| 日韩在线一区二区| 日韩精品亚洲一区二区三区免费| 性做久久久久久免费观看| 日韩中文字幕区一区有砖一区| 香蕉成人啪国产精品视频综合网| 亚洲一区二区三区三| 日日夜夜免费精品| 久久不见久久见免费视频7| 黄页网站大全一区二区| 国产精品自在在线| 成人免费看视频| 97久久超碰国产精品电影| 欧美在线播放高清精品| 欧美日韩视频一区二区| 欧美一二三四在线| 久久久三级国产网站| 日本一区二区三级电影在线观看| 国产精品欧美一区喷水| 亚洲精品欧美综合四区| 五月开心婷婷久久| 国产一区二区免费看| 99久久国产免费看| 88在线观看91蜜桃国自产| 精品日韩欧美在线| 亚洲日本va午夜在线影院| 午夜视频一区在线观看| 国模少妇一区二区三区| www.久久久久久久久| 欧美日韩激情在线| 久久久.com| 一区二区三区久久| 蜜桃av噜噜一区| 成人av一区二区三区| 欧美精品久久一区| 国产欧美1区2区3区| 亚洲一区在线观看免费观看电影高清| 日本欧美一区二区三区乱码| 国产999精品久久久久久绿帽| 91视视频在线直接观看在线看网页在线看| 欧美午夜精品一区二区三区| 2024国产精品| 亚洲精品免费在线播放| 久久精品国产在热久久| 91啪九色porn原创视频在线观看| 欧美精品久久天天躁| 国产精品成人在线观看| 久久疯狂做爰流白浆xx| 91免费观看在线| 2017欧美狠狠色| 婷婷成人综合网| 91在线视频网址| 久久久www免费人成精品| 亚洲一区二区三区影院| 成人污污视频在线观看| 日韩欧美国产小视频| 亚洲毛片av在线| 国产成人在线免费| 日韩一区二区三| 亚洲风情在线资源站| 97久久精品人人爽人人爽蜜臀| 日韩精品自拍偷拍| 亚洲第一福利一区| 色综合久久天天综合网| 国产女人aaa级久久久级 | 亚洲高清一区二区三区| 国产成人无遮挡在线视频| 欧美一区二区成人| 一区二区三区四区亚洲| heyzo一本久久综合| 国产日韩精品一区二区三区在线| 久久激情综合网| 欧美丰满美乳xxx高潮www| 一区二区三区高清在线| 99久久精品费精品国产一区二区| 久久日一线二线三线suv| 蜜桃精品在线观看| 91麻豆精品国产自产在线 | 91精品一区二区三区久久久久久 | 激情图区综合网| 欧美电影免费观看完整版| 日韩和的一区二区| 欧美日韩国产天堂| 一区二区三区波多野结衣在线观看| av在线这里只有精品| 国产嫩草影院久久久久| 国产成a人无v码亚洲福利| 精品av久久707| 精品一区二区在线看| 亚洲精品一区二区三区香蕉| 久久爱www久久做| 精品国产网站在线观看| 精品亚洲成a人| 国产亚洲一区二区三区在线观看 | 日韩一区二区三区免费看| 午夜不卡在线视频| 欧美丰满一区二区免费视频| 手机精品视频在线观看| 欧美一区二区三区播放老司机| 美国一区二区三区在线播放| 日韩欧美国产一区二区三区| 国模冰冰炮一区二区| 久久久久久97三级| www.欧美亚洲| 一区二区三区中文字幕电影 | 欧美一区二区视频在线观看2022| 日韩国产欧美三级| 久久人人97超碰com| 成人av午夜影院| 一区二区三区自拍| 日韩一区二区三区视频| 国产成人啪午夜精品网站男同| 国产精品网站在线观看| 欧美无砖砖区免费| 精品一区二区三区在线播放 | 亚洲精品一区在线观看| 高清成人免费视频| 一区二区三区电影在线播| 欧美变态tickling挠脚心| 成人小视频免费观看| 亚洲午夜在线电影|