DSP28335 中pwm 定时器中断设置

  • v1_492452
    了解作者
  • C/C++
    开发工具
  • 385.1KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-02-20 19:25
    上传日期
该资料详细介绍了 28335中 PWM定时器的设置 各种寄存器的配置
DSP28335 中pwm 定时器中断设置
  • lab26-PWM_TIMER_INT
  • PWM_TIMER_INT.CS_
  • FILE.FPT
    4KB
  • FILE.DBF
    2.2KB
  • SYMBOL.FPT
    512B
  • SYMBOL.CDX
    10.5KB
  • FILE.CDX
    3KB
  • SYMBOL.DBF
    290B
  • source
  • DSP2833x_I2C.c
    2.7KB
  • DSP2833x_SWPrioritizedDefaultIsr.c
    38.7KB
  • DSP2833x_Adc.c
    2.4KB
  • DSP2833x_CodeStartBranch.asm
    3.2KB
  • DSP2833x_DMA.c
    21.3KB
  • DSP2833x_SWPrioritizedPieVect.c
    11KB
  • DSP2833x_PieVect.c
    7KB
  • DSP2833x_EPwm.c
    11.1KB
  • DSP2833x_ECap.c
    8.5KB
  • DSP2833x_CpuTimers.c
    4.2KB
  • DSP2833x_Mcbsp.c
    14.5KB
  • DSP2833x_Sci.c
    6.1KB
  • DSP2833x_DisInt.asm
    1.7KB
  • DSP2833x_MemCopy.c
    1.5KB
  • DSP2833x_GlobalVariableDefs.c
    11.1KB
  • DSP2833x_Spi.c
    4.3KB
  • DSP2833x_EQep.c
    5.9KB
  • DSP2833x_DefaultIsr.c
    30KB
  • DSP2833x_PieCtrl.c
    2.5KB
  • DSP2833x_Xintf.c
    9.7KB
  • DSP2833x_Gpio.c
    3.1KB
  • DSP2833x_ADC_cal.asm
    1.4KB
  • DSP2833x_DBGIER.asm
    876B
  • DSP2833x_SysCtrl.c
    11.8KB
  • PWM_TIMER_INT.c
    12.3KB
  • DSP2833x_CSMPasswords.asm
    2.5KB
  • DSP2833x_usDelay.asm
    2.7KB
  • DSP2833x_ECan.c
    18.8KB
  • Debug
  • DSP2833x_CpuTimers.obj
    111KB
  • DSP2833x_PieCtrl.obj
    109.9KB
  • PWM_TIMER_INT.out
    159.6KB
  • DSP2833x_GlobalVariableDefs.obj
    119KB
  • DSP2833x_SysCtrl.obj
    114.2KB
  • PWM_TIMER_INT.obj
    116.4KB
  • DSP2833x_PieVect.obj
    116.7KB
  • DSP2833x_EPwm.obj
    113KB
  • DSP2833x_Xintf.obj
    111.9KB
  • DSP2833x_DBGIER.obj
    1KB
  • DSP2833x_ADC_cal.obj
    1.1KB
  • DSP2833x_Adc.obj
    109.6KB
  • DSP2833x_Gpio.obj
    109.4KB
  • DSP2833x_CodeStartBranch.obj
    1.4KB
  • DSP2833x_DefaultIsr.obj
    150.7KB
  • DSP2833x_usDelay.obj
    1.1KB
  • PWM_TIMER_INT.map
    27.8KB
  • cmd
  • F28335.cmd
    8.8KB
  • 28335_RAM_lnk.cmd
    6.8KB
  • DSP2833x_Headers_nonBIOS.cmd
    8.2KB
  • DSP2833x_Headers_BIOS.cmd
    8.4KB
  • include
  • IQmathLib.h
    122.9KB
  • DSP2833x_Spi.h
    6.1KB
  • DSP2833x_EQep.h
    9.8KB
  • DSP2833x_EPwm.h
    16.2KB
  • DSP2833x_Examples.h
    5.3KB
  • DSP2833x_GlobalPrototypes.h
    8.2KB
  • DSP2833x_I2c_defines.h
    4KB
  • SFO_V5.h
    2.9KB
  • DSP2833x_XIntrupt.h
    2.3KB
  • DSP2833x_I2c.h
    6.9KB
  • DSP2833x_Xintf.h
    3.7KB
  • DSP2833x_Dma_defines.h
    1.9KB
  • DSP2833x_ECan.h
    44.5KB
  • SFO.h
    2KB
  • DSP2833x_Project.h
    720B
  • DSP2833x_DefaultIsr.h
    6.2KB
  • DSP2833x_PieCtrl.h
    5.8KB
  • DSP2833x_Mcbsp.h
    30.8KB
  • DSP2833x_EPwm_defines.h
    3.9KB
  • DSP2833x_DevEmu.h
    2.6KB
  • DSP2833x_Device.h
    5.8KB
  • DSP2833x_Gpio.h
    15.9KB
  • DSP2833x_CpuTimers.h
    5.7KB
  • DSP2833x_DMA.h
    13KB
  • DSP2833x_SWPrioritizedIsrLevels.h
    141.7KB
  • DSP2833x_Adc.h
    10.2KB
  • DSP2833x_SysCtrl.h
    13KB
  • DSP2833x_ECap.h
    6KB
  • DSP2833x_PieVect.h
    6.2KB
  • DSP2833x_Sci.h
    8KB
  • PWM_TIMER_INT.sbl
    8.4KB
  • PWM_TIMER_INT.paf2
    11.4KB
  • Debug.lkf
    1.7KB
  • cc_build_Debug.log
    4.7KB
  • PWM_TIMER_INT.pjt
    1.8KB
