Cortex-A7的GIC(全局中断控制器)使用方法(1):GIC简介

0 参考资料

STM32MP13xx参考手册.pdf(RM0475)
ARM Generic Interrupt Controller Architecture version 2.0 - Architecture Specification.pdf

1 GIC(全局中断控制器)介绍

Cortex-M内核使用NVIC(嵌套向量中断控制器)管理中断及异常,在Cortex-A7内核中使用GIC(全局中断控制器)来管理中断和异常。有关GIC(全局中断控制器)的描述可以参照基于Cortex-A7内核的STM32MP13xx:

1.1 介绍部分

The following Arm® specifications provides additional details on the GIC:
• Arm® Generic Interrupt Controller - Architecture Specification v2.0
• Cortex®-A7 MPCore Technical Reference Manual Revision: r0p5

可以看到STM32MP13xx系列SoC使用的GIC版本为V2.0。

1.2 GIC(全局中断控制器)主要特点

The integrated GIC collates and arbitrates from a large number of interrupt sources.
It provides:
• Masking of interrupts
• Prioritization of interrupts
• Distribution of the interrupts to the target processors
• Tracking the status of interrupts
• Generation of interrupts by software
• Support for security extensions
• Support for virtualization extensions

也就是:
(1)可屏蔽中断
(2)可配置中断优先级
(3)将中断分配给目标处理器(支持多核)
(4)跟踪中断状态
(5)支持软中断
(6)支持安全性扩展
(7)支持虚拟化扩展

1.3 GIC(全局中断控制器)框图

在这里插入图片描述
摘自《ARM Generic Interrupt Controller Architecture version 2.0 - Architecture Specification》。

  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

NW嵌入式开发

感谢您的支持,让我们一起进步!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值