在文章的最后,给出了采用中断方式实现的数字钟的源程序。
In article final, gave has used the interrupt way realization the digital clock source program.
ST16C 554工作在FIFO模式,采用中断方式收发数据,并有16字节的硬件接收发送缓冲区,降低了CPU的开销。
ST16C554 works in FIFO mode, receives and transmits data by (interrupt) mode with a 16 byte hardware transmit buffer, that will also greatly cut down the load on the CPU.
上位机基于CF接口与下位机进行数据通信,给下位机发送量程控制字、数据采集参数等命令,采用中断方式接收下位机采集过来的数据并进行处理,下位机只完成数据的采集。
Host accesses client's data across CF interface, sends instructions to client such as range select word and DAQ parameter, data are sent to host in interrupt mode and then processed.
应用推荐