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

📄 intlib.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/intLib.html - generated by refgen from intLib.c --> <title> intLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual :  Libraries</i></a></p></blockquote><h1>intLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>intLib</strong> - architecture-independent interrupt subroutine library </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./intLib.html#intContext">intContext</a></i>(&nbsp;)</b>  -  determine if the current state is in interrupt or task context<br><b><i><a href="./intLib.html#intCount">intCount</a></i>(&nbsp;)</b>  -  get the current interrupt nesting depth<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides generic routines for interrupts.  Any C languageroutine can be connected to any interrupt (trap) by calling<b><i><a href="./intArchLib.html#intConnect">intConnect</a></i>(&nbsp;)</b>, which resides in intArchLib.  The <b><i><a href="./intLib.html#intCount">intCount</a></i>(&nbsp;)</b> and <b><i><a href="./intLib.html#intContext">intContext</a></i>(&nbsp;)</b>routines are used to determine whether the CPU is running in aninterrupt context or in a normal task context.  For information aboutarchitecture-dependent interrupt handling, see the manual entry forintArchLib.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>intLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./intLib.html#top">intLib</a></b>, <b><a href="./intArchLib.html#top">intArchLib</a></b>,  <i>VxWorks Programmer's Guide: Basic OS</i><hr><a name="intContext"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>intContext</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>intContext</i>(&nbsp;)</strong> - determine if the current state is in interrupt or task context</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>BOOL intContext (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns TRUE only if the current execution state is ininterrupt context and not in a meaningful task context.<p></blockquote><h4>RETURNS</h4><blockquote><p>TRUE or FALSE.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./intLib.html#top">intLib</a></b><hr><a name="intCount"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>intCount</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>intCount</i>(&nbsp;)</strong> - get the current interrupt nesting depth</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int intCount (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns the number of interrupts that are currently nested.<p></blockquote><h4>RETURNS</h4><blockquote><p>The number of nested interrupts.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./intLib.html#top">intLib</a></b></body></html>

⌨️ 快捷键说明

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