_csl_pscintpendstat.c
来自「TI达芬奇dm644x各硬件模块测试代码」· C语言 代码 · 共 28 行
C
28 行
#include <csl_pscAux.h>
#pragma CODE_SECTION (CSL_pscIntPendStat, ".text:csl_section:psc");
CSL_Status CSL_pscIntPendStat(
CSL_PscHandle hPsc,
CSL_PscIntPendRegs *pscIntPendRegs
){
CSL_PscRegsOvly pscRegs = hPsc->regs;
/*Law: Need to add NULL pointer error checking as necessary */
pscIntPendRegs->mdIntPendReg0 = (Uint32) pscRegs->MERRPR0;
pscIntPendRegs->mdIntPendReg1 = (Uint32) pscRegs->MERRPR1;
pscIntPendRegs->pdIntPendReg = (Uint32) pscRegs->PERRPR ;
pscIntPendRegs->pdIntPendEpcReg = (Uint32) pscRegs->EPCPR ;
return (CSL_SOK);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?