Home
last modified time | relevance | path

Searched refs:findBitInByte (Results 1 – 1 of 1) sorted by relevance

/loramac-node-latest/src/apps/LoRaMac/common/LmHandler/packages/
DFragDecoder.c692 uint32_t findBitInByte = 0; in FragExtractLineFromBinaryMatrix() local
697 findBitInByte = ( rowIndex * bitsInRow - ( ( rowIndex * ( rowIndex - 1 ) ) >> 1 ) ) % 8; in FragExtractLineFromBinaryMatrix()
710 ( FragDecoder.MatrixM2B[findByte] >> ( 7 - findBitInByte ) ) & 0x01 ); in FragExtractLineFromBinaryMatrix()
712 findBitInByte++; in FragExtractLineFromBinaryMatrix()
713 if( findBitInByte == 8 ) in FragExtractLineFromBinaryMatrix()
715 findBitInByte = 0; in FragExtractLineFromBinaryMatrix()
731 uint32_t findBitInByte = 0; in FragPushLineToBinaryMatrix() local
735 findBitInByte = ( rowIndex * bitsInRow - ( ( rowIndex * ( rowIndex - 1 ) ) >> 1 ) ) % 8; in FragPushLineToBinaryMatrix()
742 ….MatrixM2B[findByte] = FragDecoder.MatrixM2B[findByte] & ( 0xFF - ( 1 << ( 7 - findBitInByte ) ) ); in FragPushLineToBinaryMatrix()
744 findBitInByte++; in FragPushLineToBinaryMatrix()
[all …]