创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


arduino:avrgcc:cli

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.

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

The cli is an assembler instruction to disable interrputs.

本页面的其他翻译:
arduino/avrgcc/cli.txt · 最后更改: 2016/12/25 22:15 (外部编辑)