#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
{
// 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;
}
//---------------------------------------------------------------------------
// EV-A Default ISRs:
//
interrupt void PDPINTA_ISR( void ) // EV-A
{
// Insert ISR Code here
// To recieve more interrupts from this PIE group, acknowledge this interrupt
没有合适的资源?快使用搜索试试~ 我知道了~
CpuTimer0.rar_cputime0
共83个文件
h:18个
obj:10个
pp:10个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 197 浏览量
2022-09-24
07:12:40
上传
评论
收藏 273KB RAR 举报
温馨提示
这个程序是DSP 2812定时器的例程,简单实用,也很容易懂,可以帮到初学者!
资源推荐
资源详情
资源评论
收起资源包目录
CpuTimer0.rar (83个子文件)
EX01_CpuTimer0
DSP28_ECan.h 45KB
DSP28_Gpio.c 691B
rts2800n.lib 167KB
DSP28_GlobalPrototypes.h 624B
Debug.lkv 918B
DSP28_Xintf.h 3KB
FLASH.cmd 5KB
DSP28_DefaultIsr.c 24KB
DSP28_SysCtrl.h 9KB
CpuTime0.paf 13KB
CpuTime0.paf2 14KB
DSP28_PieCtrl.c 1KB
DSP28_CpuTimers.h 4KB
DSP28_Adc.h 6KB
DSP28_SysCtrl.c 2KB
DSP28_Gpio.h 28KB
DSP28_Ev.h 20KB
Release.lkv 934B
DSP28_InitPeripherals.c 629B
Debug.lkf 1KB
CpuTime0.CS_
SYMBOL.DBF 205KB
FILE.CDX 3KB
FILE.FPT 1KB
FILE.DBF 1KB
SYMBOL.FPT 356KB
SYMBOL.CDX 274KB
DSP28_Device.h 3KB
ext_inf.H 329B
CpuTime0.pjt 1KB
DSP28_Mcbsp.h 33KB
DSP28_PieCtrl.h 5KB
DSP28_XIntrupt.h 2KB
DSP28_Spi.h 5KB
Release.lkf 1KB
DSP28_CpuTimers.c 3KB
SRAM.cmd 4KB
DSP28_Xintf.c 3KB
DSP28_DevEmu.h 2KB
DSP28_GlobalVariableDefs.c 2KB
CpuTime0.sbl 4KB
F2812.gel 6KB
DSP28_Sci.h 7KB
cc_build_Release.log 2KB
DSP28_PieVect.h 6KB
Debug
DSP28_DefaultIsr.obj 35KB
CpuTime0.out 127KB
DSP28_InitPeripherals.obj 2KB
CpuTimer0.obj 14KB
DSP28_CpuTimers.obj 5KB
DSP28_Gpio.obj 10KB
CpuTime0.map 15KB
DSP28_PieCtrl.obj 5KB
DSP28_PieVect.obj 16KB
DSP28_GlobalVariableDefs.obj 109KB
DSP28_Xintf.obj 5KB
DSP28_SysCtrl.obj 6KB
DSP28_DefaultIsr.h 4KB
CpuTimer0.c 1KB
cc_build_Debug.log 2KB
DSP28_PieVect.c 5KB
CpuTime0
.settings
org.eclipse.core.resources.prefs 208B
org.eclipse.cdt.codan.core.prefs 62B
org.eclipse.cdt.debug.core.prefs 123B
.project 4KB
.cproject 19KB
.ccsproject 336B
Debug
DSP28_Gpio.pp 4KB
sources.mk 2KB
ccsSrcs.opt 675B
DSP28_PieCtrl.pp 4KB
objects.mk 257B
DSP28_SysCtrl.pp 4KB
DSP28_DefaultIsr.pp 4KB
subdir_vars.mk 4KB
ccsObjs.opt 877B
subdir_rules.mk 7KB
makefile 5KB
DSP28_PieVect.pp 4KB
CpuTimer0.pp 4KB
DSP28_CpuTimers.pp 4KB
DSP28_Xintf.pp 4KB
DSP28_GlobalVariableDefs.pp 4KB
DSP28_InitPeripherals.pp 4KB
共 83 条
- 1
资源评论
JaniceLu
- 粉丝: 82
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Anaconda3-2024.02-1-Windows-x86-64.exe
- stm32cubemx can通信 一个板子负责传感器采集 一个板子负责wifi传递到网页 网页可控制传感器板子.zip
- k8s集群搭建1.27.1版本(来源于图灵k8s笔记)
- 树莓派连接 DS18B20 温度传感器读取温度时监控客户端,服务器端连接状况,实现断线重连机制
- 小游戏-坦克大战,你认为的小游戏
- 最好用的富文本编辑器wangeditor
- jQuery 3.7.1
- 校园失物招领小程序源码可作毕业设计
- SAP客户端GUI740安装包(JAVA版本)
- winlibs-x86-64-posix-seh-gcc-13.2.0-llvm-16.0.6-mingw-w64msvcrt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功