This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x中断理解问题



查看数据手册,如下图

图1:

图2:

图1中的the highest numbered interrupt 是指图2中ARM Cortex-A8 Interrupts表格列举的Int Number吗?

  • 图2 Int Number表示中断事件号,他们的优先级可以通过INTC_ILR寄存器来设置。

  • Shine Zhang 说:

    图2 Int Number表示中断事件号,他们的优先级可以通过INTC_ILR寄存器来设置。

    你好,感谢回答,手册中6.1.1.3,如上图的灰色字体部分说:中断优先级相同,编号最高的中断优先级高,其中the highest numbered interrupt 是怎么计算得来?

  • 有两个概念不要混了,一个是中断的优先级设置,一个是时间的中断事件号。

    中断优先级的设置前面已经提到了,优先级高的会先行执行。这种情况下,和你的中断事件号没啥关系。两个事件,如果中断优先级不一样,都会先走高的那个。

    只是在中断优先级是一致的情况下,才会去考虑当前的编号。