首页> 外国专利> Method for determining if a delay required before proceeding with the detected interrupt and exiting the interrupt without clearing the interrupt

Method for determining if a delay required before proceeding with the detected interrupt and exiting the interrupt without clearing the interrupt

机译:在不清除中断的情况下确定继续进行检测到的中断并退出中断之前是否需要延迟的方法

摘要

A method and system for servicing an interrupt is presented. An interrupt handler associated with a detected interrupt is invoked, and a determination is made as to whether to instantiate a delay before further servicing of the detected interrupt. If a delay is neccesary before the detected may be fully serviced, a delay counter is initialized to a first predetermined value. The interrupt handler then exits without fully servicing the detected interrupt. During subsequent invocations, the interrupt handler decrements the delay counter and checks whether the delay counter has reached a second predetermined value. The interrupt handler is repeatedly invoked while the interrupt remains pending and while the delay counter does not equal the second predetermined value, the interrupt handler may then fully service the interrupt and clear the interrupt.
机译:提出了一种用于服务中断的方法和系统。调用与检测到的中断关联的中断处理程序,并确定是否在进一步服务于检测到的中断之前实例化延迟。如果在完全检测到检测到的信号之前需要延迟,则将延迟计数器初始化为第一预定值。中断处理程序然后退出而没有完全服务于检测到的中断。在后续调用期间,中断处理程序将延迟计数器减1,并检查延迟计数器是否已达到第二预定值。在中断保持未决状态且延迟计数器不等于第二预定值的同时,反复调用中断处理程序,然后中断处理程序可以完全服务中断并清除中断。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号