Syntax
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
ContentsIndex
PreviousUpNext
bitClear
Syntax
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
Description

Clears (writes a 0 to) a bit of a numeric variable.

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

none

File

wiring_constants.h

Group