• 杨帆远航
    了解作者
  • C/C++
    开发工具
  • 359KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 10 积分
    下载积分
  • 5
    下载次数
  • 2020-12-13 20:36
    上传日期
永磁同步电机矢量控制源程序、代码可信、ADS1210解码芯片,SPI角度和速度计算
PMSM.rar
  • PMSM
  • Users
  • DSP2833x_svpwm.c
    1.5KB
  • DSP2833x_SWPrioritizedIsrLevels.h
    141.7KB
  • DSP2833X_middle_bubble.c
    2.4KB
  • DSP2833x_Mcbsp.h
    30.8KB
  • DSP2833x_SysCtrl.c
    11.9KB
  • DSP2833x_usDelay.asm
    2.7KB
  • DSP2833X_ESO.h
    1.6KB
  • DSP2833x_Examples.h
    5.3KB
  • DSP2833x_EPwm.h
    16.2KB
  • DSP2833x_Dma_defines.h
    1.9KB
  • DSP2833x_EPwm_defines.h
    3.9KB
  • DSP2833x_I2c.h
    6.9KB
  • 28335SVPWM.c
    12.8KB
  • IQmath_fpu32.lib
    887.4KB
  • DSP2833x_ECan.c
    18.6KB
  • DSP2833x_Adc.c
    4.4KB
  • DSP2833x_GlobalVariableDefs.c
    11.1KB
  • DSP2833x_Spi.h
    6.1KB
  • DSP2833x_PieCtrl.c
    2.5KB
  • DSP2833x_DisInt.asm
    1.7KB
  • DSP2833x_XIntrupt.h
    2.3KB
  • resolv
    0B
  • DSP2833x_SysCtrl.h
    13KB
  • DSP2833x_EQep.h
    9.8KB
  • DSP2833x_GlobalPrototypes.h
    8.2KB
  • DSP2833x_Gpio.h
    15.9KB
  • DSP2833x_Angle.c
    764B
  • DSP2833x_ECap.h
    6KB
  • DSP2833x_PieVect.c
    7KB
  • DSP2833x_DMA.c
    21.3KB
  • DSP2833x_PieVect.h
    6.2KB
  • DSP2833x_DefaultIsr.c
    30KB
  • DSP2833x_CpuTimers.c
    4.2KB
  • DSP2833x_ECap.c
    8.5KB
  • DSP2833x_Sci.h
    8KB
  • DSP2833x_Adc.h
    10.2KB
  • DSP2833x_ADC_cal.asm
    1.4KB
  • DSP2833x_Xintf.c
    9.8KB
  • DSP2833x_CSMPasswords.asm
    2.5KB
  • DSP2833x_EPwm.c
    11.2KB
  • DSP2833x_DMA.h
    13KB
  • DSP2833x_EQep.c
    5.9KB
  • DSP2833x_CpuTimers.h
    5.7KB
  • DSP2833x_ECan.h
    44.5KB
  • DSP2833x_Project.h
    720B
  • 28335_RAM_lnk.cmd
    3.9KB
  • DSP2833x_DBGIER.asm
    876B
  • DSP2833x_CodeStartBranch.asm
    3.2KB
  • IQmathLib.h
    122.9KB
  • rts2800_fpu32_fast_supplement.lib
    14.2KB
  • SFO_V5.h
    2.9KB
  • DSP2833x_Gpio.c
    3.4KB
  • SFO.h
    2KB
  • DSP2833x_Mcbsp.c
    14.5KB
  • EPwmSetup1.c
    5.4KB
  • DSP2833x_Sci.c
    7.1KB
  • DSP2833x_ESJ.h
    774B
  • DSP2833X_middle_bubble.h
    2.3KB
  • DSP2833x_I2C.c
    2.7KB
  • DSP2833x_Device.h
    5.9KB
  • DSP2833x_Spi.c
    6.9KB
  • DSP2833x_Headers_nonBIOS.cmd
    8.2KB
  • DSP2833x_MemCopy.c
    1.5KB
  • DSP2833x_PieCtrl.h
    5.8KB
  • DSP2833x_DevEmu.h
    2.6KB
  • DSP2833x_Xintf.h
    3.7KB
  • DSP2833x_I2c_defines.h
    4KB
  • DSP2833x_DefaultIsr.h
    6.2KB
  • .settings
  • org.eclipse.core.resources.prefs
    220B
  • org.eclipse.cdt.codan.core.prefs
    62B
  • org.eclipse.cdt.debug.core.prefs
    123B
  • Debug
  • Users
  • DSP2833x_I2C.obj
    12KB
  • DSP2833x_PieCtrl.d
    2.5KB
  • DSP2833x_EQep.obj
    13.3KB
  • DSP2833x_CpuTimers.obj
    6.1KB
  • DSP2833x_Mcbsp.d
    2.4KB
  • DSP2833x_Adc.obj
    13.3KB
  • DSP2833x_DefaultIsr.obj
    32.3KB
  • DSP2833x_CpuTimers.d
    2.5KB
  • DSP2833x_MemCopy.d
    1.9KB
  • DSP2833x_PieVect.obj
    17.6KB
  • DSP2833x_Angle.obj
    3.4KB
  • DSP2833x_DisInt.obj
    1.5KB
  • DSP2833x_SysCtrl.obj
    16.9KB
  • DSP2833x_Angle.d
    2.4KB
  • DSP2833x_I2C.d
    2.4KB
  • DSP2833x_Gpio.obj
    12.4KB
  • DSP2833x_GlobalVariableDefs.d
    2.2KB
  • DSP2833x_svpwm.obj
    4.4KB
  • DSP2833x_DBGIER.obj
    1.4KB
  • DSP2833x_Spi.obj
    18.3KB
  • subdir_vars.mk
    5.9KB
  • DSP2833x_CSMPasswords.obj
    861B
  • DSP2833x_DMA.obj
    36.7KB
  • DSP2833x_ECan.d
    2.4KB
