中断服务流程(ISR)与对应CSL编程接口之CPINTC总结6.pptVIP

  • 11
  • 0
  • 约1.62千字
  • 约 10页
  • 2018-07-23 发布于江苏
  • 举报

中断服务流程(ISR)与对应CSL编程接口之CPINTC总结6.ppt

中断服务流程(ISR)与对应CSL编程接口之CPINTC总结6

中断服务流程(ISR)与对应CSL编程接口 之 CPINTC总结 Bruce Chen 2012-2-3 应用背景 基于KEYSTONE 多核架构 以C6678 为例 ISR CPINTC 2 mappings; one is fixed while the other is programmable channel num = host interrupt num What inside CPINTC Take c6678 CPINTC for example CSL API INTC configure 1. INTC initial CSL_intcInit CSL_intcGlobalNmiEnable CSL_intcGlobalEnable 2.INTC mapping hook callback function CSL_intcOpen // map Event ID to Vector ID CSL_intcPlugEventHandler // hook callback function 3. enable events CSL_intcHwControl CPINTC 4. CSL_CPINTC_open //Open the handle to the CPINT Instance CSL_CPINTC_disableAllHostIn

文档评论(0)

1亿VIP精品文档

相关文档