Lines Matching defs:bitPosition
499 #define SetBitInWord(theWord,bitPosition) (*theWord) |= (0x0001 << bitPosition)
500 #define SetBitInDWord(theWord,bitPosition) (*theWord) |= (0x00000001 << bitPosition)
501 #define ClearBitInWord(theWord,bitPosition) (*theWord) &= ~(0x0001 << bitPosition)
502 #define ClearBitInDWord(theWord,bitPosition) (*theWord) &= ~(0x00000001 << bitPosition)
840 int bitPosition;
918 for (bitPosition = 15; bitPosition >= 0; bitPosition--) { // for all the bits
920 if (sensVals.l.leftSensBits & (0x0001 << bitPosition))
925 if (sensVals.r.rightSensBits & (0x0001 << bitPosition))