diff options
Diffstat (limited to 'source/arduino/nointerrupts.rst')
-rw-r--r-- | source/arduino/nointerrupts.rst | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/source/arduino/nointerrupts.rst b/source/arduino/nointerrupts.rst deleted file mode 100644 index 8711ebb..0000000 --- a/source/arduino/nointerrupts.rst +++ /dev/null @@ -1,59 +0,0 @@ -.. _arduino-nointerrupts: - -noInterrupts() -============== - -Description ------------ - -Disables interrupts (you can re-enable them with interrupts()). -Interrupts allow certain important tasks to happen in the -background and are enabled by default. Some functions will not work -while interrupts are disabled, and incoming communication may be -ignored. Interrupts can slightly disrupt the timing of code, -however, and may be disabled for particularly critical sections of -code. - - - -Parameters ----------- - -None. - - - -Returns -------- - -None. - - - -Example -------- - -:: - - void setup() {} - - void loop() - { - noInterrupts(); - // critical, time-sensitive code here - interrupts(); - // other code here - } - - - -See Also --------- - - -- `interrupts <http://arduino.cc/en/Reference/Interrupts>`_\ () - - - - -.. include:: cc-attribution.txt
\ No newline at end of file |