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

📄 wvtmrlib.html

📁 Vxworks API操作系统和驱动程序设计API。压缩的HTML文件
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/wvTmrLib.html - generated by refgen from wvTmrLib.c --> <title> wvTmrLib </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>wvTmrLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wvTmrLib</strong> - timer library (WindView) </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./wvTmrLib.html#wvTmrRegister">wvTmrRegister</a>(&nbsp;)</b>  -  register a timestamp timer (WindView)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library allows a WindView timestamp timer to be registered.  When thistimer is enabled, events are tagged with a timestamp as they are logged.<p>Seven routines are required: a timestamp routine, a timestamp routine thatguarantees interrupt lockout, a routine that enables the timer driver, aroutine that disables the timer driver, a routine that specifies theroutine to run when the timer hits a rollover, a routine that returns theperiod of the timer, and a routine that returns the frequency of thetimer.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvLib.html#top">wvLib</a></b>,<i>WindView User's Guide </i><hr><a name="wvTmrRegister"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>wvTmrRegister(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wvTmrRegister(&nbsp;)</strong> - register a timestamp timer (WindView)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void wvTmrRegister    (    UINTFUNCPTR wvTmrRtn,     /* timestamp routine */    UINTFUNCPTR wvTmrLockRtn, /* locked timestamp routine */    FUNCPTR     wvTmrEnable,  /* enable timer routine */    FUNCPTR     wvTmrDisable, /* disable timer routine */    FUNCPTR     wvTmrConnect, /* connect to timer routine */    UINTFUNCPTR wvTmrPeriod,  /* period of timer routine */    UINTFUNCPTR wvTmrFreq     /* frequency of timer routine */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine registers a timestamp routine for each of the following: <dl><dt><i>wvTmrRtn</i><dd>a timestamp routine, which returns a timestamp when called (must be calledwith interrupts locked).<dt><i>wvTmrLockRtn</i><dd>a timestamp routine, which returns a timestamp when called (locks interrupts).<dt><i>wvTmrEnable</i><dd>an enable-timer routine, which enables the timestamp timer.<dt><i>wvTmrDisable</i><dd>a disable-timer routine, which disables the timestamp timer.<dt><i>wvTmrConnect</i><dd>a connect-to-timer routine, which connects a handler to be run when the timerrolls over; this routine should return NULL if the system clock tick is to beused.<dt><i>wvTmrPeriod</i><dd>a period-of-timer routine, which returns the period of the timer.<dt><i>wvTmrFreq</i><dd>a frequency-of-timer routine, which returns the frequency of the timer.</dl><p>If any of these routines is set to NULL, the behavior of instrumented code is undefined.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvTmrLib.html#top">wvTmrLib</a></b></body></html>

⌨️ 快捷键说明

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