| 181 | } |
| 182 | |
| 183 | uint32_t bitreverse32Bit(uint32_t aInput) { |
| 184 | // __builtin_avr_insert_bits(); |
| 185 | LongUnion tValue; |
| 186 | tValue.UByte.HighByte = bitreverseOneByte(aInput); |
| 187 | tValue.UByte.MidHighByte = bitreverseOneByte(aInput >> 8); |
| 188 | tValue.UByte.MidLowByte = bitreverseOneByte(aInput >> 16); |
| 189 | tValue.UByte.LowByte = bitreverseOneByte(aInput >> 24); |
| 190 | return tValue.ULong; |
| 191 | } |
| 192 | |
| 193 | /** @}*/ |
| 194 |
nothing calls this directly
no test coverage detected