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

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

?? xintc.c

?? 關于xilinx大學計劃配需教程實驗五源代碼
?? C
?? 第 1 頁 / 共 2 頁
字號:
* @param    InstancePtr is a pointer to the XIntc instance to be worked on.* @param    Id contains the ID of the interrupt source and should be in the*           range of 0 to XPAR_INTC_MAX_NUM_INTR_INPUTS - 1 with 0 being the*           highest priority interrupt.* @param    Handler to the handler for that interrupt.* @param    CallBackRef is the callback reference, usually the instance pointer*           of the connecting driver.** @return** - XST_SUCCESS if the handler was connected correctly.** @note** WARNING: The handler provided as an argument will overwrite any handler* that was previously connected.*****************************************************************************/XStatus XIntc_Connect(XIntc *InstancePtr, Xuint8 Id,                      XInterruptHandler Handler, void *CallBackRef){    /*     * assert the arguments     */    XASSERT_NONVOID(InstancePtr != XNULL);    XASSERT_NONVOID(Id < XPAR_INTC_MAX_NUM_INTR_INPUTS);    XASSERT_NONVOID(Handler != XNULL);    XASSERT_NONVOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);    /*     * the Id is used as an index into the table to select the proper handler     */    InstancePtr->CfgPtr->HandlerTable[Id].Handler = Handler;    InstancePtr->CfgPtr->HandlerTable[Id].CallBackRef = CallBackRef;    return XST_SUCCESS;}/*****************************************************************************//**** Updates the interrupt table with the Null Handler and XNULL arguments at the* location pointed at by the Id. This effectively disconnects that interrupt* source from any handler. The interrupt is disabled also.** @param    InstancePtr is a pointer to the XIntc instance to be worked on.* @param    Id contains the ID of the interrupt source and should be in the*           range of 0 to XPAR_INTC_MAX_NUM_INTR_INPUTS - 1 with 0 being the*           highest priority interrupt.** @return** None.** @note** None.*****************************************************************************/void XIntc_Disconnect(XIntc *InstancePtr, Xuint8 Id){    Xuint32 CurrentIER;    Xuint32 Mask;    /*     * assert the arguments     */    XASSERT_VOID(InstancePtr != XNULL);    XASSERT_VOID(Id < XPAR_INTC_MAX_NUM_INTR_INPUTS);    XASSERT_VOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);    /* disable the interrupt such that it won't occur while disconnecting     * the handler, only disable the specified interrupt id without modifying     * the other interrupt ids     */    CurrentIER = XIntc_In32(InstancePtr->BaseAddress + XIN_IER_OFFSET);    Mask = XIntc_BitPosMask[Id];      /* convert from integer id to bit mask */    XIntc_Out32(InstancePtr->BaseAddress + XIN_IER_OFFSET,              (CurrentIER & ~Mask));    /* disconnect the handler and connect a stub, the callback reference     * must be set to this instance to allow unhandled interrupts to be     * tracked     */    InstancePtr->CfgPtr->HandlerTable[Id].Handler = StubHandler;    InstancePtr->CfgPtr->HandlerTable[Id].CallBackRef = InstancePtr;}/*****************************************************************************//**** Enables the interrupt source provided as the argument Id. Any pending* interrupt condition for the specified Id will occur after this function is* called.** @param    InstancePtr is a pointer to the XIntc instance to be worked on.* @param    Id contains the ID of the interrupt source and should be in the*           range of 0 to XPAR_INTC_MAX_NUM_INTR_INPUTS - 1 with 0 being the*           highest priority interrupt.** @return** None.** @note** None.*****************************************************************************/void XIntc_Enable(XIntc *InstancePtr, Xuint8 Id){    Xuint32 CurrentIER;    Xuint32 Mask;    /*     * assert the arguments     */    XASSERT_VOID(InstancePtr != XNULL);    XASSERT_VOID(Id < XPAR_INTC_MAX_NUM_INTR_INPUTS);    XASSERT_VOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);    /*     * the Id is used to create the appropriate mask for the     * desired bit position. Id currently limited to 0 - 31     */    Mask = XIntc_BitPosMask[Id];    /*     * enable the selected interrupt source by reading the interrupt enable     * register and then modifying only the specified interrupt id enable     */    CurrentIER = XIntc_In32(InstancePtr->BaseAddress + XIN_IER_OFFSET);    XIntc_Out32(InstancePtr->BaseAddress + XIN_IER_OFFSET,              (CurrentIER | Mask));}/*****************************************************************************//**** Disables the interrupt source provided as the argument Id such that the* interrupt controller will not cause interrupts for the specified Id. The* interrupt controller will continue to hold an interrupt condition for the* Id, but will not cause an interrupt.** @param    InstancePtr is a pointer to the XIntc instance to be worked on.* @param    Id contains the ID of the interrupt source and should be in the*           range of 0 to XPAR_INTC_MAX_NUM_INTR_INPUTS - 1 with 0 being the*           highest priority interrupt.** @return** None.** @note** None.*****************************************************************************/void XIntc_Disable(XIntc *InstancePtr, Xuint8 Id){    Xuint32 CurrentIER;    Xuint32 Mask;    /*     * assert the arguments     */    XASSERT_VOID(InstancePtr != XNULL);    XASSERT_VOID(Id < XPAR_INTC_MAX_NUM_INTR_INPUTS);    XASSERT_VOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);    /*     * the Id is used to create the appropriate mask for the     * desired bit position. Id currently limited to 0 - 31     */    Mask = XIntc_BitPosMask[Id];    /*     * disable the selected interrupt source by reading the interrupt enable     * register and then modifying only the specified interrupt id     */    CurrentIER = XIntc_In32(InstancePtr->BaseAddress + XIN_IER_OFFSET);    XIntc_Out32(InstancePtr->BaseAddress + XIN_IER_OFFSET,              (CurrentIER & ~Mask));}/*****************************************************************************//**** Acknowledges the interrupt source provided as the argument Id. When the* interrupt is acknowledged, it causes the interrupt controller to clear its* interrupt condition.** @param    InstancePtr is a pointer to the XIntc instance to be worked on.* @param    Id contains the ID of the interrupt source and should be in the*           range of 0 to XPAR_INTC_MAX_NUM_INTR_INPUTS - 1 with 0 being the*           highest priority interrupt.** @return** None.** @note** None.*****************************************************************************/void XIntc_Acknowledge(XIntc *InstancePtr, Xuint8 Id){    Xuint32 Mask;    /*     * assert the arguments     */    XASSERT_VOID(InstancePtr != XNULL);    XASSERT_VOID(Id < XPAR_INTC_MAX_NUM_INTR_INPUTS);    XASSERT_VOID(InstancePtr->IsReady == XCOMPONENT_IS_READY);    /*     * the Id is used to create the appropriate mask for the     * desired bit position. Id currently limited to 0 - 31     */    Mask = XIntc_BitPosMask[Id];    /*     * acknowledge the selected interrupt source, no read of the acknowledge     * register is necessary since only the bits set in the mask will be     * affected by the write     */    XIntc_Out32(InstancePtr->BaseAddress + XIN_IAR_OFFSET, Mask);}/*****************************************************************************//**** A stub for the asynchronous callback. The stub is here in case the upper* layers forget to set the handler.** @param    CallBackRef is a pointer to the upper layer callback reference** @return** None.** @note** None.*******************************************************************************/static void StubHandler(void *CallBackRef){    /*     * verify that the inputs are valid     */    XASSERT_VOID(CallBackRef != XNULL);    /*     * indicate another unhandled interrupt for stats     */    ((XIntc *)CallBackRef)->UnhandledInterrupts++;}/*****************************************************************************//**** Looks up the device configuration based on the unique device ID. A table* contains the configuration info for each device in the system.** @param    DeviceId is the unique identifier for a device.** @return** A pointer to the XIntc configuration structure for the specified device, or* XNULL if the device was not found.** @note** None.*******************************************************************************/XIntc_Config *XIntc_LookupConfig(Xuint16 DeviceId){    XIntc_Config *CfgPtr = XNULL;    int i;    for (i=0; i < XPAR_XINTC_NUM_INSTANCES; i++)    {        if (XIntc_ConfigTable[i].DeviceId == DeviceId)        {            CfgPtr = &XIntc_ConfigTable[i];            break;        }    }    return CfgPtr;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
9i看片成人免费高清| 中文字幕一区二区三区乱码在线 | 亚洲男人的天堂在线观看| 欧美不卡一区二区三区四区| 99精品热视频| 一本色道久久加勒比精品| jiyouzz国产精品久久| 处破女av一区二区| 99在线精品免费| 欧美三级日本三级少妇99| 91久久精品一区二区| 色综合天天性综合| 欧美日韩一本到| 91精品国产91久久综合桃花| 精品视频在线免费| 日韩一级大片在线| 久久久久国产精品麻豆ai换脸| 日韩精品一区二区三区蜜臀 | 美女诱惑一区二区| 精品一区二区三区久久久| 精品一区二区三区的国产在线播放| 久久激情五月婷婷| 成人动漫中文字幕| 欧美日韩精品欧美日韩精品| 欧美在线观看一二区| 555www色欧美视频| 欧美国产精品一区二区| 亚洲人成小说网站色在线| 亚洲激情综合网| 久88久久88久久久| 一本在线高清不卡dvd| 欧洲国内综合视频| 久久综合精品国产一区二区三区 | 欧美在线视频不卡| 精品日韩欧美在线| 亚洲国产综合色| 国产麻豆91精品| 欧美日韩成人在线一区| 久久日韩粉嫩一区二区三区| 欧美—级在线免费片| 亚洲成a人片在线观看中文| 国内不卡的二区三区中文字幕 | 91在线视频在线| 欧美成人a在线| 亚洲一区二区三区不卡国产欧美| 日韩高清不卡一区二区三区| 另类调教123区| 欧美亚洲国产一区二区三区va| 欧美岛国在线观看| 亚洲成人av电影在线| 成人福利在线看| 久久久噜噜噜久久人人看| 亚洲一本大道在线| 99久久久精品| 中日韩av电影| 国产成人综合视频| 精品国产乱码久久久久久影片| 一区二区国产视频| 91在线国产观看| 亚洲国产精品成人综合色在线婷婷 | 久久久久亚洲综合| 毛片av一区二区三区| 色婷婷av一区| 综合久久久久久| 91麻豆精东视频| 国产精品色婷婷久久58| 国产一区在线看| 精品伦理精品一区| 精品在线你懂的| 精品捆绑美女sm三区| 亚洲电影你懂得| 欧美挠脚心视频网站| 亚洲最新视频在线观看| 99精品视频在线观看| 国产视频在线观看一区二区三区| 毛片不卡一区二区| 日韩欧美一级精品久久| 亚洲国产成人av网| 欧美一区二区久久久| 香蕉久久一区二区不卡无毒影院 | 日韩视频免费观看高清完整版| 亚洲精品乱码久久久久久黑人 | 国产三级精品三级| 国产寡妇亲子伦一区二区| 精品国产一区二区三区忘忧草| 蜜臀久久99精品久久久画质超高清 | 成熟亚洲日本毛茸茸凸凹| 久久精品一区二区三区四区| 日本强好片久久久久久aaa| 欧美丰满美乳xxx高潮www| 视频一区二区欧美| 欧美一区二区三区四区五区| 亚洲午夜羞羞片| 精品福利在线导航| 成人免费高清在线观看| 亚洲欧洲精品一区二区三区| 久久国产三级精品| 国产精品麻豆欧美日韩ww| 91美女在线视频| 日韩精品欧美成人高清一区二区| 91精品中文字幕一区二区三区| 免费看黄色91| 国产精品久久久久一区二区三区共| 成人h精品动漫一区二区三区| 亚洲欧洲成人精品av97| 在线看日本不卡| 蜜臀久久99精品久久久久久9| 日本一区二区三级电影在线观看| 99精品欧美一区二区三区小说 | 亚洲精品一区二区在线观看| 蜜臀久久久99精品久久久久久| 久久综合av免费| 欧美性大战久久| 国产精品一区三区| 亚洲午夜激情网页| 久久精品欧美日韩精品| 97久久精品人人澡人人爽| 午夜欧美大尺度福利影院在线看| 日韩手机在线导航| 色又黄又爽网站www久久| 日日骚欧美日韩| 1000精品久久久久久久久| 欧美高清www午色夜在线视频| 国产成人av一区| 亚洲国产婷婷综合在线精品| 51午夜精品国产| 欧美性生活影院| 波多野结衣精品在线| 日本不卡一区二区三区| 亚洲美女一区二区三区| 欧美大胆一级视频| 欧美区一区二区三区| 99久久精品国产麻豆演员表| 一区二区三区欧美激情| 久久精品一区二区三区四区| 91久久线看在观草草青青| 精品亚洲porn| 青青草精品视频| 亚洲国产另类av| 亚洲少妇中出一区| 日本一区二区三区久久久久久久久不 | 亚洲女同女同女同女同女同69| 777a∨成人精品桃花网| 99久久99久久精品国产片果冻| 麻豆91在线播放| 蜜桃av噜噜一区二区三区小说| 亚洲人成网站色在线观看| 国产日韩高清在线| 久久久国产精华| 国产欧美日韩综合| 国产精品国产自产拍高清av王其 | 成人欧美一区二区三区视频网页| 精品三级av在线| 久久只精品国产| 国产女主播在线一区二区| 欧美一区二区免费视频| 777a∨成人精品桃花网| 欧美影院一区二区三区| 99久久精品免费看| 在线欧美一区二区| 欧美精品一二三| 日韩精品在线网站| 久久久久久久免费视频了| 精品av久久707| 国产欧美精品日韩区二区麻豆天美| 精品国产第一区二区三区观看体验| 欧美一区二区三区在线视频 | 日本亚洲免费观看| 国内精品免费**视频| 国产一区二区导航在线播放| 日韩一区精品视频| 国产女同性恋一区二区| 欧美激情综合五月色丁香小说| 国产美女精品一区二区三区| 亚洲综合精品久久| 日本欧美肥老太交大片| 日本美女视频一区二区| 久久精品国产精品亚洲综合| 亚洲电影在线播放| 国产一区二三区好的| 成人免费视频国产在线观看| 高清久久久久久| 欧美亚洲动漫精品| 久久香蕉国产线看观看99| 久久综合狠狠综合| 亚洲国产精品天堂| 国产一区不卡精品| 欧美中文字幕一区二区三区| 色综合久久中文字幕综合网| 一本到不卡免费一区二区| 欧美日韩久久久一区| 欧美不卡一区二区| 一区二区三区高清| 国产精品自产自拍| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 精品国产一区二区三区久久久蜜月| 中文无字幕一区二区三区| 一区二区三区国产精华| 激情五月激情综合网| 一本色道亚洲精品aⅴ|