⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test_8h.html

📁 BlueLab3 bluetooth API 说明文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>BlueLab: test.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.8 --><div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>test.h File Reference</h1>Functions to enter BlueCore test modes. <a href="#_details">More...</a><p><h2>Data Structures</h2><ul><li>struct <a class="el" href="struct_p_d_u__.html">PDU_</a></ul><h2>Functions</h2><ul><li>void <a class="el" href="test_8h.html#a0">TestBccmd_</a> (<a class="el" href="struct_p_d_u__.html">PDU_</a> *pdu, <a class="el" href="csrtypes_8h.html#a4">uint16</a> size)<dl class="el"><dd class="mdescRight">Internal function. Don't call this function directly. Don't rely on this being present.  <a href="#a0"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a1">TestPerform_</a> (<a class="el" href="struct_p_d_u__.html">PDU_</a> *pdu)<dl class="el"><dd class="mdescRight">Internal function. Don't call this function directly. Don't rely on this being present.  <a href="#a1"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a2">TestPause</a> (void)<dl class="el"><dd class="mdescRight">Radio test pause.  <a href="#a2"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a3">TestTxStart</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> lo_freq, <a class="el" href="csrtypes_8h.html#a4">uint16</a> level, <a class="el" href="csrtypes_8h.html#a4">uint16</a> mod_freq)<dl class="el"><dd class="mdescRight">Radio test tx start.  <a href="#a3"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a4">TestTxData1</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> lo_freq, <a class="el" href="csrtypes_8h.html#a4">uint16</a> level)<dl class="el"><dd class="mdescRight">Radio test tx data 1.  <a href="#a4"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a5">TestTxData2</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> cc, <a class="el" href="csrtypes_8h.html#a4">uint16</a> level)<dl class="el"><dd class="mdescRight">Radio test tx data 2.  <a href="#a5"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a6">TestRxStart</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> lo_freq, <a class="el" href="csrtypes_8h.html#a4">uint16</a> highside, <a class="el" href="csrtypes_8h.html#a4">uint16</a> attn)<dl class="el"><dd class="mdescRight">Radio test rx.  <a href="#a6"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a7">TestDeepSleep</a> (void)<dl class="el"><dd class="mdescRight">Radio test deep sleep.  <a href="#a7"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a8">TestPcmLb</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> pcm_mode)<dl class="el"><dd class="mdescRight">Configure hardware loopback for PCM port.  <a href="#a8"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a9">TestLoopback</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> lo_freq, <a class="el" href="csrtypes_8h.html#a4">uint16</a> level)<dl class="el"><dd class="mdescRight">Radio test loop back.  <a href="#a9"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a10">TestPcmExtLb</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> pcm_mode)<dl class="el"><dd class="mdescRight">Configure external hardware loopback for PCM port. A block of random data is written to the PCM output port and is read back again on the PCM input port.  <a href="#a10"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a11">TestCfgXtalFtrim</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> xtal_ftrim)<dl class="el"><dd class="mdescRight">Radio test for configuring the crystal trim value.  <a href="#a11"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a12">TestPcmTone</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> freq, <a class="el" href="csrtypes_8h.html#a4">uint16</a> ampl, <a class="el" href="csrtypes_8h.html#a4">uint16</a> dc)<dl class="el"><dd class="mdescRight">Play a constant tone on the PCM port (or the codec for BC02 with PSKEY_HOSTIO_MAP_SCO_CODEC set).  <a href="#a12"></a><br></dl><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="test_8h.html#a13">TestCodecStereoLb</a> (<a class="el" href="csrtypes_8h.html#a4">uint16</a> samp_rate, <a class="el" href="csrtypes_8h.html#a4">uint16</a> reroute_optn)<dl class="el"><dd class="mdescRight">Turn on codec hardware for stereo loopback.  <a href="#a13"></a><br></dl></ul><hr><a name="_details"></a><h2>Detailed Description</h2>Functions to enter BlueCore test modes. <p><hr><h2>Function Documentation</h2><a class="anchor" name="a0" doxytag="test.h::TestBccmd_" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void TestBccmd_           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="struct_p_d_u__.html">PDU_</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>pdu</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>size</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Internal function. Don't call this function directly. Don't rely on this being present. <p>    </td>  </tr></table><a class="anchor" name="a1" doxytag="test.h::TestPerform_" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a9">bool</a> TestPerform_           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="struct_p_d_u__.html">PDU_</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pdu</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Internal function. Don't call this function directly. Don't rely on this being present. <p>    </td>  </tr></table><a class="anchor" name="a2" doxytag="test.h::TestPause" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a9">bool</a> TestPause           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">void&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Radio test pause. <p>    </td>  </tr></table><a class="anchor" name="a3" doxytag="test.h::TestTxStart" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a9">bool</a> TestTxStart           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>lo_freq</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>level</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>mod_freq</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Radio test tx start. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>lo_freq</em>&nbsp;</td><td>The lo_freq to use. </td></tr>    <tr><td></td><td valign=top><em>level</em>&nbsp;</td><td>The level to use. </td></tr>    <tr><td></td><td valign=top><em>mod_freq</em>&nbsp;</td><td>The mod_freq to use. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a4" doxytag="test.h::TestTxData1" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a9">bool</a> TestTxData1           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>lo_freq</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>level</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Radio test tx data 1. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>lo_freq</em>&nbsp;</td><td>Local oscillator frequency to use. </td></tr>    <tr><td></td><td valign=top><em>level</em>&nbsp;</td><td>Transmit level to use. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a5" doxytag="test.h::TestTxData2" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a9">bool</a> TestTxData2           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>cc</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>level</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Radio test tx data 2. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>cc</em>&nbsp;</td><td>The cc to use. </td></tr>    <tr><td></td><td valign=top><em>level</em>&nbsp;</td><td>The level to use. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a6" doxytag="test.h::TestRxStart" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a9">bool</a> TestRxStart           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>lo_freq</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>highside</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>attn</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -