请问TI有提供6746中断嵌套的例程吗?谢谢!
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.
您看我理解的对不对:
1)C语言程序中进入中断子程序,会自动关闭全局中断?
2)C语言程序中,若要实现A中断可被B中断打断,则进入A中断后,需要手动打开全局中断,以允许B中断可以打断A中断,实现中断嵌套,这样理解对吗?
在文档《TMS320C674x DSP CPU and Instruction Set User's Guide (Rev. B)-sprufe8b》P649的5.6.2 Nested Interrupts中,关于实现中断嵌套,要求在中断服务子程序中实现:
1. The contents of IRP (or NRP) must be saved
2. The contents of the PGIE bit must be saved
3. The contents of ITSR must be saved
4. The GIE bit must be set to 1
对于C程序来说,是不是只需要打开总中断(第4步)即可?
谢谢