//###########################################################################
//
// FILE: F2837xS_DefaultISR.c
//
// TITLE: F2837xS Device Default Interrupt Service Routines
//
//###########################################################################
// $TI Release: F2837xS Support Library v180 $
// $Release Date: Fri Nov 6 16:27:58 CST 2015 $
// $Copyright: Copyright (C) 2014-2015 Texas Instruments Incorporated -
// http://www.ti.com/ ALL RIGHTS RESERVED $
//###########################################################################
#include "F2837xS_device.h" // F2837xS Header File Include File
#include "F2837xS_Examples.h" // F2837xS Examples Include File
//---------------------------------------------------------------------------
// CPU Timer 1 Interrupt
interrupt void TIMER1_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// CPU Timer 2 Interrupt
interrupt void TIMER2_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// Datalogging Interrupt
interrupt void DATALOG_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// RTOS Interrupt
interrupt void RTOS_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// Emulation Interrupt
interrupt void EMU_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// Non-Maskable Interrupt
interrupt void NMI_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// Illegal Operation Trap
interrupt void ILLEGAL_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 1
interrupt void USER1_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 2
interrupt void USER2_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 3
interrupt void USER3_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 4
interrupt void USER4_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 5
interrupt void USER5_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 6
interrupt void USER6_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 7
interrupt void USER7_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 8
interrupt void USER8_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 9
interrupt void USER9_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 10
interrupt void USER10_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 11
interrupt void USER11_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// User Defined Trap 12
interrupt void USER12_ISR(void)
{
// Insert ISR Code here
// Next two lines for debug only to halt the processor here
// Remove after inserting ISR Code
asm (" ESTOP0");
for(;;);
}
// 1.1 - ADCA Interrupt 1
interrupt void ADCA1_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(;;);
}
// 1.2 - ADCB Interrupt 1
interrupt void ADCB1_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(;;);
}
// 1.3 - ADCC Interrupt 1
interrupt void ADCC1_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(;;);
}
// 1.4 - XINT1 Interrupt
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(;;);
}
// 1.5 - XINT2 Interrupt
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(;;);
}
// 1.6 - ADCD Interrupt 1
interrupt void ADCD1_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(;;);
}
// 1.7 - Timer 0 Interrupt
interrupt void TIMER0_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
没有合适的资源?快使用搜索试试~ 我知道了~
tms320f28377d_timer.rar_tms320f28377d_定时器
共114个文件
h:64个
obj:10个
pp:8个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 1 下载量 103 浏览量
2022-09-24
10:34:54
上传
评论 1
收藏 409KB RAR 举报
温馨提示
定时器中断典型例程,介绍了定时器中断的寄存器配置,编写理定时器中断代码,供程序设计参考。
资源详情
资源评论
资源推荐
收起资源包目录
tms320f28377d_timer.rar_tms320f28377d_定时器 (114个子文件)
F2837xS_CodeStartBranch.asm 3KB
F2837xS_usDelay.asm 2KB
F2837xS_DefaultISR.c 51KB
F2837xS_SysCtrl.c 26KB
F2837xS_GlobalVariableDefs.c 21KB
F2837xS_PieVect.c 19KB
F2837xS_Gpio.c 12KB
cpu_timers_cpu01.c 5KB
F2837xS_CpuTimers.c 4KB
F2837xS_PieCtrl.c 2KB
.ccsproject 477B
F2837xS_Headers_nonBIOS.cmd 13KB
2837xS_Generic_FLASH_lnk.cmd 5KB
2837xS_Generic_RAM_lnk.cmd 3KB
.cproject 25KB
F2837xS_SWPrioritizedIsrLevels.h 461KB
F2837xS_gpio.h 243KB
Registers_C28x.h 102KB
F2837xS_sysctrl.h 71KB
F2837xS_output_xbar.h 58KB
F2837xS_epwm.h 54KB
F2837xS_epwm_xbar.h 52KB
F2837xS_memconfig.h 50KB
F2837xS_adc.h 47KB
F2837xS_piectrl.h 36KB
F2837xS_dcsm.h 21KB
F2837xS_sdfm.h 21KB
Types.h 21KB
F2837xS_pievect.h 19KB
F2837xS_xbar.h 17KB
F2837xS_upp.h 17KB
F2837xS_sdfm_drivers.h 16KB
F2837xS_flash.h 14KB
F2837xS_Examples.h 13KB
F2837xS_defaultisr.h 13KB
F2837xS_cla.h 13KB
F2837xS_mcbsp.h 12KB
F2837xS_eqep.h 12KB
F2837xS_GlobalPrototypes.h 12KB
F2837xS_emif.h 12KB
F2837xS_cmpss.h 11KB
F2837xS_Emif_defines.h 10KB
F2837xS_i2c.h 9KB
F2837xS_sci.h 9KB
F021.h 8KB
F2837xS_ecap.h 8KB
F2837xS_analogsubsys.h 7KB
F2837xS_spi.h 7KB
F2837xS_dma.h 6KB
F2837xS_nmiintrupt.h 6KB
F2837xS_Cla_defines.h 6KB
F2837xS_device.h 5KB
F2837xS_EPwm_defines.h 5KB
F2837xS_I2c_defines.h 5KB
F2837xS_Can_defines.h 5KB
F2837xS_input_xbar.h 5KB
F2837xS_dac.h 4KB
F2837xS_xint.h 4KB
F2837xS_cputimer.h 4KB
F2837xS_Dma_defines.h 4KB
F2837xS_Cla_typedefs.h 3KB
F2837xD.h 3KB
F2837xS_cputimervars.h 3KB
SFO_V8.h 3KB
FMC.h 3KB
F2837xS_Gpio_defines.h 2KB
F2837xS_Systick_defines.h 2KB
F2837xS_struct.h 1KB
F2837xS_Upp_defines.h 1KB
Helpers.h 1KB
F2837xS_Adc_defines.h 1KB
F2837xS_Pie_defines.h 1KB
F2837xS_sci_io.h 1KB
F2837xS_SysCtrl_defines.h 1KB
Constants.h 1KB
Registers.h 1015B
Init.h 927B
F28x_Project.h 853B
F021_F2837xD_C28x.h 826B
makefile 5KB
lab4_timer.map 70KB
lab04_timer.map 68KB
subdir_rules.mk 7KB
subdir_vars.mk 2KB
sources.mk 2KB
subdir_vars.mk 381B
subdir_rules.mk 289B
objects.mk 272B
F2837xS_GlobalVariableDefs.obj 461KB
F2837xS_Gpio.obj 152KB
cpu_timers_cpu01.obj 70KB
F2837xS_SysCtrl.obj 63KB
F2837xS_DefaultISR.obj 55KB
F2837xS_PieVect.obj 45KB
F2837xS_PieCtrl.obj 22KB
F2837xS_CpuTimers.obj 6KB
F2837xS_CodeStartBranch.obj 2KB
F2837xS_usDelay.obj 2KB
ccsObjs.opt 438B
lab04_timer.out 416KB
共 114 条
- 1
- 2
邓凌佳
- 粉丝: 65
- 资源: 1万+
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1