【OK210试用体验】+Linux平台下OK210的裸机开发指南_中断 - 在线问答 - 电子技术论坛 - 最好最受欢迎电子论坛!

【OK210试用体验】+Linux平台下OK210的裸机开发指南_中断

linux大叔 ( 楼主 ) 2015-8-26 20:44:54  只看该作者 倒序浏览
S5PV210的数据手册介绍中断体系比较简洁:
1.1 OVERVIEW OF VECTORED INTERRUPT CONTROLLER
The interrupt controller in S5PV210 is composed of four Vectored Interrupt Controller (VIC), ARM PrimeCell
PL192 and four TrustZone Interrupt Controller (TZIC), SP890.
Four TZIC’s and four VIC’s are daisy-chained to support up to 93 interrupt sources. The TZIC provides a software
interface to the secure interrupt system in a TrustZone design. It provides secure control of the nFIQ interrupt and
masks the interrupt source(s) from the interrupt controller on the non-secure side of the system (VIC). Use the
latter to generate nIRQ signal.
To generate nFIQ from the non-secure interrupt sources, the TZIC0 takes the nNSFIQIN signal from the nonsecure interrupt controller.
1.1.1 KEY FEATURES OF VECTORED INTERRUPT CONTROLLER
• Supports 93 vectored IRQ interrupts
• Fixed hardware interrupts priority levels
• Programmable interrupt priority levels
• Supports Hardware interrupt priority level masking
• Programmable interrupt priority level masking
• Generates IRQ and FIQ
• Generates Software interrupt
• Test registers
• Raw interrupt status
• Interrupt request status
• Supports Privileged mode for restricted access
所以要想使用其中断,直接去浏览寄存器也是可以的,在这里就不一一介绍寄存器。本杰提供的代码有参考别人带代码。

9_interrupt.zip

263.93 KB, 下载次数: 5, 下载积分: 积分 -1 分

中断代码

0个回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则


关闭

站长推荐上一条 /6 下一条

小黑屋|手机版|Archiver|电子发烧友 ( 湘ICP备2023018690号 )

GMT+8, 2024-11-28 03:08 , Processed in 1.264990 second(s), Total 70, Slave 47 queries .

Powered by 电子发烧友网

© 2015 bbs.elecfans.com

微信扫描
快速回复 返回顶部 返回列表