資源簡介
自己用TI例程修的DSP28335的SCI中FIFO的485中斷收發通信,親測可用。

代碼片段和文件信息
//###########################################################################
//
//?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(
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????472??2017-10-18?16:35??Example_2833xSci_FFDLB_int\.ccsproject
?????文件??????22115??2015-11-01?19:33??Example_2833xSci_FFDLB_int\.cproject
?????文件???????7933??2017-10-19?16:01??Example_2833xSci_FFDLB_int\.launches\Example_2833xSci_FFDLB_int.launch
?????文件????????856??2015-11-01?19:30??Example_2833xSci_FFDLB_int\.project
?????文件?????????62??2015-11-01?19:30??Example_2833xSci_FFDLB_int\.settings\org.eclipse.cdt.codan.core.prefs
?????文件????????123??2015-11-01?19:30??Example_2833xSci_FFDLB_int\.settings\org.eclipse.cdt.debug.core.prefs
?????文件????????307??2015-11-01?19:33??Example_2833xSci_FFDLB_int\.settings\org.eclipse.core.resources.prefs
?????文件???????7270??2017-07-27?11:04??Example_2833xSci_FFDLB_int\cmd\28335_RAM_lnk.cmd
?????文件???????8438??2007-09-21?11:09??Example_2833xSci_FFDLB_int\cmd\DSP2833x_Headers_nonBIOS.cmd
?????文件????????424??2017-10-19?16:01??Example_2833xSci_FFDLB_int\Debug\ccsObjs.opt
?????文件????????289??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\cmd\subdir_rules.mk
?????文件????????373??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\cmd\subdir_vars.mk
?????文件??????29139??2017-10-19?16:00??Example_2833xSci_FFDLB_int\Debug\Example_2833xSci_FFDLB_int.map
?????文件?????129470??2017-10-19?16:00??Example_2833xSci_FFDLB_int\Debug\Example_2833xSci_FFDLB_int.out
?????文件?????132025??2017-10-19?16:00??Example_2833xSci_FFDLB_int\Debug\Example_2833xSci_FFDLB_int_li
?????文件???????4953??2017-10-19?16:01??Example_2833xSci_FFDLB_int\Debug\makefile
?????文件????????250??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\ob
?????文件???????1308??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_ADC_cal.obj
?????文件???????1595??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_CodeStartBranch.obj
?????文件??????29536??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_DefaultIsr.obj
?????文件???????4889??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_DefaultIsr.pp
?????文件?????122329??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_GlobalVariableDefs.obj
?????文件???????3861??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_GlobalVariableDefs.pp
?????文件???????5861??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_PieCtrl.obj
?????文件???????4805??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_PieCtrl.pp
?????文件??????17887??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_PieVect.obj
?????文件???????4805??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_PieVect.pp
?????文件??????13117??2017-10-19?11:33??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_Sci.obj
?????文件???????4693??2017-10-19?11:33??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_Sci.pp
?????文件??????16419??2017-10-18?16:29??Example_2833xSci_FFDLB_int\Debug\source\DSP2833x_SysCtrl.obj
............此處省略59個文件信息
- 上一篇:libssh2.lib
- 下一篇:quartus II 13.1 破解
評論
共有 條評論