是什么FIQ和IRQ中断系统之间的区别? [英] What is the difference between FIQ and IRQ interrupt system?

查看:1831
本文介绍了是什么FIQ和IRQ中断系统之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道FIQ和IRQ之间的区别中断系统
任何微处理器,例如:ARM926EJ

I want to know the difference between FIQ and IRQ interrupt system in any microprocessor, e.g: ARM926EJ.

推荐答案

(及其他)现代的ARM CPU的功能。

A feature of modern ARM CPUs (and some others).

从专利:

执行快速的方法
  中断在数字数据处理器
  具有处理更多的能力
  不是提供一个中断。当一个
  快速中断请求被接受了
  标志设置和程序计数器
  和条件code寄存器
  存储在栈上。在的结束
  中断服务子程序返回
  从中断指令检索
  条件code寄存器,
  包含数字的状态
  数据处理器,并检查
  是否该标志已被设定或没有。
  如果该标志被设置指示
  快速的中断服务是与
  因此,只有程序计数器
  拆散。

A method of performing a fast interrupt in a digital data processor having the capability of handling more than one interrupt is provided. When a fast interrupt request is received a flag is set and the program counter and condition code registers are stored on a stack. At the end of the interrupt servicing routine the return from interrupt instructions retrieves the condition code register which contains the status of the digital data processor and checks to see whether the flag has been set or not. If the flag is set it indicates that a fast interrupt was serviced and therefore only the program counter is unstacked.

在换句话说,一个FIQ仅仅是一个更高优先级的中断请求时,由请求服务期间禁用IRQ和其他FIQ处理程序的优先级。因此,可以在有源FIQ中断的处理过程中发生任何其他的中断。

In other words, an FIQ is just a higher priority interrupt request, that is prioritized by disabling IRQ and other FIQ handlers during request servicing. Therefore, no other interrupts can occur during the processing of the active FIQ interrupt.

这篇关于是什么FIQ和IRQ中断系统之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