📄 dsp281x_xintrupt.c
字号:
#include "DSP281x_Device.h"
#include "DSP281x_Examples.h" // DSP281x Examples Include File
//---------------------------------------------------------------------------
// InitXIntrupt:
//---------------------------------------------------------------------------
// This function initializes external interrupts to a known state.
//
void InitXIntrupt(void)
{
XIntruptRegs.XINT1CR.all=0x0001; //enable theXINT1, actived at the fall of clock
XIntruptRegs.XINT2CR.all=0x0001; //enable theXINT2, actived at the fall of clock
XIntruptRegs.XNMICR.all=0x0000; //not use
XIntruptRegs.XINT1CTR=0x0000; //not use
XIntruptRegs.XINT2CTR=0x0000; //not use
XIntruptRegs.XNMICTR=0x0000; //not use
}
//===========================================================================
// No more.
//===========================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -