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

查看:52
本文介绍了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(和其他一些 CPU)的一个特性.

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

来自专利:

一种快速执行的方法数字数据处理器中的中断有能力处理更多提供的中断不止一个.当一个收到快速中断请求标志被设置并且程序计数器和条件代码寄存器是存储在堆栈中.在结束时中断服务程序返回从中断指令检索条件码寄存器包含数字的状态数据处理器并检查以查看该标志是否已设置.如果设置了标志,则表明快速中断被服务并且因此只有程序计数器是未堆叠.

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天全站免登陆