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