//###########################################################################
//
// 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
//###########################################################################
#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:
//
interrupt void WAKEINT_ISR(void) // WD
{
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
EX04_SPI_LED.zip (88个子文件)
EX04_SPI_LED
DSP28_PieCtrl.c 2KB
DSP28_InitPeripherals.c 1KB
Recycled(002).sys 0B
Debug.lkf 805B
DSP28_ECan.c 1KB
DSP28_XIntrupt.c 1KB
cc_build_Debug.log 376B
Debug
DSP28_Gpio.obj 10KB
DSP28_SysCtrl.obj 6KB
SPI_LED.map 15KB
DSP28_Spi.obj 6KB
DSP28_Sci.obj 454B
DSP28_InitPeripherals.obj 2KB
DSP28_DefaultIsr.obj 35KB
DSP28_PieCtrl.obj 5KB
main.obj 8KB
DSP28_PieVect.obj 16KB
RS232.map 15KB
DSP28_Ev.obj 453B
DSP28_GlobalVariableDefs.obj 109KB
SPI_LED.out 128KB
DSP28_ECan.h 46KB
DSP28_Adc.c 1KB
DSP28_Mcbsp.c 1KB
DSP28_Sci.c 1KB
cc_build_Release.log 2KB
DSP28_PieVect.c 5KB
FLASH.CMD 5KB
Recycled(005).sys 0B
DSP28_SysCtrl.h 10KB
DSP28_Gpio.h 29KB
RTS2800N.LIB 167KB
DSP28_GlobalVariableDefs.c 3KB
SPI_LED.paf 12KB
Debug.lkv 773B
SPI_LED.PJT 2KB
Release.lkf 781B
DSP28_Adc.h 6KB
DSP28_PieCtrl.h 6KB
DSP28_PieVect.h 6KB
DSP28_DefaultIsr.h 5KB
DSP28_Device.h 4KB
DSP28_DefaultIsr.c 24KB
DSP28_SysCtrl.c 3KB
Recycled(000).sys 0B
DSP28_Gpio.c 1KB
Recycled(004).sys 0B
Recycled.sys 0B
Release
DSP28_Gpio.obj 409B
DSP28_SysCtrl.obj 742B
DSP28_Spi.obj 594B
DSP28_Sci.obj 1KB
DSP28_InitPeripherals.obj 411B
DSP28_DefaultIsr.obj 3KB
DSP28_PieCtrl.obj 747B
main.obj 1KB
DSP28_PieVect.obj 5KB
DSP28_Ev.obj 1KB
RS232.out 11KB
DSP28_GlobalVariableDefs.obj 3KB
SPI_LED.out 11KB
SRAM.CMD 4KB
SPI_LED.sbl 4KB
DSP28_Sci.h 8KB
DSP28_GlobalPrototypes.h 1KB
DSP28_DevEmu.h 2KB
DSP28_CpuTimers.h 5KB
DSP28_Spi.c 2KB
DSP28_XIntrupt.h 2KB
DSP28_Xintf.h 4KB
DSP28_Spi.h 6KB
Recycled(001).sys 0B
DSP28_Ev.c 1KB
DSP28_Mcbsp.h 34KB
F2812.GEL 6KB
SPI_LED.paf2 14KB
DSP28_Xintf.c 3KB
Recycled(003).sys 0B
SPI_LED.CS_
FILE.FPT 1KB
FILE.DBF 1KB
SYMBOL.FPT 357KB
SYMBOL.CDX 275KB
FILE.CDX 3KB
SYMBOL.DBF 206KB
Release.lkv 781B
DSP28_CpuTimers.c 4KB
main.c 3KB
DSP28_Ev.h 20KB
共 88 条
- 1
资源评论
- dxh0404311042013-11-20不错 看了对如何使用有些了解
- chylchylchyl2015-07-07还行,但是我改了才能用
agkxxy
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功