cmsis_armcc.h中下面代码被注释掉了,不能用__disable_irq();关中断么?
Can only be executed in Privileged modes. 特权模式是什么模式呢?哪位大神指导一下?
[mw_shl_code=c,true]/**
rief Enable IRQ Interrupts
details Enables IRQ interrupts by clearing the I-bit in the CPSR.
Can only be executed in Privileged modes.
*/
/* intrinsic void __enable_irq(); */
/**
rief Disable IRQ Interrupts
details Disables IRQ interrupts by setting the I-bit in the CPSR.
Can only be executed in Privileged modes.
*/
/* intrinsic void __disable_irq(); */[/mw_shl_code]
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
一周热门 更多>