版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025贵州黎平肇兴文化旅游开发(集团)有限公司招聘18人笔试重点题库及答案解析
- 2025江西吉安市第十二中学招聘编外人员1人笔试重点试题及答案解析
- 2025广西壮族自治区人民医院防城港医院防城港市第一人民医院紧急招聘超声医学科前台登记员2人考试重点试题及答案解析
- 2025年碳中和园区建设管理合同协议
- 2025财达证券股份有限公司财富管理与机构业务委员会山东分公司招聘1人考试重点题库及答案解析
- 2025年甘肃省甘南藏族自治州妇幼保健院招聘临床医师考试核心试题及答案解析
- 蓄冷蓄热技术介绍
- 2025年水产养殖饲料供应协议(防疫用)
- 电竞玻璃框架协议
- 2025湖北交投实业发展有限公司服务区管理员招聘3人笔试参考题库附带答案详解(3卷合一版)
- 甘肃省天水市麦积区2024届九年级上学期期末考试数学试卷(含答案)
- 10Kv电力变压器试验报告
- 市政工程试验检测培训教程
- 宁夏调味料项目可行性研究报告
- GRR计算表格模板
- 长沙市长郡双语实验学校人教版七年级上册期中生物期中试卷及答案
- 马克思主义经典著作选读智慧树知到课后章节答案2023年下四川大学
- GB/T 19867.1-2005电弧焊焊接工艺规程
- GB/T 16102-1995车间空气中硝基苯的盐酸萘乙二胺分光光度测定方法
- GB/T 15171-1994软包装件密封性能试验方法
- 外科护理学期末试卷3套18p
评论
0/150
提交评论