版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、TMS320F2812外设例程系列之 Defaultlsr/ TI File $Revision: /main/2 $/ Checkin $Date: April 29, 2005 11:10:44 $/# #/ FlLE: DSP281x_Defaultlsr.c/ TlTLE: DSP281x Device Default lnterrupt ServiceRoutines./# #/ $Tl Release: DSP281x Header Files V1.11 $/ $Release Date: September 26, 2007 $/# #include "DSP
2、281x_Device.h" / DSP281xHeaderfile lnclude File#include "DSP281x_Examples.h" /DSP281x Examples lnclude File/ Note CPU-Timer1 ISR is reserved for TI use. interrupt void INT13_ISR(void) / INT13 or CPU-Timer1/ Insert ISR Code here/ Next two lines for debug only to halt the pr
3、ocessor here/ Remove after inserting ISR Codeasm (" ESTOP0"); for(;);/ Note CPU-Timer2 ISR 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 Codeasm (&
4、quot; 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 Codeasm (" ESTOP0"); for(;);interrupt void RTOSINT_ISR(void) / RTOSinterrupt / Insert
5、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 inser
6、ting ISR Codeasm (" 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 Codeasm (" ESTOP0"); for(;);interrupt void ILLEGAL_ISR(void) / Il
7、legal operation TRAP/ Insert ISR Code here/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm(" 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
8、 here/ Remove after inserting ISR Codeasm (" 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 Codeasm (" ESTOP0"); for(;);interrupt void
9、 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
10、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 theprocessor here/ Remove after inserting ISR Codeasm (" ESTOP0");f
11、or(;);interrupt void USER6_ISR(void) / User Defined trap 6/ Insert ISR Code here/ Next two lines for debug only to halt theprocessor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;); interrupt void USER7_ISR(void) / User Defined trap 7/ Insert ISR Code here/ Next two lin
12、es for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" 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 Codeasm (" E
13、STOP0");for(;);interrupt void USER9_ISR(void) / User Defined trap 9/ Insert ISR Code here/ Next two lines for debug only to halt theprocessor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);interrupt void USER10_ISR(void) / User Defined trap 10/ Insert ISR Code
14、 here/ Next two lines for debug only to halt theprocessor here/ Remove after inserting ISR Codeasm (" 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 C
15、odeasm (" 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 Codeasm (" ESTOP0");for(;); / PIE Group 1 - MUXed into CPU INT1/ INT1.1inte
16、rrupt void PDPINTA_ISR( void ) / EV-A/ 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 Codeasm (" ESTOP0")
17、;for(;);/ INT1.2interrupt void PDPINTB_ISR(void) / EV-B/ 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 Codeasm ("
18、 ESTOP0");for(;);/ INT1.3 - Reserved/ INT1.4interrupt 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 inser
19、ting ISR Codeasm (" 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
20、after inserting ISR Codeasm (" ESTOP0");for(;);/ INT1.6interrupt void ADCINT_ISR(void) / ADC/ 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 process
21、or here/ Remove after inserting ISR Codeasm (" ESTOP0"); for(;);/ INT1.7interrupt 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
22、only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT1.8interrupt void WAKEINT_ISR(void) / WD/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP1;/ Next two
23、lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ PIE Group 2 - MUXed into CPU INT2/ INT2.1interrupt void CMP1INT_ISR(void) / EV-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrup
24、t/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT2.2interrupt void CMP2INT_ISR(void) / EV-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowl
25、edge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0"); for(;);/ INT2.3 interrupt void CMP3INT_ISR(void) / EV-A/ Insert ISR Code here/ To receive more interrupts from thi
26、s PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT2.4interrupt void T1PINT_ISR(void) / EV-A/ Insert ISR Code here/ To receive more in
27、terrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT2.5interrupt void T1CINT_ISR(void) / EV-A/ Insert ISR Code here/ T
28、o receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT2.6interrupt void T1UFINT_ISR(void) / EV-A/ Inser
29、t ISR Code here / To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT2.7interrupt void T1OFINT_ISR(
30、void) / EV-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP2;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT2.8 - Reserv
31、ed / PIE Group 3 - MUXed into CPU INT3/ INT 3.1interrupt void T2PINT_ISR(void) / EV-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;/ Next two lines for debug only to halt the processor here/ Remove after ins
32、erting ISR Codeasm (" ESTOP0");for(;);/ INT3.2interrupt void T2CINT_ISR(void) / EV-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;/ Next two lines for debug only to halt the processor here/
33、 Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT3.3interrupt void T2UFINT_ISR(void) / EV-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;/ Next two lines for debug only to halt t
34、he processor here/ Remove after inserting ISR Codeasm (" ESTOP0"); for(;);/ INT3.4interrupt void T2OFINT_ISR(void) / EV-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;/ Next two lines for d
35、ebug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT3.5interrupt void CAPINT1_ISR(void) / EV-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;/ Ne
36、xt two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT3.6interrupt void CAPINT2_ISR(void) / EV-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all =
37、PIEACK_GROUP3;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT3.7interrupt void CAPINT3_ISR(void) / EV-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrl
38、Regs.PIEACK.all = PIEACK_GROUP3;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT3.8 - Reserved/ PIE Group 4 - MUXed into CPU INT4/ INT 4.1interrupt void CMP4INT_ISR(void) / EV-B/ Insert ISR Code here/ To receive
39、 more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP4;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT4.2interrupt void CMP5INT_ISR(void) / EV-B/ Insert ISR Cod
40、e here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP4;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT4.3interrupt void CMP6INT_ISR(void) / EV
41、-B/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP4;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT4.4 interrupt void T3P
42、INT_ISR(void) / EV-B/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP4;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT4.5i
43、nterrupt void T3CINT_ISR(void) / EV-B/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP4;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0")
44、; for(;);/ INT4.6interrupt void T3UFINT_ISR(void) / EV-B/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP4;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm ("
45、; ESTOP0");for(;);/ INT4.7interrupt void T3OFINT_ISR(void) / EV-B/ Insert ISR Code here / To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP4;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR
46、 Codeasm (" ESTOP0");for(;);/ INT4.8 - Reserved/ PIE Group 5 - MUXed into CPU INT5/ INT 5.1interrupt void T4PINT_ISR(void) / EV-B/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP5;/ Next two lin
47、es for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT5.2interrupt void T4CINT_ISR(void) / EV-B/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROU
48、P5;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0"); for(;);/ INT5.3 interrupt void T4UFINT_ISR(void) / EV-B/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEA
49、CK.all = PIEACK_GROUP5;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT5.4interrupt void T4OFINT_ISR(void) / EV-B/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt
50、/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP5;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0"); for(;);/ INT5.5interrupt void CAPINT4_ISR(void) / EV-B/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowl
51、edge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP5;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT5.6interrupt void CAPINT5_ISR(void) / EV-B/ Insert ISR Code here/ To receive more interrupts from this
52、PIE group,acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP5;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT5.7interrupt void CAPINT6_ISR(void) / EV-B/ Insert ISR Code here/ To receive more inte
53、rrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP5;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT5.8 - Reserved/ PIE Group 6 - MUXed into CPU INT6/ INT6.1interrupt v
54、oid SPIRXINTA_ISR(void) / SPI-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP6;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;
55、);/ INT6.2interrupt void SPITXINTA_ISR(void) / SPI-A/ Insert ISR Code here/ To receive more interrupts from this PIE group, acknowledge this interrupt/ PieCtrlRegs.PIEACK.all = PIEACK_GROUP6;/ Next two lines for debug only to halt the processor here/ Remove after inserting ISR Codeasm (" ESTOP0");for(;);/ INT6.3
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 心内科心律失常手术治疗及药物总结2026
- 2026高中地理教资面试地图技能专项试卷
- 2026年一级建造师《机电工程》案例分析冲刺押题卷
- T-WSJD 75-2025 心脏单光子发射断层成像设备质量控制检测规范
- 2026年医疗卫生专业《护理学》知识测试试卷
- 2026年证券从业资格考试《证券市场基础知识》冲刺押题
- 2026年中小学英语教师招聘教学能力测试试卷
- 2026年高校英语专业考试试卷英语语法与写作试题专项训练
- 人教版数学八年级下册 福建省莆田市涵江区 6月期末考试 含答案
- 2026年教师招聘考试语文教学论冲刺押题试卷解析
- DB42∕T 1714-2021 湖北省海绵城市规划设计规程
- 2025年上海市浦东新区社区工作者招聘考试(综合能力测验)历年参考题库含答案详解(5套)
- 2025年咸阳社区专职工作人员招聘真题
- 《钢结构设计原理》课件 第4章 轴心受力构件
- 小儿麻醉液体管理指南
- TCNAS 39─2023成人手术后疼痛评估与护理
- 2025年医药商品储运员职业技能考试题库(含答案)
- JC-T 1099-2023 硫铝酸钙改性硅酸盐水泥
- 临终关怀陪护服务实施方案
- 入驻水产合同范本
- 湖南省2023年中考数学答题卡w可以编辑A4
评论
0/150
提交评论