摘要
从工程应用的实际出发,介绍基于KernelPlugIn和DDK技术实现Windows 2000环境下的实时中断处理,详细分析在Windows 2000环境下实现高精度定时中断的工作机制和Windows 2000工作时钟与中断时钟的关系。并利用PC机现有的硬件资源系统时钟定时器和并行端口,在内核模式下通过修改系统定时器的分频值来改变中断周期。由标志变量周期性地改变并行数据端口的电平输出,通过示波器输出来分析实际输出结果,最后根据试验情况以表格的形式给出具体的中断周期数据。
From practice of engineer,this article introduces real- time interrupt processing based on technology of KernelPlugln and DDK,and realizes the working machenism of high resolution timed interrupt and analyses the relation of Windows 2000 working timer and interrupt timer. To use PCts system timer and parallel port of current hardware resource to change the interrupt period modifying the system timer value of fractional frequency,and change the output of parallel port voltage by the flag of variable to see the result using the scope, according the examination to write the sheet and frondose data of interrupt period.
出处
《现代电子技术》
2006年第20期142-145,共4页
Modern Electronics Technique