Playing with Arduino
A page to record my playing with Arduino
cli()

Abstract

The cli() is a macro that executes an assembler instruction to disable interrupts.

Source Code

The cli() is defined in hardware/tools/avr/avr/include/avr/interrupt.h as below.

1
# define cli()  __asm__ __volatile__ ("cli" ::)

The cli is an assembler instruction to disable interrputs.

Version

7.3.0-atmel3.6.1-arduino7

Last Update

May 15, 2021

inserted by FC2 system