This function of the CAA_Memory.library will return the input byte “byInput“ in reversed bit order.
byInput |
BYTE |
Input byte |
MEM.ReverseBitsInBYTE |
BYTE |
Byte in reversed bit order |
Example:
byInput = 16#01 = 2#00000001
->
MEM.ReverseBitsInBYTE(byInput) = 16#80 = 2#10000000