摘要
充分利用MCS-51系列单片机内部的已有资源,给出了利用中断系统和并行口扩展多通道计数器的两种方法,能够对较低频率的计数脉冲进行多路检测,成本低,实现简便,解决了单片机内部计数器数目有限的问题。
In the paper, the existing internal resources of serial MCS-51 microcomputer is adopted fully, and two counter methods were presented by introducing the interrupt system and the multi-channel expanded from parallel port. These methods carry out the multiplex detection of low-frequency count pulse, with the low cost and the easy implementation, which solve the problem of the limited number of single chip microcomputer internal counter.
出处
《齐齐哈尔大学学报(自然科学版)》
2014年第6期41-43,共3页
Journal of Qiqihar University(Natural Science Edition)
基金
黑龙江省教育厅科研项目(12531759)
关键词
单片机
计数器
多路检测
single chip microcomputer
counter
multiple detection