// TI File $Revision: /main/1 $
// Checkin $Date: February 1, 2008 09:59:11 $
//###########################################################################
//
// FILE: DSP2834x_DefaultIsr.c
//
// TITLE: DSP2834x Device Default Interrupt Service Routines.
//
// This file contains shell ISR routines for the 2834x 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: DSP2834x C/C++ Header Files V1.10 $
// $Release Date: July 27, 2009 $
//###########################################################################
#include "DSP2834x_Device.h" // DSP2834x Headerfile Include File
#include "DSP2834x_Examples.h" // DSP2834x 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 - Reserved
// INT1.2 - Reserved
// 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 - Reserved
// INT1.7
interrupt void TINT0_ISR(void) // CPU-Timer 0
{
// 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.8
interrupt void WAKEINT_ISR(void) // WD, LOW Power
{
// 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(;;);
}
// -----------------------------------------------------------
// PIE Group 2 - MUXed into CPU INT2
// -----------------------------------------------------------
// INT2.1
interrupt void EPWM1_TZINT_ISR(void) // EPWM-1
{
// Insert ISR Code here
// To receive more interrupts from this PIE group, acknowledge this interrupt
// PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;
// Next two lin
没有合适的资源?快使用搜索试试~ 我知道了~
lab9-hrpwm.rar_TMS320F28335_hrpwm
共81个文件
h:29个
obj:11个
c:9个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 19 浏览量
2022-09-14
22:03:52
上传
评论
收藏 429KB RAR 举报
温馨提示
TMS320F28335 HRPWM例程
资源详情
资源评论
资源推荐
收起资源包目录
lab9-hrpwm.rar (81个子文件)
lab9-hrpwm
hrpwm.sbl 6KB
include
DSP2834x_PieCtrl.h 6KB
DSP28x_Project.h 722B
DSP2834x_EPwm.h 16KB
DSP2834x_ECan.h 44KB
DSP2834x_Spi.h 6KB
DSP2834x_DevEmu.h 2KB
DSP2834x_DefaultIsr.h 6KB
DSP2834x_PieVect.h 6KB
DSP2834x_Mcbsp.h 31KB
DSP2834x_Examples.h.bak 7KB
DSP2834x_Examples.h 7KB
DSP2834x_DMA.h 13KB
DSP2834x_EPwm_defines.h 4KB
DSP2834x_EQep.h 9KB
DSP2834x_I2c_defines.h 4KB
DSP2834x_Xintf.h 4KB
DSP2834x_XIntrupt.h 2KB
DSP2834x_GlobalPrototypes.h 8KB
DSP2834x_CpuTimers.h 6KB
DSP2834x_SWPrioritizedIsrLevels.h 142KB
DSP2834x_I2c.h 7KB
DSP2834x_ECap.h 6KB
DSP2834x_Sci.h 8KB
DSP2834x_Device.h 6KB
IQmathLib.h 148KB
SFO_V5.h 3KB
SFO.h 2KB
DSP2834x_Dma_defines.h 2KB
DSP2834x_SysCtrl.h 12KB
DSP2834x_Gpio.h 15KB
Debug.lkf 1KB
hrpwm.CS_
SYMBOL.DBF 224KB
FILE.CDX 3KB
FILE.FPT 2KB
FILE.DBF 1KB
SYMBOL.FPT 381KB
SYMBOL.CDX 300KB
hrpwm.paf2 9KB
.settings
org.eclipse.core.resources.prefs 307B
org.eclipse.cdt.codan.core.prefs 62B
org.eclipse.cdt.debug.core.prefs 123B
.project 835B
CMD
28346_RAM_lnk.cmd 7KB
DSP2834x_Headers_nonBIOS.cmd 8KB
.cproject 28KB
.ccsproject 339B
hrpwm.pjt 2KB
Debug
DSP2834x_CodeStartBranch.obj 1KB
sources.mk 2KB
DSP2834x_DefaultIsr.obj 145KB
DSP2834x_PieCtrl.obj 104KB
DSP2834x_GlobalVariableDefs.obj 113KB
DSP2834x_CpuTimers.obj 105KB
hrpwm.out 141KB
hrpwm.map 27KB
objects.mk 279B
ccsObjs.opt 383B
DSP2834x_Xintf.obj 108KB
DSP2834x_EPwm.obj 109KB
DSP2834x_SysCtrl.obj 108KB
makefile 4KB
CMD
subdir_vars.mk 373B
subdir_rules.mk 2KB
Example_2834xHRPWM.obj 110KB
DSP2834x_usDelay.obj 1KB
DSP2834x_PieVect.obj 111KB
source
subdir_vars.mk 2KB
subdir_rules.mk 7KB
source
DSP2834x_DefaultIsr.c 32KB
DSP2834x_EPwm.c 13KB
DSP2834x_GlobalVariableDefs.c 12KB
DSP2834x_CpuTimers.c 4KB
DSP2834x_usDelay.asm 3KB
DSP2834x_Xintf.c 10KB
DSP2834x_PieVect.c 7KB
DSP2834x_PieCtrl.c 3KB
DSP2834x_CodeStartBranch.asm 3KB
DSP2834x_SysCtrl.c 10KB
Example_2834xHRPWM.c 14KB
cc_build_Debug.log 3KB
共 81 条
- 1
钱亚锋
- 粉丝: 88
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0