Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > def0228095a1541e2d3632b6b6da7c38 > files > 3499

gnuradio-doc-3.3.0-8mdv2010.1.i586.rpm

<!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.3.0 C++ API: usrp_standard_common Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="contents">
<h1>usrp_standard_common Class Reference<br/>
<small>
[<a class="el" href="group__usrp.html">USRP</a>]</small>
</h1><!-- doxytag: class="usrp_standard_common" -->
<p><code>#include &lt;<a class="el" href="usrp__standard_8h_source.html">usrp_standard.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for usrp_standard_common:</div>
<div class="dynsection">
<div class="center"><img src="classusrp__standard__common__inherit__graph.png" border="0" usemap="#usrp__standard__common_inherit__map" alt="Inheritance graph"/></div>
<map name="usrp__standard__common_inherit__map" id="usrp__standard__common_inherit__map">
<area shape="rect" id="node3" href="classusrp__standard__rx.html" title="The C++ interface the receive side of the USRPThis is the recommended interface to..." alt="" coords="5,83,128,112"/><area shape="rect" id="node5" href="classusrp__standard__tx.html" title="The C++ interface the transmit side of the USRPThis is the recommended interface..." alt="" coords="152,83,275,112"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classusrp__standard__common-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classusrp__standard__common.html#ac259e77beebe73376a45b6116ab845e1">has_rx_halfband</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">does the FPGA implement the final Rx half-band filter? If it doesn't, the maximum decimation factor with proper gain is 1/2 of what it would otherwise be.  <a href="#ac259e77beebe73376a45b6116ab845e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classusrp__standard__common.html#a07b889dbe4fecd870f40ddf2401948c6">nddcs</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of digital downconverters implemented in the FPGA This will be 0, 1, 2 or 4.  <a href="#a07b889dbe4fecd870f40ddf2401948c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classusrp__standard__common.html#a4192e505766a5920f8771bde1fd871ae">has_tx_halfband</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">does the FPGA implement the initial Tx half-band filter?  <a href="#a4192e505766a5920f8771bde1fd871ae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classusrp__standard__common.html#a9dec671bc0d7c50157083f46538844af">nducs</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">number of digital upconverters implemented in the FPGA This will be 0, 1, or 2.  <a href="#a9dec671bc0d7c50157083f46538844af"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classusrp__standard__common.html#ad8501caec1af361156c2540f0280123e">calc_dxc_freq</a> (double target_freq, double baseband_freq, double fs, double *dxc_freq, <a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> *inverted)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calculate the frequency to use for setting the digital up or down converter.  <a href="#ad8501caec1af361156c2540f0280123e"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classusrp__standard__common.html#a084f39cd160734d41e6c1cb8f6513dd6">usrp_standard_common</a> (<a class="el" href="classusrp__basic.html">usrp_basic</a> *parent)</td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a084f39cd160734d41e6c1cb8f6513dd6"></a><!-- doxytag: member="usrp_standard_common::usrp_standard_common" ref="a084f39cd160734d41e6c1cb8f6513dd6" args="(usrp_basic *parent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">usrp_standard_common::usrp_standard_common </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classusrp__basic.html">usrp_basic</a> *&nbsp;</td>
          <td class="paramname"> <em>parent</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad8501caec1af361156c2540f0280123e"></a><!-- doxytag: member="usrp_standard_common::calc_dxc_freq" ref="ad8501caec1af361156c2540f0280123e" args="(double target_freq, double baseband_freq, double fs, double *dxc_freq, bool *inverted)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void usrp_standard_common::calc_dxc_freq </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>target_freq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>baseband_freq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&nbsp;</td>
          <td class="paramname"> <em>dxc_freq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> *&nbsp;</td>
          <td class="paramname"> <em>inverted</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Calculate the frequency to use for setting the digital up or down converter. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>target_freq</em>&nbsp;</td><td>is the desired RF frequency (Hz). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>baseband_freq</em>&nbsp;</td><td>is the RF frequency that corresponds to DC in the IF coming from the d'board. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fs</em>&nbsp;</td><td>is the sampling frequency. </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>dxc_freq</em>&nbsp;</td><td>the frequency to program into the DDC (or DUC). </td></tr>
    <tr><td valign="top"><tt>[out]</tt>&nbsp;</td><td valign="top"><em>inverted</em>&nbsp;</td><td>is true if we're operating in an inverted Nyquist zone. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac259e77beebe73376a45b6116ab845e1"></a><!-- doxytag: member="usrp_standard_common::has_rx_halfband" ref="ac259e77beebe73376a45b6116ab845e1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> usrp_standard_common::has_rx_halfband </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>does the FPGA implement the final Rx half-band filter? If it doesn't, the maximum decimation factor with proper gain is 1/2 of what it would otherwise be. </p>

</div>
</div>
<a class="anchor" id="a4192e505766a5920f8771bde1fd871ae"></a><!-- doxytag: member="usrp_standard_common::has_tx_halfband" ref="a4192e505766a5920f8771bde1fd871ae" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="gc__types_8h.html#a0f2b5d454b7e4dda3861032cfce91085">bool</a> usrp_standard_common::has_tx_halfband </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>does the FPGA implement the initial Tx half-band filter? </p>

</div>
</div>
<a class="anchor" id="a07b889dbe4fecd870f40ddf2401948c6"></a><!-- doxytag: member="usrp_standard_common::nddcs" ref="a07b889dbe4fecd870f40ddf2401948c6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int usrp_standard_common::nddcs </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>number of digital downconverters implemented in the FPGA This will be 0, 1, 2 or 4. </p>

</div>
</div>
<a class="anchor" id="a9dec671bc0d7c50157083f46538844af"></a><!-- doxytag: member="usrp_standard_common::nducs" ref="a9dec671bc0d7c50157083f46538844af" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int usrp_standard_common::nducs </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>number of digital upconverters implemented in the FPGA This will be 0, 1, or 2. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="usrp__standard_8h_source.html">usrp_standard.h</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Dec 29 19:53:05 2010 for GNU Radio 3.3.0 C++ API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>