ESP-IDF
__bswap_16
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
__bswap_16
__bswap_16 macro
Syntax
Show:
Summary
Declaration
from
byteswap.h:13
# define
__bswap_16
(
x
)
\
(
__extension__
\
(
{
unsigned
short
int
__bsx
=
(
x
)
;
\
(
(
(
(
__bsx
)
>
>
8
)
&
0xff
)
|
(
(
(
__bsx
)
&
0xff
)
<
<
8
)
)
;
}
)
)
Arguments
Argument
x
Examples
References
from
examples
Code
Location
#define
__bswap_16
(
x
)
(
(
uint16_t
)
(
(
(
(
x
)
>
>
8
)
&
0xff
)
|
(
(
(
x
)
&
0xff
)
<
<
8
)
)
)
byteorder.h:19
# define
__bswap_16
(
x
)
\
byteswap.h:13
#define
sys_be16_to_cpu
(
val
)
__bswap_16
(
val
)
byteorder.h:214
#define
sys_cpu_to_be16
(
val
)
__bswap_16
(
val
)
byteorder.h:217
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out