RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
Macros
CPUEndian
Implementation
»
SuperCore
»
CPU Architecture Support
»
Blackfin
CPUEndian.
More...
Macros
#define
CPU_swap_u16
(value)
Detailed Description
CPUEndian.
Macro Definition Documentation
◆
CPU_swap_u16
#define CPU_swap_u16
(
value
)
Value:
(((value&0xff) << 8) | ((value >> 8)&0xff))
This routine swaps a 16 bir quantity.
Parameters
[in]
value
is the value to be swapped
Returns
the value after being endian swapped
Generated by
1.18.0