内容介绍
// TI File $Revision: /main/1 $ // Checkin $Date: August 18, 2006 13:46:06 $ //########################################################################### // // 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 develpment progresses, these ISR rotuines 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: DSP2833x Header Files V1.01 $ // $Release Date: September 26, 2007 $ //########################################################################### #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(" 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(;;); } interrupt void USER2_ISR(void) // User Defined trap 2 { // 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 USER3_ISR(void) // User Defined trap 3 { // 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 USER4_ISR(void) // User Defined trap 4 { // 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 USER5_ISR(void) // User Defined trap 5 { // 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 USER6_ISR(void) // User Defined trap 6 { // 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 USER7_ISR(void) // User Defined trap 7 { // 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 USER8_ISR(void) // User Defined trap 8 { // 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 USER9_ISR(void) // User Defined trap 9 { // 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 USER10_ISR(void) // User Defined trap 10 { // 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 USER11_ISR(void) // User Defined trap 11 { // 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 USER12_ISR(void) // User Defined trap 12 { // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // ----------------------------------------------------------- // PIE Group 1 - MUXed into CPU INT1 // ----------------------------------------------------------- // INT1.1 interrupt void SEQ1INT_ISR(void) //SEQ1 ADC { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT1.2 interrupt void SEQ2INT_ISR(void) //SEQ2 ADC { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm(" ESTOP0"); for(;;); } // INT1.3 - Reserved // INT1.4 interrupt void XINT1_ISR(void) { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT1.5 interrupt void XINT2_ISR(void) { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT1.6 interrupt void ADCINT_ISR(void) // ADC { // Insert ISR Code here // To receive more interrupts from this PIE group, acknowledge this interrupt // PieCtrlRegs.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // INT1.7 interrupt void TINT0_ISR(void) // CPU-Timer 0 { // Insert ISR Code here // To
评论
    相关推荐