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

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

?? xtmrctr.h

?? 關于xilinx大學計劃配需教程實驗五源代碼
?? H
字號:
/* $Id: xtmrctr.h,v 1.12 2005/09/26 03:07:29 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 Xilinx Inc.*       All rights reserved.*******************************************************************************//*****************************************************************************//**** @file xtmrctr.h** The Xilinx timer/counter component. This component supports the Xilinx* timer/counter. More detailed description of the driver operation can* be found in the xtmrctr.c file.** The Xilinx timer/counter supports the following features:*   - Polled mode.*   - Interrupt driven mode*   - enabling and disabling specific timers*   - PWM operation** The driver does not currently support the PWM operation of the device.** The timer counter operates in 2 primary modes, compare and capture. In* either mode, the timer counter may count up or down, with up being the* default.** Compare mode is typically used for creating a single time period or multiple* repeating time periods in the auto reload mode, such as a periodic interrupt.* When started, the timer counter loads an initial value, referred to as the* compare value, into the timer counter and starts counting down or up. The* timer counter expires when it rolls over/under depending upon the mode of* counting. An external compare output signal may be configured such that a* pulse is generated with this signal when it hits the compare value.** Capture mode is typically used for measuring the time period between* external events. This mode uses an external capture input signal to cause* the value of the timer counter to be captured. When started, the timer* counter loads an initial value, referred to as the compare value,* The timer can be configured to either cause an interrupt when the count* reaches the compare value in compare mode or latch the current count* value in the capture register when an external input is asserted* in capture mode. The external capture input can be enabled/disabled using the* XTmrCtr_SetOptions function. While in compare mode, it is also possible to* drive an external output when the compare value is reached in the count* register The external compare output can be enabled/disabled using the* XTmrCtr_SetOptions function.** <b>Interrupts</b>** It is the responsibility of the application to connect the interrupt* handler of the timer/counter to the interrupt source. The interrupt* handler function, XTmrCtr_InterruptHandler, is visible such that the user* can connect it to the interrupt source. Note that this interrupt handler* does not provide interrupt context save and restore processing, the user* must perform this processing.** The driver services interrupts and passes timeouts to the upper layer* software through callback functions. The upper layer software must register* its callback functions during initialization. The driver requires callback* functions for timers.** @note* The default settings for the timers are:*   - Interrupt generation disabled*   - Count up mode*   - Compare mode*   - Hold counter (will not reload the timer)*   - External compare output disabled*   - External capture input disabled*   - Pulse width modulation disabled*   - Timer disabled, waits for Start function to be called* <br><br>* A timer counter device may contain multiple timer counters. The symbol* XTC_DEVICE_TIMER_COUNT defines the number of timer counters in the device.* The device currently contains 2 timer counters.* <br><br>* 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.** <pre>* MODIFICATION HISTORY:** Ver   Who  Date     Changes* ----- ---- -------- -----------------------------------------------* 1.00a ecm  08/16/01 First release* 1.00b jhl  02/21/02 Repartitioned the driver for smaller files* </pre>*******************************************************************************/#ifndef XTMRCTR_H /* prevent circular inclusions */#define XTMRCTR_H /* by using protection macros */#ifdef __cplusplusextern "C" {#endif/***************************** Include Files *********************************/#include "xbasic_types.h"#include "xstatus.h"#include "xtmrctr_l.h"/************************** Constant Definitions *****************************//** * @name Configuration options * These options are used in XTmrCtr_SetOptions() and XTmrCtr_GetOptions() * @{ *//** * Used to configure the timer counter device. * <pre> * XTC_ENABLE_ALL_OPTION     Enables all timer counters at once. * XTC_DOWN_COUNT_OPTION     Configures the timer counter to count down from *                           start value, the default is to count up. * XTC_CAPTURE_MODE_OPTION   Configures the timer to capture the timer counter *                           value when the external capture line is asserted. *                           The default mode is compare mode. * XTC_INT_MODE_OPTION       Enables the timer counter interrupt output. * XTC_AUTO_RELOAD_OPTION    In compare mode, configures the timer counter to *                           reload from the compare value. The default mode *                           causes the timer counter to hold when the compare *                           value is hit. *                           In capture mode, configures the timer counter to *                           not hold the previous capture value if a new event *                           occurs. The default mode cause the timer counter *                           to hold the capture value until recognized. * XTC_EXT_COMPARE_OPTION    Enables the external compare output signal. * </pre> */#define XTC_ENABLE_ALL_OPTION    0x00000040UL#define XTC_DOWN_COUNT_OPTION    0x00000020UL#define XTC_CAPTURE_MODE_OPTION  0x00000010UL#define XTC_INT_MODE_OPTION      0x00000008UL#define XTC_AUTO_RELOAD_OPTION   0x00000004UL#define XTC_EXT_COMPARE_OPTION   0x00000002UL/*@}*//**************************** Type Definitions *******************************//** * This typedef contains configuration information for the device. */typedef struct{    Xuint16 DeviceId;       /**< Unique ID  of device */    Xuint32 BaseAddress;    /**< Register base address */} XTmrCtr_Config;/** * Signature for the callback function. * * @param CallBackRef 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. Its type is unimportant to the *        driver, so it is a void pointer. * @param TmrCtrNumber is the number of the timer/counter within the device. *        The device typically contains at least two timer/counters. The *        timer number is a zero based number with a range of 0 to *        (XTC_DEVICE_TIMER_COUNT - 1). */typedef void (*XTmrCtr_Handler)(void *CallBackRef, Xuint8 TmrCtrNumber);/** * Timer/Counter statistics */typedef struct{    Xuint32 Interrupts;      /**< The number of interrupts that have occurred */} XTmrCtrStats;/** * The XTmrCtr driver instance data. The user is required to allocate a * variable of this type for every timer/counter device in the system. A * pointer to a variable of this type is then passed to the driver API * functions. */typedef struct{    XTmrCtrStats Stats;         /* Component Statistics */    Xuint32 BaseAddress;        /* Base address of registers */    Xuint32 IsReady;            /* Device is initialized and ready */    XTmrCtr_Handler Handler;    /* Callback function */    void *CallBackRef;          /* Callback reference for handler */} XTmrCtr;/***************** Macros (Inline Functions) Definitions *********************//************************** Function Prototypes ******************************//* * Required functions, in file xtmrctr.c */XStatus XTmrCtr_Initialize(XTmrCtr *InstancePtr, Xuint16 DeviceId);void XTmrCtr_Start(XTmrCtr *InstancePtr, Xuint8 TmrCtrNumber);void XTmrCtr_Stop(XTmrCtr *InstancePtr, Xuint8 TmrCtrNumber);Xuint32 XTmrCtr_GetValue(XTmrCtr *InstancePtr, Xuint8 TmrCtrNumber);void XTmrCtr_SetResetValue(XTmrCtr *InstancePtr, Xuint8 TmrCtrNumber,                           Xuint32 ResetValue);Xuint32 XTmrCtr_GetCaptureValue(XTmrCtr *InstancePtr, Xuint8 TmrCtrNumber);Xboolean XTmrCtr_IsExpired(XTmrCtr *InstancePtr, Xuint8 TmrCtrNumber);void XTmrCtr_Reset(XTmrCtr *InstancePtr, Xuint8 TmrCtrNumber);XTmrCtr_Config *XTmrCtr_LookupConfig(Xuint16 DeviceId);/* * Functions for options, in file xtmrctr_options.c */void XTmrCtr_SetOptions(XTmrCtr *InstancePtr, Xuint8 TmrCtrNumber,                        Xuint32 Options);Xuint32 XTmrCtr_GetOptions(XTmrCtr *InstancePtr, Xuint8 TmrCtrNumber);/* * Functions for statistics, in file xtmrctr_stats.c */void XTmrCtr_GetStats(XTmrCtr *InstancePtr, XTmrCtrStats *StatsPtr);void XTmrCtr_ClearStats(XTmrCtr *InstancePtr);/* * Functions for self-test, in file xtmrctr_selftest.c */XStatus XTmrCtr_SelfTest(XTmrCtr *InstancePtr, Xuint8 TmrCtrNumber);/* * Functions for interrupts, in file xtmrctr_intr.c */void XTmrCtr_SetHandler(XTmrCtr *InstancePtr, XTmrCtr_Handler FuncPtr,                        void *CallBackRef);void XTmrCtr_InterruptHandler(void *InstancePtr);#ifdef __cplusplus}#endif#endif            /* end of protection macro */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩三级视频| 99久久精品一区| 亚洲人成人一区二区在线观看 | 国产在线精品一区二区三区不卡| ...xxx性欧美| 精品粉嫩超白一线天av| 欧美日韩一区高清| 91欧美一区二区| 成人禁用看黄a在线| 欧美日韩一区精品| 亚洲影院久久精品| 美女视频一区在线观看| 欧美女孩性生活视频| 成人一区二区三区中文字幕| 全国精品久久少妇| 亚洲一区二区四区蜜桃| 综合色天天鬼久久鬼色| 国产亚洲精品aa| 精品国产免费视频| 日韩视频免费观看高清完整版在线观看| 91在线视频网址| 波多野结衣在线aⅴ中文字幕不卡| 六月婷婷色综合| 日韩国产欧美在线观看| 亚洲五码中文字幕| 亚洲日本va在线观看| 欧美国产日韩a欧美在线观看 | 国产精品综合二区| 免费av网站大全久久| 亚洲成人自拍网| 一区二区三区欧美久久| 日韩在线一区二区三区| 亚洲电影在线播放| 欧美一级高清片| 91精品国产综合久久久久久| 欧美主播一区二区三区美女| 成人免费看片app下载| 国产伦精品一区二区三区视频青涩| 蜜臀av一区二区在线免费观看 | 91视频观看视频| 99精品欧美一区二区三区小说 | 午夜欧美视频在线观看| 亚洲与欧洲av电影| 亚洲丶国产丶欧美一区二区三区| 亚洲欧美另类小说视频| 亚洲黄色小视频| 亚洲午夜久久久久| 午夜a成v人精品| 欧美一级在线观看| 日韩亚洲欧美中文三级| 国产不卡视频在线播放| 一区二区三区在线影院| 亚洲欧美日韩中文字幕一区二区三区 | 亚洲精品成人在线| 一区二区三区精密机械公司| 亚洲永久免费视频| 一区二区视频在线| 视频一区二区中文字幕| 日本中文在线一区| 蓝色福利精品导航| 丁香另类激情小说| 色久综合一二码| 欧美一卡2卡三卡4卡5免费| 精品欧美久久久| 国产精品网站在线观看| 亚洲激情图片小说视频| 亚洲国产精品久久人人爱 | 国内国产精品久久| 成人性生交大合| 91麻豆国产自产在线观看| 欧美亚洲一区三区| 日韩视频免费观看高清完整版 | 韩国欧美国产一区| 99国产欧美另类久久久精品| 欧美日韩不卡视频| 国产婷婷一区二区| 亚洲一区中文日韩| 国内成人免费视频| 在线观看91视频| 亚洲精品在线免费播放| 亚洲欧美色综合| 色国产综合视频| 日韩一区二区视频| 亚洲欧美激情小说另类| 精品在线播放午夜| 99视频一区二区三区| 欧美一区二区视频在线观看| 国产精品九色蝌蚪自拍| 性做久久久久久免费观看欧美| 国产乱人伦偷精品视频不卡| 欧美视频日韩视频| 久久精品视频网| 亚洲小说春色综合另类电影| 国产成人超碰人人澡人人澡| 欧美美女bb生活片| 亚洲欧洲成人精品av97| 老司机精品视频导航| 欧美午夜在线观看| 久久精品一区蜜桃臀影院| 亚洲成人午夜影院| 99国产精品99久久久久久| 日韩欧美一二三四区| 亚洲成av人片在线观看无码| 波多野结衣中文字幕一区二区三区 | 激情欧美日韩一区二区| 欧美在线免费播放| 中文在线资源观看网站视频免费不卡| 日韩综合在线视频| 色悠久久久久综合欧美99| 国产日韩高清在线| 久久精品国产精品青草| 欧美综合一区二区| 国产精品久久久久一区二区三区 | 免费高清不卡av| 欧美优质美女网站| 1区2区3区欧美| 成人av在线看| 久久久久国产成人精品亚洲午夜| 亚洲成av人**亚洲成av**| av不卡免费在线观看| 欧美国产一区二区| 国产福利精品导航| 久久久久国产精品麻豆ai换脸 | 亚洲美女精品一区| av电影一区二区| 欧美经典一区二区| 国产成人精品综合在线观看| 久久久综合九色合综国产精品| 丝袜美腿亚洲色图| 7777精品伊人久久久大香线蕉 | 欧美精彩视频一区二区三区| 国产米奇在线777精品观看| 精品国产麻豆免费人成网站| 美女性感视频久久| 日韩手机在线导航| 久久丁香综合五月国产三级网站| 日韩久久精品一区| 国产一区二区看久久| 久久久精品综合| 国产成人av电影在线| 久久精品视频免费| 高清不卡在线观看| 中文字幕在线免费不卡| 色哟哟精品一区| 亚洲精品大片www| 欧美麻豆精品久久久久久| 免费国产亚洲视频| 亚洲精品在线免费观看视频| 高清不卡一区二区在线| 亚洲欧洲日产国产综合网| 日本黄色一区二区| 日韩精品成人一区二区在线| 日韩欧美一区二区免费| 国产伦精品一区二区三区视频青涩| 久久蜜桃av一区二区天堂| 成人av在线观| 亚洲成人综合网站| 日韩精品中文字幕一区二区三区| 国产尤物一区二区| 亚洲欧洲性图库| 91麻豆精品国产无毒不卡在线观看| 免费人成网站在线观看欧美高清| 欧美sm美女调教| 国产91丝袜在线观看| 亚洲三级在线免费| 5858s免费视频成人| 国内精品久久久久影院一蜜桃| 中文字幕一区二区在线观看| 欧美午夜理伦三级在线观看| 日本午夜精品视频在线观看| 国产午夜精品福利| 欧美午夜寂寞影院| 国产剧情av麻豆香蕉精品| 亚洲精品国产品国语在线app| 日韩一区二区中文字幕| 成人精品在线视频观看| 五月婷婷色综合| 久久久99精品免费观看不卡| 在线看国产日韩| 国产在线播精品第三| 一区二区三区在线视频观看58| 欧美变态凌虐bdsm| 色综合网色综合| 激情av综合网| 性做久久久久久免费观看| 久久精品视频网| 91精品国产aⅴ一区二区| 丁香婷婷深情五月亚洲| 舔着乳尖日韩一区| 国产日产亚洲精品系列| 欧美日韩在线精品一区二区三区激情| 国产麻豆精品视频| 香蕉加勒比综合久久| 国产精品美女久久久久久久网站| 91精品国产色综合久久不卡电影 | 国产剧情av麻豆香蕉精品| 亚洲二区在线视频| 日本一区二区三区视频视频| 91精品国产一区二区三区蜜臀| 99国产精品久久久久|