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

Arduino 1.8.13/avr-gcc 7.3.0-atmel3.6.1-arduino

Last Update

June 19, 2020

inserted by FC2 system