摘要
MCS—51系列单片机能提供给用户自由用作不同用途而不是指定用途的外部中断源只有两个。在需要有多个外部中断的应用场合,需要给单片机扩展外部中断源。用8259A可编程中断控制器接口实现8031外部中断源扩展的方法看似简单,实则存在着一些需要认真考虑和解决的问题,本文讨论了这些问题以及具体的解决方法,给出了接口电路和相关源程序结构。
The MCS-51 series SCMs offer only two exterior interrupts to the user for freely served as the different uses but are not the given use. In the application situation that needs to have many external interrupts, it is needed to expand the SCM's exterior interrupts. The method, to expand exterior interrupt sources for 8031 SCM with 8259A, looks simple, but in nature, it has some problems needed to be thank better of and resolved, these problems as well as the concrete solution are discussed, the interface and the related source program structure are provided.
出处
《电气传动自动化》
2006年第6期55-57,共3页
Electric Drive Automation