<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>GNU Radio 3.2.2 C++ API: usrp_bytesex.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">GNU Radio 3.2.2 C++ API</div> </td> </tr> </tbody> </table> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('usrp__bytesex_8h.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>usrp_bytesex.h File Reference</h1> </div> </div> <div class="contents"> <p><a href="usrp__bytesex_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static unsigned short int </td><td class="memItemRight" valign="bottom"><a class="el" href="usrp__bytesex_8h.html#a0115e66e52aa67ebda68ef82277279e8">bswap_16</a> (unsigned short int x)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">routines for convertering between host and usrp byte order <a href="#a0115e66e52aa67ebda68ef82277279e8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="usrp__bytesex_8h.html#a5daa96cca5af8f71429474a60445352a">bswap_32</a> (unsigned int x)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="usrp__bytesex_8h.html#a2019524069173a605ab72a04a85a5de5">host_to_usrp_u32</a> (unsigned int x)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="usrp__bytesex_8h.html#af2cc6892cbb22d72a8ba095aacb55bed">usrp_to_host_u32</a> (unsigned int x)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static short int </td><td class="memItemRight" valign="bottom"><a class="el" href="usrp__bytesex_8h.html#a00939c7e9784b93a72e92f91008d83a9">host_to_usrp_short</a> (short int x)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">static short int </td><td class="memItemRight" valign="bottom"><a class="el" href="usrp__bytesex_8h.html#a9648f0744b310eabe967a79029347a0a">usrp_to_host_short</a> (unsigned short int x)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a0115e66e52aa67ebda68ef82277279e8"></a><!-- doxytag: member="usrp_bytesex.h::bswap_16" ref="a0115e66e52aa67ebda68ef82277279e8" args="(unsigned short int x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static unsigned short int bswap_16 </td> <td>(</td> <td class="paramtype">unsigned short int </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>routines for convertering between host and usrp byte order </p> <p>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. </p> </div> </div> <a class="anchor" id="a5daa96cca5af8f71429474a60445352a"></a><!-- doxytag: member="usrp_bytesex.h::bswap_32" ref="a5daa96cca5af8f71429474a60445352a" args="(unsigned int x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static unsigned int bswap_32 </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a00939c7e9784b93a72e92f91008d83a9"></a><!-- doxytag: member="usrp_bytesex.h::host_to_usrp_short" ref="a00939c7e9784b93a72e92f91008d83a9" args="(short int x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static short int host_to_usrp_short </td> <td>(</td> <td class="paramtype">short int </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a2019524069173a605ab72a04a85a5de5"></a><!-- doxytag: member="usrp_bytesex.h::host_to_usrp_u32" ref="a2019524069173a605ab72a04a85a5de5" args="(unsigned int x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static unsigned int host_to_usrp_u32 </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a9648f0744b310eabe967a79029347a0a"></a><!-- doxytag: member="usrp_bytesex.h::usrp_to_host_short" ref="a9648f0744b310eabe967a79029347a0a" args="(unsigned short int x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static short int usrp_to_host_short </td> <td>(</td> <td class="paramtype">unsigned short int </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="af2cc6892cbb22d72a8ba095aacb55bed"></a><!-- doxytag: member="usrp_bytesex.h::usrp_to_host_u32" ref="af2cc6892cbb22d72a8ba095aacb55bed" args="(unsigned int x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static unsigned int usrp_to_host_u32 </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"><em>x</em></td><td>)</td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="usrp__bytesex_8h.html">usrp_bytesex.h</a> </li> <li class="footer">Generated on Thu Feb 17 2011 for GNU Radio 3.2.2 C++ API by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li> </ul> </div> </body> </html>