GNU Radio 3.4.2 C++ API
usrp_bytesex.h File Reference

Go to the source code of this file.

Functions

static unsigned short int bswap_16 (unsigned short int x)
 routines for convertering between host and usrp byte order
static unsigned int bswap_32 (unsigned int x)
static unsigned int host_to_usrp_u32 (unsigned int x)
static unsigned int usrp_to_host_u32 (unsigned int x)
static short int host_to_usrp_short (short int x)
static short int usrp_to_host_short (unsigned short int x)

Function Documentation

static unsigned short int bswap_16 ( unsigned short int  x) [inline, static]

routines for convertering between host and usrp byte order

Prior to including this file, the user must include "config.h" which will or won't define WORDS_BIGENDIAN based on the result of the AC_C_BIGENDIAN autoconf test.

static unsigned int bswap_32 ( unsigned int  x) [inline, static]
static short int host_to_usrp_short ( short int  x) [inline, static]
static unsigned int host_to_usrp_u32 ( unsigned int  x) [inline, static]
static short int usrp_to_host_short ( unsigned short int  x) [inline, static]
static unsigned int usrp_to_host_u32 ( unsigned int  x) [inline, static]