📄 syslib.html
字号:
<pre>void sysAuxClkEnable (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine enables auxiliary clock interrupts.<p></blockquote><h4>NOTE </h4><blockquote><p>This is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<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><a href="./sysLib.html#sysAuxClkConnect">sysAuxClkConnect</a>( )</b>, <b><a href="./sysLib.html#sysAuxClkDisable">sysAuxClkDisable</a>( )</b>, <b><a href="./sysLib.html#sysAuxClkRateSet">sysAuxClkRateSet</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysAuxClkRateGet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>sysAuxClkRateGet( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sysAuxClkRateGet( )</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>NOTE </h4><blockquote><p>This is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<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><a href="./sysLib.html#sysAuxClkEnable">sysAuxClkEnable</a>( )</b>, <b><a href="./sysLib.html#sysAuxClkRateSet">sysAuxClkRateSet</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysAuxClkRateSet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>sysAuxClkRateSet( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sysAuxClkRateSet( )</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 not enable auxiliary clock interrupts.<p></blockquote><h4>NOTE </h4><blockquote><p>This is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<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><a href="./sysLib.html#sysAuxClkEnable">sysAuxClkEnable</a>( )</b>, <b><a href="./sysLib.html#sysAuxClkRateGet">sysAuxClkRateGet</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysIntDisable"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>sysIntDisable( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sysIntDisable( )</strong> - disable a bus interrupt level</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysIntDisable ( int intLevel /* interrupt level to disable */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine disables a specified bus interrupt level.<p></blockquote><h4>NOTE </h4><blockquote><p>This is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if <i>intLevel</i> is out of range.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><a href="./sysLib.html#sysIntEnable">sysIntEnable</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysIntEnable"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>sysIntEnable( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sysIntEnable( )</strong> - enable a bus interrupt level</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysIntEnable ( int intLevel /* interrupt level to enable (1-7) */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine enables a specified bus interrupt level.<p></blockquote><h4>NOTE </h4><blockquote><p>This is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if <i>intLevel</i> is out of range.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><a href="./sysLib.html#sysIntDisable">sysIntDisable</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysBusIntAck"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>sysBusIntAck( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sysBusIntAck( )</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 is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<p></blockquote><h4>RETURNS</h4><blockquote><p>NULL.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><a href="./sysLib.html#sysBusIntGen">sysBusIntGen</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysBusIntGen"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>sysBusIntGen( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sysBusIntGen( )</strong> - generate a bus interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysBusIntGen ( int intLevel, /* bus interrupt level to generate */ int vector /* interrupt vector to generate (0-255) */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine generates a bus interrupt for a specified level with aspecified vector.<p></blockquote><h4>NOTE </h4><blockquote><p>This is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if <i>intLevel</i> is out of range or the board cannotgenerate a bus interrupt.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><a href="./sysLib.html#sysBusIntAck">sysBusIntAck</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysMailboxConnect"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>sysMailboxConnect( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sysMailboxConnect( )</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 is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the routine cannot be connected to the interrupt.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><a href="./intArchLib.html#intConnect">intConnect</a>( )</b>, <b><a href="./sysLib.html#sysMailboxEnable">sysMailboxEnable</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysMailboxEnable"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>sysMailboxEnable( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sysMailboxEnable( )</strong> - enable the mailbox interrupt</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sysMailboxEnable ( char * mailboxAdrs /* address of mailbox (ignored) */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine enables the mailbox interrupt.<p></blockquote><h4>NOTE </h4><blockquote><p>This is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, always.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><a href="./sysLib.html#sysMailboxConnect">sysMailboxConnect</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysNvRamGet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>sysNvRamGet( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sysNvRamGet( )</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 will be terminated with an EOS.<p></blockquote><h4>NOTE </h4><blockquote><p>This is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if access is outside the non-volatile RAM address range.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><a href="./sysLib.html#sysNvRamSet">sysNvRamSet</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysNvRamSet"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries : Routines</i></a></p></blockquote><h1>sysNvRamSet( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>sysNvRamSet( )</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 is a generic page for a BSP-specific routine; thisdescription contains general information only. To determine if thisroutine is supported by your BSP, or for information specific to yourBSP's version of this routine, see the reference pages for your BSP.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if access is outside the non-volatile RAM address range.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b>, <b><a href="./sysLib.html#sysNvRamGet">sysNvRamGet</a>( )</b>, and BSP-specific reference pages for this routine.<hr><a name="sysModel"></a>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -