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

📄 codec___8h.html

📁 BlueLab3 bluetooth API 说明文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
    <tr><td></td><td valign=top><em>analogue</em>&nbsp;</td><td>The analogue gain </td></tr>    <tr><td></td><td valign=top><em>digital</em>&nbsp;</td><td>The digital gain</td></tr>  </table></dl>It should be noted that the preferred mechanism of setting these input gains is via CodecSetInputGainA. Raw access to the gain registers may be removed in later BlueLab revisions and use of CodecSetInputGainA will decouple the VM application from changes in the underlying hardware between BlueCore variants.<p>A mapping of register values to codec gain settings in dB may be obtained from the data book of a given BlueCore device.     </td>  </tr></table><a class="anchor" name="a8" doxytag="codec_.h::CodecSetRawInputGainB" ></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 CodecSetRawInputGainB           </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>analogue</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>digital</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>Sets the raw analogue and digital input gains for the codec channel B if present. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>analogue</em>&nbsp;</td><td>The analogue gain </td></tr>    <tr><td></td><td valign=top><em>digital</em>&nbsp;</td><td>The digital gain</td></tr>  </table></dl>It should be noted that the preferred mechanism of setting these input gains is via CodecSetInputGainB. Raw access to the gain registers may be removed in later BlueLab revisions and use of CodecSetInputGainB will decouple the VM application from changes in the underlying hardware between BlueCore variants.<p>A mapping of register values to codec gain settings in dB may be obtained from the data book of a given BlueCore device.     </td>  </tr></table><a class="anchor" name="a9" doxytag="codec_.h::CodecSetRawOutputGainA" ></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 CodecSetRawOutputGainA           </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>analogue</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>digital</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>Sets the raw analogue and digital output gains for the codec. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>analogue</em>&nbsp;</td><td>The analogue gain </td></tr>    <tr><td></td><td valign=top><em>digital</em>&nbsp;</td><td>The digital gain</td></tr>  </table></dl>It should be noted that the preferred mechanism of setting these output gains is via CodecSetOutputGainA. Raw access to the gain registers may be removed in later BlueLab revisions and use of CodecSetOutputGainA will decouple the VM application from changes in the underlying hardware between BlueCore variants.<p>A mapping of register values to codec gain settings in dB may be obtained from the data book of a given BlueCore device.     </td>  </tr></table><a class="anchor" name="a10" doxytag="codec_.h::CodecSetRawOutputGainB" ></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 CodecSetRawOutputGainB           </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>analogue</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>digital</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>Sets the raw analogue and digital output gains for the codec channel B if present. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>analogue</em>&nbsp;</td><td>The analogue gain </td></tr>    <tr><td></td><td valign=top><em>digital</em>&nbsp;</td><td>The digital gain</td></tr>  </table></dl>It should be noted that the preferred mechanism of setting these output gains is via CodecSetOutputGainB. Raw access to the gain registers may be removed in later BlueLab revisions and use of CodecSetOutputGainB will decouple the VM application from changes in the underlying hardware between BlueCore variants.<p>A mapping of register values to codec gain settings in dB may be obtained from the data book of a given BlueCore device.     </td>  </tr></table><a class="anchor" name="a11" doxytag="codec_.h::CodecEnableMicInputGainA" ></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 CodecEnableMicInputGainA           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a9">bool</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>enable</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>Enables additional input gain. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>enable</em>&nbsp;</td><td><a class="el" href="csrtypes_8h.html#a0">TRUE(enable extra gain)</a> or <a class="el" href="csrtypes_8h.html#a1">FALSE(disable extra gain)</a></td></tr>  </table></dl>Passing TRUE to this trap enables the microphone pre-amp on BlueCore for channel A. This results in an additional 20dB of input gain on that channel. In designs that use a microphone, enabling this functionality is recommended.     </td>  </tr></table><a class="anchor" name="a12" doxytag="codec_.h::CodecEnableMicInputGainB" ></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 CodecEnableMicInputGainB           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a9">bool</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>enable</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>Enables additional gain on input channel B if present. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>enable</em>&nbsp;</td><td><a class="el" href="csrtypes_8h.html#a0">TRUE(enable extra gain)</a> or <a class="el" href="csrtypes_8h.html#a1">FALSE(disable extra gain)</a></td></tr>  </table></dl>Passing TRUE to this trap enables the microphone pre-amp on BlueCore for channel B. This results in an additional 20dB of input gain on that channel. In designs that use a microphone, enabling this functionality is recommended.     </td>  </tr></table><a class="anchor" name="a13" doxytag="codec_.h::CodecOutputStageAEnableLowPower" ></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 CodecOutputStageAEnableLowPower           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a9">bool</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>enable</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>Enables or disables low power mode for the codec channel A output stage. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>enable</em>&nbsp;</td><td>TRUE will enable low power mode, FALSE will disable it. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a14" doxytag="codec_.h::CodecOutputStageBEnableLowPower" ></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 CodecOutputStageBEnableLowPower           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="csrtypes_8h.html#a9">bool</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>enable</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>Enables or disables low power mode for the codec channel B output stage. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>enable</em>&nbsp;</td><td>TRUE will enable low power mode, FALSE will disable it. </td></tr>  </table></dl>    </td>  </tr></table></body></html>

⌨️ 快捷键说明

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