内容介绍
// TI File $Revision: /main/2 $ // Checkin $Date: April 4, 2007 14:25:27 $ //########################################################################### // // FILE: DSP2833x_SWPrioritizedDefaultIsr.c // // TITLE: DSP2833x Device Default Software Prioritized Interrupt Service Routines. // //########################################################################### // // $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 #include "DSP2833x_SWPrioritizedIsrLevels.h" // 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. #if (INT13PL != 0) interrupt void INT13_ISR(void) // INT13 or CPU-Timer1 { IER |= MINT13; // Set "global" priority EINT; // Insert ISR Code here // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } #endif // Connected to INT14 of CPU (use MINT14 mask): #if (INT14PL != 0) interrupt void INT14_ISR(void) // CPU-Timer2 { IER |= MINT14; // Set "global" priority EINT; // Insert ISR Code here....... // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } #endif // Connected to INT15 of CPU (use MINT15 mask): #if (INT15PL != 0) interrupt void DATALOG_ISR(void) // Datalogging interrupt { IER |= MINT15; // Set "global" priority EINT; // Insert ISR Code here....... // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } #endif // Connected to INT16 of CPU (use MINT16 mask): #if (INT16PL != 0) interrupt void RTOSINT_ISR(void) // RTOS interrupt { IER |= MINT16; // Set "global" priority EINT; // Insert ISR Code here....... // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } #endif // Connected to EMUINT of CPU (non-maskable): interrupt void EMUINT_ISR(void) // Emulation interrupt { EINT; // Insert ISR Code here....... // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } // Connected to NMI of CPU (non-maskable): interrupt void NMI_ISR(void) // Non-maskable interrupt { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 { EINT; // 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 // ----------------------------------------------------------- // Connected to PIEIER1_1 (use MINT1 and MG11 masks): #if (G11PL != 0) interrupt void SEQ1INT_ISR( void ) // ADC { // Set interrupt priority: volatile Uint16 TempPIEIER = PieCtrlRegs.PIEIER1.all; IER |= M_INT1; IER &= MINT1; // Set "global" priority PieCtrlRegs.PIEIER1.all &= MG11; // Set "group" priority PieCtrlRegs.PIEACK.all = 0xFFFF; // Enable PIE interrupts EINT; // Insert ISR Code here....... // Restore registers saved: DINT; PieCtrlRegs.PIEIER1.all = TempPIEIER; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0"); for(;;); } #endif // Connected to PIEIER1_2 (use MINT1 and MG12 masks): #if (G12PL != 0) interrupt void SEQ2INT_ISR( void ) // ADC { // Set interrupt priority: volatile Uint16 TempPIEIER = PieCtrlRegs.PIEIER1.all; IER |= M_INT1; IER &= MINT1; // Set "global" priority PieCtrlRegs.PIEIER1.all &= MG12; // Set "group" priority PieCtrlRegs.PIEACK.all = 0xFFFF; // Enable PIE interrupts EINT; // Insert ISR Code here....... // Restore registers saved: DINT; PieCtrlRegs.PIEIER1.all = TempPIEIER; // Next two lines for debug only to halt the processor here // Remove after inserting ISR Code asm (" ESTOP0");
评论
    相关推荐
    • dsp开发手册
      DSP工程师手册,非常好的一本书,对DSP学习者非常有帮助
    • dsp原理PPT
      dsp的相关原理介绍,学习dsp开发的小伙伴可以参考一下!
    • DSP28335
      DSP28335....................................................
    • DSP精华问答
      此文档收集了很多关于DSP开发中遇到的问题以及解决办法,实用性很强!
    • DSP培训讲义
      DSP培训讲义。非常全面、系统的介绍了DSP开发的过程以及需要注意的问题。
    • dsp学习教程
      关于dsp学习的资料,包括一些教程,DSP芯片原理及应用,DSP的指令系统,基于DSP5402的音频处理设计与实现。
    • DSPDSP例程
      DSP中的各种例程,CCS程序的各种代码,适合初学者 DSP中的各种例程,CCS程序的各种代码,适合初学者
    • DSPBuilder
      DSPBuilder-讲义,DSP Builder设计初步
    • DSP_MATLAB
      本光盘共包含三个子目录,分别是DSP_FORTRAN, DSP_C和DSP_MATLAB。DSP_FORTRAN和DSP_C各含有约40个信号处理的子程序,概括了书中所涉及到的绝大部分算法。程序分别由FORTRAN语言和C语言编写(MA模型、ARMA模型及最小...
    • DSP实验指导书
      DSP 是一门理论与实践并重的技术,在学习了DSP 的结构体系与基本原理以 后,必须配合通过一些典型的DSP 实验,以加深对DSP 软、硬件的理解与掌握, 同时学会DSP 的开发工具的使用,了解DSP 应用系统的开发环境...