資源簡介
DSP 外部中斷

代碼片段和文件信息
//###########################################################################
//
//?FILE: DSP2833x_DefaultIsr.c
//
//?title: DSP2833x?Device?Default?Interrupt?Service?Routines.
//
//?This?file?contains?shell?ISR?routines?for?the?2833x?PIE?vector?table.
//?Typically?these?shell?ISR?routines?can?be?used?to?populate?the?entire?PIE
//?vector?table?during?device?debug.??In?this?manner?if?an?interrupt?is?taken
//?during?firmware?development?there?will?always?be?an?ISR?to?catch?it.
//
//?As?development?progresses?these?ISR?routines?can?be?eliminated?and?replaced
//?with?the?user‘s?own?ISR?routines?for?each?interrupt.??Since?these?shell?ISRs
//?include?infinite?loops?they?will?typically?not?be?included?as-is?in?the?final
//?production?firmware.
//
//###########################################################################
//?$TI?Release:?F2833x/F2823x?Header?Files?and?Peripheral?Examples?V140?$
//?$Release?Date:?March??4?2015?$
//?$Copyright:?Copyright?(C)?2007-2015?Texas?Instruments?Incorporated?-
//?????????????http://www.ti.com/?ALL?RIGHTS?RESERVED?$
//###########################################################################
#include?“DSP2833x_Device.h“?????//?DSP2833x?Headerfile?Include?File
#include?“DSP2833x_Examples.h“???//?DSP2833x?Examples?Include?File
//?Connected?to?INT13?of?CPU?(use?MINT13?mask):
//?Note?CPU-Timer1?is?reserved?for?TI?use?however?XINT13
//?ISR?can?be?used?by?the?user.
interrupt?void?INT13_ISR(void)?????//?INT13?or?CPU-Timer1
{
??//?Insert?ISR?Code?here
??//?Next?two?lines?for?debug?only?to?halt?the?processor?here
??//?Remove?after?inserting?ISR?Code
??asm?(“??????ESTOP0“);
??for(;;);
}
//?Note?CPU-Timer2?is?reserved?for?TI?use.
interrupt?void?INT14_ISR(void)?????//?CPU-Timer2
{
??//?Insert?ISR?Code?here
??//?Next?two?lines?for?debug?only?to?halt?the?processor?here
??//?Remove?after?inserting?ISR?Code
??asm?(“??????ESTOP0“);
??for(;;);
}
interrupt?void?DATALOG_ISR(void)???//?Datalogging?interrupt
{
???//?Insert?ISR?Code?here
???//?Next?two?lines?for?debug?only?to?halt?the?processor?here
???//?Remove?after?inserting?ISR?Code
???asm?(“??????ESTOP0“);
???for(;;);
}
interrupt?void?RTOSINT_ISR(void)???//?RTOS?interrupt
{
??//?Insert?ISR?Code?here
??//?Next?two?lines?for?debug?only?to?halt?the?processor?here
??//?Remove?after?inserting?ISR?Code
??asm?(“??????ESTOP0“);
??for(;;);
}
interrupt?void?EMUINT_ISR(void)????//?Emulation?interrupt
{
??//?Insert?ISR?Code?here
??//?Next?two?lines?for?debug?only?to?halt?the?processor?here
??//?Remove?after?inserting?ISR?Code
??asm?(“??????ESTOP0“);
??for(;;);
}
interrupt?void?NMI_ISR(void)???????//?Non-maskable?interrupt
{
??//?Insert?ISR?Code?here
??//?Next?two?lines?for?debug?only?to?halt?the?processor?here
??//?Remove?after?inserting?ISR?Code
??asm?(“??????ESTOP0“);
??for(;;);
}
interrupt?void?ILLEGAL_ISR(void)???//?Illegal?operation?TRAP
{
??//?Insert?ISR?Code?here
??//?Next?two?lines?for?debug?only?to?halt?the?processor?here
??//?Remove?after?inserting?ISR?Code
??asm(
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-03-29?14:24??Example_2833xExternalInterrupt\
?????文件?????????440??2015-11-03?22:55??Example_2833xExternalInterrupt\.ccsproject
?????文件???????22111??2015-11-03?22:57??Example_2833xExternalInterrupt\.cproject
?????目錄???????????0??2017-03-29?14:24??Example_2833xExternalInterrupt\.launches\
?????文件????????4975??2016-04-17?10:22??Example_2833xExternalInterrupt\.launches\Example_2833xExternalInterrupt.launch
?????文件?????????860??2015-11-03?22:55??Example_2833xExternalInterrupt\.project
?????目錄???????????0??2017-03-29?14:24??Example_2833xExternalInterrupt\.settings\
?????文件??????????62??2016-03-31?22:08??Example_2833xExternalInterrupt\.settings\org.eclipse.cdt.codan.core.prefs
?????文件?????????123??2015-11-03?22:55??Example_2833xExternalInterrupt\.settings\org.eclipse.cdt.debug.core.prefs
?????文件?????????307??2015-11-03?22:57??Example_2833xExternalInterrupt\.settings\org.eclipse.core.resources.prefs
?????目錄???????????0??2017-03-29?14:24??Example_2833xExternalInterrupt\Debug\
?????文件???????28309??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\Example_2833xExternalInterrupt.map
?????文件??????125926??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\Example_2833xExternalInterrupt.out
?????文件??????129766??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\Example_2833xExternalInterrupt_li
?????文件?????????429??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\ccsObjs.opt
?????目錄???????????0??2017-03-29?14:24??Example_2833xExternalInterrupt\Debug\cmd\
?????文件?????????289??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\cmd\subdir_rules.mk
?????文件?????????373??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\cmd\subdir_vars.mk
?????文件????????4957??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\makefile
?????文件?????????250??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\ob
?????目錄???????????0??2017-03-29?14:24??Example_2833xExternalInterrupt\Debug\source\
?????文件????????1341??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\source\DSP2833x_ADC_cal.obj
?????文件????????1628??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\source\DSP2833x_CodeStartBranch.obj
?????文件???????29569??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\source\DSP2833x_DefaultIsr.obj
?????文件????????6539??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\source\DSP2833x_DefaultIsr.pp
?????文件??????122362??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\source\DSP2833x_GlobalVariableDefs.obj
?????文件????????5115??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\source\DSP2833x_GlobalVariableDefs.pp
?????文件???????11665??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\source\DSP2833x_Gpio.obj
?????文件????????6371??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\source\DSP2833x_Gpio.pp
?????文件????????5894??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\source\DSP2833x_PieCtrl.obj
?????文件????????6455??2016-04-17?10:17??Example_2833xExternalInterrupt\Debug\source\DSP2833x_PieCtrl.pp
............此處省略54個文件信息
- 上一篇:基于LabVIEW的電機轉速控制系統設計
- 下一篇:CAD填充-巖性花紋填充圖案
評論
共有 條評論