How to Achieve Byte High-Low Bit Swapping in Embedded Programming?

How to Achieve Byte High-Low Bit Swapping in Embedded Programming?

Follow+Star Public Account, don’t miss out on exciting content Source | Technology Makes Dreams Greater Recently, I encountered the issue of byte high-low bit conversion in a protocol, so I lazily searched online and found a similar problem, and learned a new term called butterfly swapping. The protocol requires that the low byte is on … Read more

How to Achieve Byte Swapping in Embedded Programming?

How to Achieve Byte Swapping in Embedded Programming?

Recently, I encountered the issue of byte endianness conversion in a protocol, so I lazily searched online and found a similar problem, and learned a new term called butterfly swapping. The problem is as follows: The protocol requires that the low byte is on the left and the high byte is on the right, and … Read more