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

📄 syslib.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysAuxClkEnable">sysAuxClkEnable</a></i>(&nbsp;)</b><hr><a name="sysAuxClkEnable"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysAuxClkEnable</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysAuxClkEnable</i>(&nbsp;)</strong> - turn on auxiliary clock interrupts</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void sysAuxClkEnable (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine enables auxiliary clock interrupts.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysAuxClkConnect">sysAuxClkConnect</a></i>(&nbsp;)</b>, <b><i><a href="./sysLib.html#sysAuxClkDisable">sysAuxClkDisable</a></i>(&nbsp;)</b>, <b><i><a href="./sysLib.html#sysAuxClkRateSet">sysAuxClkRateSet</a></i>(&nbsp;)</b><hr><a name="sysAuxClkRateGet"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysAuxClkRateGet</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysAuxClkRateGet</i>(&nbsp;)</strong> - get the auxiliary clock rate</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int sysAuxClkRateGet (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the interrupt rate of the auxiliary clock.<p></blockquote><h4>RETURNS</h4><blockquote><p>The number of ticks per second of the auxiliary clock.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysAuxClkEnable">sysAuxClkEnable</a></i>(&nbsp;)</b>, <b><i><a href="./sysLib.html#sysAuxClkRateSet">sysAuxClkRateSet</a></i>(&nbsp;)</b><hr><a name="sysAuxClkRateSet"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysAuxClkRateSet</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysAuxClkRateSet</i>(&nbsp;)</strong> - set the auxiliary clock rate</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysAuxClkRateSet    (    int ticksPerSecond /* number of clock interrupts per second */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine sets the interrupt rate of the auxiliary clock.  It does notenable auxiliary clock interrupts.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the tick rate is invalid or the timer cannot be set.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysAuxClkEnable">sysAuxClkEnable</a></i>(&nbsp;)</b>, <b><i><a href="./sysLib.html#sysAuxClkRateGet">sysAuxClkRateGet</a></i>(&nbsp;)</b><hr><a name="sysNvRamGet"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysNvRamGet</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysNvRamGet</i>(&nbsp;)</strong> - get the contents of non-volatile RAM</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysNvRamGet    (    char * string, /* where to copy non-volatile RAM */    int    strLen, /* maximum number of bytes to copy */    int    offset  /* byte offset into non-volatile RAM */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine copies the contents of non-volatile memory into a specifiedstring.  The string is terminated with an EOS.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no non-volatile RAM.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysNvRamSet">sysNvRamSet</a></i>(&nbsp;)</b><hr><a name="sysNvRamSet"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysNvRamSet</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysNvRamSet</i>(&nbsp;)</strong> - write to non-volatile RAM</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysNvRamSet    (    char * string, /* string to be copied into non-volatile RAM */    int    strLen, /* maximum number of bytes to copy */    int    offset  /* byte offset into non-volatile RAM */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine copies a specified string into non-volatile RAM.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no non-volatile RAM.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysNvRamGet">sysNvRamGet</a></i>(&nbsp;)</b><hr><a name="sysLocalToBusAdrs"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysLocalToBusAdrs</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysLocalToBusAdrs</i>(&nbsp;)</strong> - convert a local address to a bus address</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysLocalToBusAdrs    (    int    adrsSpace, /* bus address space in which busAdrs resides, use */                      /* modifier codes defined in vme.h, such as */    char * localAdrs, /* local address to convert */    char * *pBusAdrs  /* where to return bus address */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine gets the VMEbus address that accesses a specified localmemory address.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no VMEbus.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysBusToLocalAdrs">sysBusToLocalAdrs</a></i>(&nbsp;)</b><hr><a name="sysBusToLocalAdrs"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysBusToLocalAdrs</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysBusToLocalAdrs</i>(&nbsp;)</strong> - convert a bus address to a local address</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysBusToLocalAdrs    (    int    adrsSpace,  /* bus address space in which busAdrs resides, use */                       /* modifier codes defined in vme.h, such as */    char * busAdrs,    /* bus address to convert */    char * *pLocalAdrs /* where to return local address */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine gets the local address that accesses a specified VMEbusaddress.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no VMEbus.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysLocalToBusAdrs">sysLocalToBusAdrs</a></i>(&nbsp;)</b><hr><a name="sysBusIntAck"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysBusIntAck</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysBusIntAck</i>(&nbsp;)</strong> - acknowledge a bus interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int sysBusIntAck    (    int intLevel /* interrupt level to acknowledge */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine acknowledges a specified VMEbus interrupt level.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no VMEbus.<p></blockquote><h4>RETURNS</h4><blockquote><p>NULL.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="sysBusIntGen"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysBusIntGen</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysBusIntGen</i>(&nbsp;)</strong> - generate a bus interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysBusIntGen    (    int level, /* bus interrupt level to generate */    int vector /* interrupt vector to return (0-255) */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine generates a VMEbus interrupt for a specified level with aspecified vector.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since there is no VMEbus.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="sysMailboxConnect"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysMailboxConnect</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysMailboxConnect</i>(&nbsp;)</strong> - connect a routine to the mailbox interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysMailboxConnect    (    FUNCPTR routine, /* routine called at each mailbox interrupt */    int     arg      /* argument with which to call routine */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine specifies the interrupt service routine to be called at eachmailbox interrupt.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since the hardware does not support mailboxinterrupts.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysMailboxEnable">sysMailboxEnable</a></i>(&nbsp;)</b><hr><a name="sysMailboxEnable"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysMailboxEnable</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysMailboxEnable</i>(&nbsp;)</strong> - enable the mailbox interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysMailboxEnable    (    INT8 * mailboxAdrs /* mailbox address */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine enables the mailbox interrupt.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine has no effect, since the hardware does not support mailboxinterrupts.<p></blockquote><h4>RETURNS</h4><blockquote><p>ERROR, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysMailboxConnect">sysMailboxConnect</a></i>(&nbsp;)</b><hr><a name="sysBusTas"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysBusTas</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysBusTas</i>(&nbsp;)</strong> - test and set a location across the bus</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>BOOL sysBusTas    (    INT8 * addr /* address to be tested and set */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine performs a test-and-set (TAS) instruction across the backplane.<p></blockquote><h4>NOTE</h4><blockquote><p>This routine is equivalent to <b><i><a href="../hpux/sysLib.html#vxTas" >vxTas</a></i>(&nbsp;)</b>, since there is no VMEbus.<p></blockquote><h4>RETURNS</h4><blockquote><p>TRUE if the value had not been set but is now,or FALSE if the value was set already.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="../hpux/sysLib.html#vxTas" >vxTas</a></i>(&nbsp;)</b><hr><a name="sysSerialHwInit"></a><p align=right><a href="rtnIndex.html"><i>ns486 :  Routines</i></a></p></blockquote><h1><i>sysSerialHwInit</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sysSerialHwInit</i>(&nbsp;)</strong> - initialize the BSP serial devices to a quiescent state</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void sysSerialHwInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine initializes the BSP serial device descriptors and puts thedevices in a quiescent state.  It is called from <b><i><a href="./sysLib.html#sysHwInit">sysHwInit</a></i>(&nbsp;)</b> withinterrupts locked.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><i><a href="./sysLib.html#sysHwInit">sysHwInit</a></i>(&nbsp;)</b><hr><a name="sysSerialHwInit2"></a>

⌨️ 快捷键说明

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