interrupts()/noInterrupts()
Abstract
These functions enable or disable the interrupts.
Source Code
The bitRead()/bitSet()/bitClear()/bitWrite() are defined in hardware/arduino/avr/cores/arduino/Arduino.h as below.
|
|
The interrupts()/noInterrupts() are converted to sei() and cli() respectively.
They are assembler instruction that enables or disables the interrupts.
Version
Arduino AVR Boards 1.8.6
Last Update
March 21, 2023