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

📄 intlib.html

📁 Vxworks API操作系统和驱动程序设计API。压缩的HTML文件
💻 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.htm"><i>VxWorks API Reference :  OS 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><a href="./intLib.html#intContext">intContext</a>(&nbsp;)</b>  -  determine if the current state is in interrupt or task context<br><b><a href="./intLib.html#intCount">intCount</a>(&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><a href="./intArchLib.html#intConnect">intConnect</a>(&nbsp;)</b>, which resides in <b><a href="./intArchLib.html#top">intArchLib</a></b>.  The <b><a href="./intLib.html#intCount">intCount</a>(&nbsp;)</b> and <b><a href="./intLib.html#intContext">intContext</a>(&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 for<b><a href="./intArchLib.html#top">intArchLib</a></b>.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>intLib.h</b><p></blockquote><h4>SEE ALSO</h4><blockquote><p><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.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>intContext(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>intContext(&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.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>intCount(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>intCount(&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 + -