RTEMS 6.1-rc2
|
CPUEndian. More...
Macros | |
#define | CPU_swap_u16(value) (((value&0xff) << 8) | ((value >> 8)&0xff)) |
CPUEndian.
#define CPU_swap_u16 | ( | value | ) | (((value&0xff) << 8) | ((value >> 8)&0xff)) |
This routine swaps a 16 bir quantity.
[in] | value | is the value to be swapped |