dsplib.html

来自「Vxworks API操作系统和驱动程序设计API。压缩的HTML文件」· HTML 代码 · 共 82 行

HTML
82
字号
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/dspLib.html - generated by refgen from dspLib.c --> <title> dspLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.htm"><i>VxWorks API Reference :  OS Libraries</i></a></p></blockquote><h1>dspLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>dspLib</strong> - dsp support library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./dspLib.html#dspInit">dspInit</a>(&nbsp;)</b>  -  initialize dsp support<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides a general interface to the dsp.To activate dsp support, <b><a href="./dspLib.html#dspInit">dspInit</a>(&nbsp;)</b> must be called before anytasks using the dsp are spawned.  This is done automatically bythe root task, <b><a href="./usrConfig.html#usrRoot">usrRoot</a>(&nbsp;)</b>, in <b>usrConfig.c</b> when <b>INCLUDE_DSP</b> is defined in<b>configAll.h</b>.<p>For information about architecture-dependent dsp routines, seethe manual entry for <b>dspArchLib</b>.<p><b>VX_DSP_TASK</b> OPTIONSaving and restoring dsp registers adds to the context switchtime of a task.  Therefore, dsp registers are not savedand restored for every task.  Only those tasks spawned with the taskoption <b>VX_DSP_TASK</b> will have dsp registers saved and restored.<p></blockquote><h4>NOTE</h4><blockquote><p>If a task does any dsp operations,it must be spawned with <b>VX_DSP_TASK</b>.<p></blockquote><h4>INTERRUPT LEVEL</h4><blockquote><p>DSP registers are not saved and restored for interruptservice routines connected with <b><a href="./intArchLib.html#intConnect">intConnect</a>(&nbsp;)</b>.  However, if necessary,an interrupt service routine can save and restore dsp registersby calling routines in <b>dspArchLib</b>.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>dspLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b>dspArchLib</b>, <b><a href="./dspShow.html#top">dspShow</a></b>, <b><a href="./intArchLib.html#intConnect">intConnect</a>(&nbsp;)</b>,<i>VxWorks Programmer's Guide: Basic OS </i><hr><a name="dspInit"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>dspInit(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>dspInit(&nbsp;)</strong> - initialize dsp support</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void dspInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine initializes dsp support and must becalled before using the dsp.  This is doneautomatically by the root task, <b><a href="./usrConfig.html#usrRoot">usrRoot</a>(&nbsp;)</b>, in <b>usrConfig.c</b> when <b>INCLUDE_DSP</b>is defined in <b>configAll.h</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./dspLib.html#top">dspLib</a></b></body></html>

⌨️ 快捷键说明

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