資源簡介
如何使用CCS建立SVPWM工程,手把手教你寫SVPWM代碼編程

代碼片段和文件信息
//###########################################################################
//
//?FILE: DSP281x_DefaultIsr.c
//
//?title: DSP281x?Device?Default?Interrupt?Service?Routines.
//
//###########################################################################
//
//??Ver?|?dd?mmm?yyyy?|?Who??|?Description?of?changes
//?=====|=============|======|===============================================
//??1.00|?11?Sep?2003?|?L.H.?|?Changes?since?previous?version?(v.58?Alpha)
//??????|?????????????|??????|?Search?&?Replace?PieCtrl.?with?PieCtrlRegs.
//??????|?????????????|??????|?Added?PIE?Ack?statements?for?XINT1?and?XINT2?ISRs
//??????|?????????????|??????|?Changed?the?order?to?match?the?PIE?vector?table
//??????|?????????????|??????|?Changed?USER0-USER11?to?USER1-USER12
//###########################################################################
#include?“DSP281x_Device.h“?????//?DSP281x?Headerfile?Include?File
#include?“DSP281x_Examples.h“???//?DSP281x?Examples?Include?File
//?Note?CPU-Timer1?ISR?is?reserved?for?TI?use.
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?ISR?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(“??????????ESTOP0“);
??for(;;);
}
interrupt?void?USER1_ISR(void)?????//?User?Defined?trap?1
{
??//?Insert?ISR?Code?here
??//?Next?two?lines?for?debug?only?to?halt?the?processor?here
??//?Remove?after?inserting?ISR?Code
???asm?(“??????ESTOP0“);
???for(;;);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-09-05?10:22??SVPWM\
?????目錄???????????0??2014-09-05?10:22??SVPWM\CMD\
?????文件????????4973??2003-09-11?10:52??SVPWM\CMD\DSP281x_Headers_nonBIOS.cmd
?????文件????????4781??2011-04-20?14:45??SVPWM\CMD\F2812_EzDSP_RAM_lnk.cmd
?????目錄???????????0??2014-09-05?10:22??SVPWM\Debug\
?????文件???????37268??2011-09-02?10:36??SVPWM\Debug\DSP281x_DefaultIsr.obj
?????文件??????117052??2011-09-02?10:36??SVPWM\Debug\DSP281x_GlobalVariableDefs.obj
?????文件????????5339??2011-09-02?10:36??SVPWM\Debug\DSP281x_PieCtrl.obj
?????文件???????16484??2011-09-02?10:36??SVPWM\Debug\DSP281x_PieVect.obj
?????文件????????9404??2011-09-02?10:36??SVPWM\Debug\DSP281x_SysCtrl.obj
?????文件???????18340??2011-09-02?10:36??SVPWM\Debug\SVPWM.map
?????文件??????145639??2011-09-02?10:36??SVPWM\Debug\SVPWM.out
?????文件???????13978??2011-04-21?14:39??SVPWM\Debug\SVPWM.wks
?????文件???????42713??2011-09-02?10:36??SVPWM\Debug\main.obj
?????文件?????????851??2011-09-02?10:36??SVPWM\Debug.lkf
?????目錄???????????0??2014-09-05?10:22??SVPWM\Include\
?????文件????????8751??2003-09-11?10:54??SVPWM\Include\DSP281x_Adc.h
?????文件????????5935??2003-09-11?10:53??SVPWM\Include\DSP281x_CpuTimers.h
?????文件????????4940??2003-09-11?10:53??SVPWM\Include\DSP281x_DefaultIsr.h
?????文件????????2956??2003-09-11?10:53??SVPWM\Include\DSP281x_DevEmu.h
?????文件????????4615??2003-09-11?10:53??SVPWM\Include\DSP281x_Device.h
?????文件???????47803??2003-09-11?10:54??SVPWM\Include\DSP281x_ECan.h
?????文件???????24830??2003-09-11?10:53??SVPWM\Include\DSP281x_Ev.h
?????文件????????3525??2003-09-11?10:35??SVPWM\Include\DSP281x_Examples.h
?????文件????????2374??2003-09-11?10:35??SVPWM\Include\DSP281x_GlobalPrototypes.h
?????文件???????29925??2003-09-11?10:53??SVPWM\Include\DSP281x_Gpio.h
?????文件???????35920??2003-09-11?12:18??SVPWM\Include\DSP281x_Mcbsp.h
?????文件????????5943??2003-09-11?10:53??SVPWM\Include\DSP281x_PieCtrl.h
?????文件????????6530??2003-09-11?10:53??SVPWM\Include\DSP281x_PieVect.h
?????文件??????147079??2003-09-11?10:35??SVPWM\Include\DSP281x_SWPrioritizedIsrLevels.h
?????文件????????8406??2003-09-11?10:52??SVPWM\Include\DSP281x_Sci.h
............此處省略24個文件信息
- 上一篇:硬盤邏輯鎖匯編源碼
- 下一篇:Akamai CDN
評論
共有 條評論