_BV

_BV(bit)

 #include <avr/io.h>

Converts a bit number into a byte value.

Note:

The bit shift is performed by the compiler which then inserts the result into the code. Thus, there is no run-time overhead when using _BV().