Lines Matching defs:bitPosition
503 #define SetBitInWord(theWord,bitPosition) (*theWord) |= (0x0001 << bitPosition)
504 #define SetBitInDWord(theWord,bitPosition) (*theWord) |= (0x00000001 << bitPosition)
505 #define ClearBitInWord(theWord,bitPosition) (*theWord) &= ~(0x0001 << bitPosition)
506 #define ClearBitInDWord(theWord,bitPosition) (*theWord) &= ~(0x00000001 << bitPosition)
879 int bitPosition;
957 for (bitPosition = 15; bitPosition >= 0; bitPosition--) { // for all the bits
959 if (sensVals.l.leftSensBits & (0x0001 << bitPosition))
964 if (sensVals.r.rightSensBits & (0x0001 << bitPosition))