Syntax
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
ContentsIndex
PreviousUpNext
bitSet
Syntax
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
Description

Sets (writes a 1 to) a bit of a numeric variable.

Parameters
Parameters 
Description 
the numeric variable whose bit to set
 
which bit to set, starting at 0 for the least-significant (rightmost) bit  
Returns

none

File

wiring_constants.h

Group