_BV()

Abstract

The _BV() is a macro that shifts 1 to left by the specified numnber.

Source Code

The _BV() is defined in hardware/tools/avr/avr/include/avr/sfr_defs.h, as shown below.

1
#define _BV(bit) (1 << (bit))

The _BV() is a macro that shifts 1 to left by the specified numnber. For example _BV(5) would be 0b00100000.

Version

7.3.0-atmel3.6.1-arduino7

Last Update

May 15, 2021

inserted by FC2 system