文件名称:MPLAB_C18_interrupt
- 所属分类:
- 微处理器(ARM/PowerPC等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- y**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
MPLAB C18 不自动把中断服务程序放在中断向量处。通常将GOTO 指令放在中断向量处,从而把控制权转交给相应的中断服务程序
PIC18系列的低优先级中断入口地址在0x0018地址,下面的代码是在入口地址处放置一个向量函数,这个向量函数里就是一个内嵌汇编的GOTO指令,GOTO到低优先级的中断服务函数InterruptHandlerLow。-MPLAB C18 does not automatically interrupt service routine on the interrupt vector Office. GOTO instruction usually placed at interrupt vector, thus transferring control to the appropriate interrupt service routine PIC18 family of low-priority interrupt entry address in the address 0x0018, the following code is placed at the entrance of a vector function of the address, the vector function Lane is a compilation of GOTO instructions embedded, GOTO to low-priority interrupt service function InterruptHandlerLow.
PIC18系列的低优先级中断入口地址在0x0018地址,下面的代码是在入口地址处放置一个向量函数,这个向量函数里就是一个内嵌汇编的GOTO指令,GOTO到低优先级的中断服务函数InterruptHandlerLow。-MPLAB C18 does not automatically interrupt service routine on the interrupt vector Office. GOTO instruction usually placed at interrupt vector, thus transferring control to the appropriate interrupt service routine PIC18 family of low-priority interrupt entry address in the address 0x0018, the following code is placed at the entrance of a vector function of the address, the vector function Lane is a compilation of GOTO instructions embedded, GOTO to low-priority interrupt service function InterruptHandlerLow.
相关搜索: pic18
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MPLAB_C18_interrupt.c