首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 嵌入式系统 > 软件中断技术

软件中断技术

资料介绍
This application note describes a unique method for
implementing interrupts in software on the PIC16C5X
series of microcontrollers. This method takes
advantage of the PIC16C5X’s architecture which allows
changing the program counter under software control.
Up to eight interrupt lines are possible, but the practical
limit for simple code generation is six interrupts, or 64
possible input conditions. The interrupt detection time is
under software control and standard I/O pins are used
as the interrupt lines.
AN514
Software Interrupt Techniques

INTRODUCTION CREATING CONSTANT TIME
This application note describes a unique method for
POLLING
implementing interrupts in software on the PIC16C5X In most applications requiring interrupts, it is important
series of microcontrollers. This method takes to poll the interrupt lines at xed time intervals, usually
advantage of the PIC16C5X’s architecture which allows only a few microseconds in length. Two techniques may
changing the program counter under software control. be used on the PI
标签:软件中断中断
软件中断技术
本地下载

评论