📄 _csl_intcdispatchirq.c
字号:
/* ============================================================================ * 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_intcDispatchIRQ.c * * @brief INTC Functional Layer: _CSL_intcDispatchIRQ(..) * * Description * - _CSL_intcDispatchIRQ(..) 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_intcDispatchIRQ, ".text");interruptvoid _CSL_intcDispatchIRQ ( void){ CSL_IntcEventHandlerRecord *irqHandlerRecord; irqHandlerRecord = (CSL_IntcEventHandlerRecord *)_CSL_intc1GetIRQEntry( ); if (irqHandlerRecord == CSL_sysDataHandle->intcEventHandlerRecord) { return; /* spurious interrupt */ } if (irqHandlerRecord->handler != _CSL_INTC_EVTHANDLER_UNPLUGGED) { (*irqHandlerRecord->handler)(irqHandlerRecord->arg); } _CSL_intc1AckIRQ(irqHandlerRecord->evtId - _CSL_INTC_EVENTID__INTC1START);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -