📄 structsemaphore__t.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"><title>YAVRTOS: semaphore_t Struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.5.4 --><div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul></div><div class="tabs"> <ul> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li><a href="functions.html"><span>Data Fields</span></a></li> </ul></div><h1>semaphore_t Struct Reference</h1><!-- doxytag: class="semaphore_t" -->Structure describing a semaphore. <a href="#_details">More...</a><p><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Data Fields</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structsemaphore__t.html#088cf253cd1b97761bfcd6e9df96a3fb">value</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight"><p><b>For internal use only.</b></p><p>The value of the semaphore </p> <a href="#088cf253cd1b97761bfcd6e9df96a3fb"></a><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Structure describing a semaphore. <p><dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__semaphore.html">Semaphores</a> </dd></dl><hr><h2>Field Documentation</h2><a class="anchor" name="088cf253cd1b97761bfcd6e9df96a3fb"></a><!-- doxytag: member="semaphore_t::value" ref="088cf253cd1b97761bfcd6e9df96a3fb" args="" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">int16_t <a class="el" href="structsemaphore__t.html#088cf253cd1b97761bfcd6e9df96a3fb">semaphore_t::value</a> </td> </tr> </table></div><div class="memdoc"><p><p><b>For internal use only.</b></p><p>The value of the semaphore </p><p>If you do decide to read or write the value of the semaphore directly, keep in mind <ul><li>it is a 16-bit value, and so interrupts need to be disabled when reading/writing </li><li>after writing, a <a class="el" href="group__task.html#g1a2a5bbefa85516b8c1d0e0361a834db" title="Stop executing the current task and try and execute a higher-priority task or another...">yield()</a> may need to be performed </li></ul></div></div><p><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="task_8h.html">task.h</a></ul><hr><p align="center"><font size="-1">YAVRTOS and YAVRTOS documentation Copyright © 2007-2008 Chris O'Byrne. Email - chris <at> obyrne <dot> com</font></p></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -