//###########################################################################
//
// FILE: DSP2833x_SWPrioritizedDefaultIsr.c
//
// TITLE: DSP2833x Device Default Software Prioritized Interrupt Service Routines.
//
//###########################################################################
// $TI Release: F2833x/F2823x Header Files and Peripheral Examples V141 $
// $Release Date: November 6, 2015 $
// $Copyright: Copyright (C) 2007-2015 Texas Instruments Incorporated -
// http://www.ti.com/ ALL RIGHTS RESERVED $
//###########################################################################
#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
__asm(" NOP");
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
__asm(" NOP");
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_4 (use MINT1 and MG14 masks):
#if (G14PL != 0)
interrupt void XINT1_ISR(void)
{
// Set interrupt priority:
volatile Uint16 TempPIEIER = PieCtrlRegs.PIEIER1.all;
IER |= MINT1; // Set "global" priority
Pi
没有合适的资源?快使用搜索试试~ 我知道了~
PWM.zip_28335_dsp28335 控制pwm_pwm
共229个文件
h:29个
c:23个
prefs:23个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 189 浏览量
2022-09-23
18:59:06
上传
评论
收藏 490KB ZIP 举报
温馨提示
基于DSP28335的pwm控制。eeeeee
资源推荐
资源详情
资源评论
收起资源包目录
PWM.zip_28335_dsp28335 控制pwm_pwm (229个子文件)
006ab51395e600151b24e78fc7c034e2 4KB
00e7e92298e600151b24e78fc7c034e2 4KB
102b75be9ae600151b24e78fc7c034e2 2KB
10727a2498e600151b24e78fc7c034e2 4KB
10fd980095e600151b24e78fc7c034e2 4KB
2079674794e600151b24e78fc7c034e2 174B
2179674794e600151b24e78fc7c034e2 0B
302f654794e600151b24e78fc7c034e2 142B
304d604794e600151b24e78fc7c034e2 0B
307394dd94e600151b24e78fc7c034e2 3KB
30ad4b1b98e600151b24e78fc7c034e2 4KB
30e496dd94e600151b24e78fc7c034e2 268B
312f654794e600151b24e78fc7c034e2 0B
40035e4794e600151b24e78fc7c034e2 65B
402992dd94e600151b24e78fc7c034e2 511B
4031afad9ae600151b24e78fc7c034e2 2KB
41035e4794e600151b24e78fc7c034e2 0B
412992dd94e600151b24e78fc7c034e2 734B
42035e4794e600151b24e78fc7c034e2 103B
5066544794e600151b24e78fc7c034e2 0B
5070a2589ee600151113fa6333ae8e8d 142B
50da285395e600151b24e78fc7c034e2 4KB
51e1a4589ee600151113fa6333ae8e8d 174B
6007d19f95e600151b24e78fc7c034e2 2KB
60b59d589ee600151113fa6333ae8e8d 103B
70898a1395e600151b24e78fc7c034e2 2KB
7095bc2298e600151b24e78fc7c034e2 2KB
70fa98589ee600151113fa6333ae8e8d 65B
80914f2498e600151b24e78fc7c034e2 2KB
90d26b0095e600151b24e78fc7c034e2 2KB
a00ba0be9ae600151b24e78fc7c034e2 3KB
a07ca2be9ae600151b24e78fc7c034e2 4KB
a0ea1b1b98e600151b24e78fc7c034e2 2KB
a10ba0be9ae600151b24e78fc7c034e2 8KB
a17ca2be9ae600151b24e78fc7c034e2 276B
DSP2833x_CodeStartBranch.asm 3KB
DSP2833x_usDelay.asm 3KB
DSP2833x_CSMPasswords.asm 3KB
DSP2833x_DisInt.asm 2KB
DSP2833x_ADC_cal.asm 2KB
DSP2833x_DBGIER.asm 1005B
b043005395e600151b24e78fc7c034e2 2KB
b0d764dd94e600151b24e78fc7c034e2 2KB
build 0B
DSP2833x_SWPrioritizedDefaultIsr.c 48KB
DSP2833x_DefaultIsr.c 29KB
DSP2833x_DMA.c 21KB
DSP2833x_ECan.c 15KB
DSP2833x_Mcbsp.c 14KB
DSP2833x_SysCtrl.c 12KB
DSP2833x_GlobalVariableDefs.c 11KB
DSP2833x_EPwm.c 11KB
DSP2833x_SWPrioritizedPieVect.c 11KB
DSP2833x_Xintf.c 9KB
DSP2833x_ECap.c 8KB
DSP2833x_PieVect.c 7KB
DSP2833x_Sci.c 6KB
DSP2833x_EQep.c 6KB
DSP2833x_Spi.c 4KB
DSP2833x_CpuTimers.c 4KB
DSP2833x_Gpio.c 3KB
DSP2833x_I2C.c 3KB
DSP2833x_PieCtrl.c 2KB
DSP2833x_Adc.c 2KB
PWM.c 2KB
DSP2833x_MemCopy.c 1KB
specs.c 1B
.ccsproject 488B
F28335.cmd 9KB
F28334.cmd 9KB
F28332.cmd 9KB
DSP2833x_Headers_nonBIOS.cmd 8KB
DSP2833x_Headers_nonBIOS.cmd 8KB
DSP2833x_Headers_BIOS.cmd 8KB
28335_RAM_lnk.cmd 7KB
28335_RAM_lnk.cmd 7KB
28334_RAM_lnk.cmd 7KB
28332_RAM_lnk.cmd 7KB
specs.cpp 1B
.cproject 18KB
usagedata.csv 50B
d082dcad9ae600151b24e78fc7c034e2 4KB
d182dcad9ae600151b24e78fc7c034e2 268B
e038daad9ae600151b24e78fc7c034e2 3KB
e138daad9ae600151b24e78fc7c034e2 8KB
f03a03a095e600151b24e78fc7c034e2 4KB
f28335.gel 22KB
f28235.gel 22KB
f28334.gel 22KB
f28234.gel 22KB
f28332.gel 22KB
f28232.gel 22KB
DSP2833x_DualMap_EPWM.gel 10KB
DSP2833x_Peripheral.gel 6KB
DSP2833x_SWPrioritizedIsrLevels.h 136KB
DSP2833x_ECan.h 43KB
DSP2833x_Mcbsp.h 30KB
DSP2833x_EPwm.h 16KB
DSP2833x_Gpio.h 15KB
DSP2833x_DMA.h 13KB
共 229 条
- 1
- 2
- 3
资源评论
钱亚锋
- 粉丝: 88
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功