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.

关于430的中断



以前学的是51嘛,现在用430。用51的中断时是需要开总中断,但是用430的中断时好像不需要开总中断的(我记得430也有总中断这么一说的)。所以有点小迷惑。

  •  你好,430也是有总中断的~

    如果需要使用某个模块的中断,那么使能该模块中断之后,还需要开总中断才有效哦~

    使能总中断语句:

    _EINT();

    或者 _enable_interrupts();

    或者 __bis_SR_register(GIE);

    希望可以解答你的迷惑~