R
rahul8143
I have downlaoded one code from internet where i found one #define
statement
#define __fun32(x) ((_u32)( \
(((_u32)(x) & (_u32)0x000000ffUL) << 24) | \
(((_u32)(x) & (_u32)0x0000ff00UL) << 8) | \
(((_u32)(x) & (_u32)0x00ff0000UL) >> 8) | \
(((_u32)(x) & (_u32)0xff000000UL) >> 24) ))
what is the funtioning of this define function.
statement
#define __fun32(x) ((_u32)( \
(((_u32)(x) & (_u32)0x000000ffUL) << 24) | \
(((_u32)(x) & (_u32)0x0000ff00UL) << 8) | \
(((_u32)(x) & (_u32)0x00ff0000UL) >> 8) | \
(((_u32)(x) & (_u32)0xff000000UL) >> 24) ))
what is the funtioning of this define function.