// 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");
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
usb.rar_28335 usb_USB通信_dsp usb_dsp28335_dsp28335 usb (102个子文件)
DSP2833x_CodeStartBranch.asm 3KB
DSP2833x_usDelay.asm 3KB
DSP2833x_CSMPasswords.asm 3KB
DSP2833x_DisInt.asm 2KB
DSP2833x_ADC_cal.asm 1KB
DSP2833x_DBGIER.asm 876B
DSP2833x_SWPrioritizedDefaultIsr.c 39KB
DSP2833x_DefaultIsr.c 30KB
usb.c 23KB
DSP2833x_DMA.c 21KB
DSP2833x_ECan.c 19KB
DSP2833x_Mcbsp.c 14KB
DSP2833x_SysCtrl.c 12KB
DSP2833x_EPwm.c 11KB
DSP2833x_GlobalVariableDefs.c 11KB
DSP2833x_SWPrioritizedPieVect.c 11KB
DSP2833x_Xintf.c 10KB
DSP2833x_ECap.c 8KB
DSP2833x_PieVect.c 7KB
DSP2833x_Sci.c 6KB
DSP2833x_EQep.c 6KB
descriptors.c 6KB
DSP2833x_Spi.c 4KB
DSP2833x_CpuTimers.c 4KB
DSP2833x_Gpio.c 3KB
DSP2833x_I2C.c 3KB
DSP2833x_PieCtrl.c 3KB
DSP2833x_Adc.c 2KB
DSP2833x_MemCopy.c 1KB
SYMBOL.CDX 366KB
FILE.CDX 3KB
F28335.cmd 9KB
DSP2833x_Headers_BIOS.cmd 8KB
DSP2833x_Headers_nonBIOS.cmd 8KB
28335_RAM_lnk.cmd 7KB
SYMBOL.DBF 258KB
FILE.DBF 2KB
SYMBOL.FPT 439KB
FILE.FPT 3KB
f28335.gel 120KB
28335_usb.gel 1KB
DSP2833x_SWPrioritizedIsrLevels.h 142KB
IQmathLib.h 123KB
DSP2833x_ECan.h 44KB
DSP2833x_Mcbsp.h 31KB
DSP2833x_EPwm.h 16KB
DSP2833x_Gpio.h 16KB
DSP2833x_DMA.h 13KB
DSP2833x_SysCtrl.h 13KB
DSP2833x_Adc.h 10KB
DSP2833x_EQep.h 10KB
sx2.h 9KB
DSP2833x_GlobalPrototypes.h 8KB
DSP2833x_Sci.h 8KB
DSP2833x_I2c.h 7KB
DSP2833x_PieVect.h 6KB
DSP2833x_DefaultIsr.h 6KB
DSP2833x_Spi.h 6KB
DSP2833x_ECap.h 6KB
DSP2833x_PieCtrl.h 6KB
DSP2833x_CpuTimers.h 6KB
DSP2833x_Device.h 6KB
DSP2833x_Examples.h 5KB
DSP2833x_I2c_defines.h 4KB
DSP2833x_EPwm_defines.h 4KB
DSP2833x_Xintf.h 4KB
SFO_V5.h 3KB
DSP2833x_DevEmu.h 3KB
DSP2833x_XIntrupt.h 2KB
SFO.h 2KB
DSP2833x_Dma_defines.h 2KB
ep0req.h 2KB
descriptors.h 1KB
DSP2833x_Project.h 720B
type.h 719B
USB.h 423B
IQmath.lib 514KB
SFO_TI_Build_V5.lib 26KB
SFO_TI_Build_V5_fpu.lib 25KB
SFO_TI_Build_fpu.lib 25KB
SFO_TI_Build.lib 6KB
Debug.lkf 2KB
cc_build_Debug.log 4KB
usb.map 30KB
DSP2833x_DefaultIsr.obj 149KB
usb.obj 142KB
DSP2833x_DMA.obj 134KB
DSP2833x_GlobalVariableDefs.obj 119KB
DSP2833x_PieVect.obj 117KB
DSP2833x_SysCtrl.obj 115KB
DSP2833x_Xintf.obj 114KB
DSP2833x_PieCtrl.obj 110KB
DSP2833x_Adc.obj 110KB
DSP2833x_Gpio.obj 109KB
descriptors.obj 2KB
DSP2833x_CodeStartBranch.obj 1KB
DSP2833x_usDelay.obj 1KB
DSP2833x_ADC_cal.obj 1KB
usb.out 189KB
usb.paf2 11KB
共 102 条
- 1
- 2
APei
- 粉丝: 64
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 肇庆市怀集县应急避难场所统计表信息
- 飞行昆虫机器人 飞行昆虫机器人
- 崩铁2.3(SourlCool版).apk
- 知识蒸馏-基于Pytorch通过匹配训练轨迹进行数据集蒸馏-附项目源码+流程教程-优质项目实战.zip
- 儿童节 python庆祝代码简要介绍-20240601.docx
- 知识蒸馏-基于Pytorch实现的语义分割结构化知识蒸馏算法-附项目源码+流程教程-优质项目实战.zip
- 小白物联网智能家居毕设参考STM32+ESP8266/MQTT+OneNet+UniApp
- BeanUtil.java,对象属性拷贝工具
- 糖尿病肾病检测数据集VOC+YOLO格式4122张5类别.7z
- win10/11 更新禁用/开启
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0