NoInterrupts()

來自ALSROBOT WiKi
跳轉(zhuǎn)至: 導航、 搜索
#define noInterrupts() cli()

關(guān)中斷

例子:

void setup() {}

void loop()
{
  noInterrupts();
  // critical, time-sensitive code here
  interrupts();
  // other code here
}