support_endian.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define bswap16(x)    (((((uint16_t)(x)) >> 8) & 0xff) | ((((uint16_t)(x)) & 0xff) << 8))
 
#define htole16(x)   (x)
 
#define bswap32(x)
 
#define htole32(x)   (x)
 
#define le16toh(x)   htole16(x)
 
#define le32toh(x)   htole32(x)
 

Macro Definition Documentation

◆ bswap16

#define bswap16 (   x)     (((((uint16_t)(x)) >> 8) & 0xff) | ((((uint16_t)(x)) & 0xff) << 8))

Definition at line 52 of file support_endian.h.

◆ bswap32

#define bswap32 (   x)
Value:
(((((uint32_t)(x)) & 0xff000000) >> 24) | \
((((uint32_t)(x)) & 0x00ff0000) >> 8) | \
((((uint32_t)(x)) & 0x0000ff00) << 8) | \
((((uint32_t)(x)) & 0x000000ff) << 24))

Definition at line 71 of file support_endian.h.

◆ htole16

#define htole16 (   x)    (x)

Definition at line 61 of file support_endian.h.

◆ htole32

#define htole32 (   x)    (x)

Definition at line 83 of file support_endian.h.

◆ le16toh

#define le16toh (   x)    htole16(x)

Definition at line 89 of file support_endian.h.

◆ le32toh

#define le32toh (   x)    htole32(x)

Definition at line 92 of file support_endian.h.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors