_csl_intcdispatchfiq.c

来自「TI达芬奇dm644x各硬件模块测试代码」· C语言 代码 · 共 57 行

C
57
字号
/*  ============================================================================ *   Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005 * *   Use of this software is controlled by the terms and conditions found in the *   license agreement under which this software has been supplied. *   =========================================================================== *//** *  @file  _csl_intcDispatchFIQ.c * *  @brief  INTC Functional Layer: _CSL_intcDispatchFIQ(..) * *  Description *  - _CSL_intcDispatchFIQ(..) function definition * *  Modification *  - Modified on: 2004/06/12 *  - Reason: creation * *  @date   2004/06/12 * *  @author Francis S * */#include <csl_intc.h>#include <csl_sysData.h>#include <_csl_intc0.h>#include <_csl_intc1.h>#include <_csl_intc.h>#pragma CODE_SECTION (_CSL_intcDispatchFIQ, ".text");interruptvoid    _CSL_intcDispatchFIQ (        void){    CSL_IntcEventHandlerRecord *fiqHandlerRecord;    fiqHandlerRecord = (CSL_IntcEventHandlerRecord *)_CSL_intc1GetFIQEntry( );    if (fiqHandlerRecord == CSL_sysDataHandle->intcEventHandlerRecord) {        return; /* spurious interrupt */    }    if (fiqHandlerRecord->handler != _CSL_INTC_EVTHANDLER_UNPLUGGED) {        (*fiqHandlerRecord->handler)(fiqHandlerRecord->arg);    }    _CSL_intc1AckFIQ(fiqHandlerRecord->evtId - _CSL_INTC_EVENTID__INTC1START);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?