摘要
单片机被大量使用在生产与生活的各个领域,而中断控制系统,是单片机的一个重要的功能组件。依靠中断控制系统提高了单片机系统的并行效率与实时性,使单片机能适应复杂的环境。笔者简单介绍了8051系列单片机中断系统的中断源、工作流程、控制机制与相关的特殊功能寄存器,并通过具体范例说明了设计单片机中断控制程序的步骤与注意事项。
Singlechip is widely used in various fields of production and life,and interrupt control system,is an important function of the singlechip.Depending on interrupt control system,the parallel efficiency and real-time performance of singlechip system are improved,and the singlechip can adapt to complicated environment.The author briefly introduces the interrupt source,working flow,control mechanism and related special function registers of the interrupt system of 8051 series singlechip,and illustrates the procedures and matters needing attention in designing the interrupt control program of singlechip through specific examples.
作者
张幼麟
Zhang Youlin(Physics and Electronic Information Department,Leshan Normal University,leshan Sichuan 614000,China)
出处
《信息与电脑》
2017年第23期91-92,95,共3页
Information & Computer
关键词
单片机
中断控制系统
中断嵌套
中断服务程序
singlechip
interrupt control system
interrupt nesting
interrupt service routine