DSP TMS320F2812 例程

  • L1_621081
    了解作者
  • C/C++
    开发工具
  • 6.6MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-02-20 20:33
    上传日期
DSP TMS320F2812 开发板例程 共享出来,供大家一起学习
DSP TMS320F2812 例程
内容介绍
//########################################################################### // // FILE: DSP28_DefaultIsr.c // // TITLE: DSP28 Device Default Interrupt Service Routines. // //########################################################################### // // Ver | dd mmm yyyy | Who | Description of changes // =====|=============|======|=============================================== // 0.55| 06 May 2002 | L.H. | EzDSP Alpha Release // 0.56| 20 May 2002 | L.H. | No change // 0.57| 27 May 2002 | L.H. | No change // 0.58| 29 Jun 2002 | L.H. | No change //########################################################################### #include "DSP28_Device.h" //--------------------------------------------------------------------------- // INT13, INT14, NMI, XINT1, XINT2 Default ISRs: // interrupt void INT13_ISR(void) // INT13 or CPU-Timer1 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void INT14_ISR(void) // CPU-Timer2 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void NMI_ISR(void) // Non-maskable interrupt { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void XINT1_ISR(void) { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void XINT2_ISR(void) { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } //--------------------------------------------------------------------------- // DATALOG, RTOSINT, EMUINT, RTOS Default ISRs: // interrupt void DATALOG_ISR(void) // Datalogging interrupt { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void RTOSINT_ISR(void) // RTOS interrupt { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void EMUINT_ISR(void) // Emulation interrupt { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } //--------------------------------------------------------------------------- // ILLEGAL Instruction Trap ISR: // interrupt void ILLEGAL_ISR(void) // Illegal operation TRAP { // Insert ISR Code here asm(" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } //--------------------------------------------------------------------------- // USER Traps Default ISRs: // interrupt void USER0_ISR(void) // User Defined trap 0 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER1_ISR(void) // User Defined trap 1 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER2_ISR(void) // User Defined trap 2 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER3_ISR(void) // User Defined trap 3 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER4_ISR(void) // User Defined trap 4 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER5_ISR(void) // User Defined trap 5 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER6_ISR(void) // User Defined trap 6 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER7_ISR(void) // User Defined trap 7 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER8_ISR(void) // User Defined trap 8 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER9_ISR(void) // User Defined trap 9 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER10_ISR(void) // User Defined trap 10 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } interrupt void USER11_ISR(void) // User Defined trap 11 { // Insert ISR Code here // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } //--------------------------------------------------------------------------- // ADC Default ISR: // interrupt void ADCINT_ISR(void) // ADC { // Insert ISR Code here // To recieve more interrupts from this PIE group, acknowledge this interrupt // PieCtrl.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } //--------------------------------------------------------------------------- // CPU Timer 0 Default ISR: // interrupt void TINT0_ISR(void) // CPU-Timer 0 { // Insert ISR Code here // To recieve more interrupts from this PIE group, acknowledge this interrupt // PieCtrl.PIEACK.all = PIEACK_GROUP1; // Next two lines for debug only - remove after inserting // ISR Code asm (" ESTOP0"); for(;;); // Uncomment this line after adding ISR Code // return; } //--------------------------------------------------------------------------- // Watchdog Default ISR: // interr
评论
    相关推荐
    • 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 应用系统的开发环境...