I'm having problem fixing the endianness of the value that I got.
What I'm thinking is separate a WORD
to two, convert them to hex, and store them in an array.
The WORD
is the "crc_data" that is return to my previous question(which has been answered).
For example:
I got a "result" data from the code of:
crc_data = 0A95
*Note: crc_data is datatype WORD
What I'm thinking is separate them into two, and make them as hex. Like this:
value_1 = 0x95
value_2 = 0x0A
Is there a way to do that? I read something about "BITWISE" operation, but I'm not sure if that's the way to do it.