请问当正在执行中断服务函数时,另一个中断请求来了,CPU会怎么处理呢?
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.
如果当前CPU已经在一个中断的ISR内,默认情况下是不会响应任何新到来的中断的,因为默认情况下,进入ISR时把全局中断(GIE)关了。
意思是如果当前正在执行一个中断服务函数,另一个新来的中断就会丢失是吗,就像它没来过一样?