gnuk/ChibiOS_2.0.6/docs/html/struct_i_o_bus.html
2010-11-22 14:53:37 +09:00

131 lines
7.3 KiB
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>ChibiOS/RT: IOBus Struct Reference</title>
<link href="custom.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<table style="text-align: center; width: 100%;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 80px;"><img alt="ChibiOS/RT Logo" src="logo_small.png"></td>
<td><big><big>ChibiOS/RT</big></big><br><br>Architecture - Reference Manual - Guides</td>
<td style="width: 80px;"></td>
</tr>
</tbody>
</table>
<hr size="1">
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<h1>IOBus Struct Reference<br/>
<small>
[<a class="el" href="group___p_a_l.html">PAL Driver</a>]</small>
</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="IOBus" -->
<p>I/O bus descriptor.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="pal_8h_source.html">pal.h</a>&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___p_a_l___l_l_d.html#ga4a3294068a07606c952cefda0866761a">ioportid_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_i_o_bus.html#a79c1372324fc1d9d2c571ac6d47163f9">bus_portid</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Port identifier. <a href="#a79c1372324fc1d9d2c571ac6d47163f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___p_a_l___l_l_d.html#ga6115967a8db28246105e03741ff5eb18">ioportmask_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_i_o_bus.html#ab2efb4f2a7504ac2e737de26c1e4f33a">bus_mask</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Bus mask aligned to port bit 0. <a href="#ab2efb4f2a7504ac2e737de26c1e4f33a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___s_t_m8___c_o_r_e.html#gad0fca8b15c218d2c687f8c373a71d228">uint_fast8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_i_o_bus.html#a50c155a7f9aa5b254faa372f0619286a">bus_offset</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Offset, within the port, of the least significant bit of the bus. <a href="#a50c155a7f9aa5b254faa372f0619286a"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>I/O bus descriptor. </p>
<p>This structure describes a group of contiguous digital I/O lines that have to be handled as bus. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>I/O operations on a bus do not affect I/O lines on the same port but not belonging to the bus. </dd></dl>
<p>Definition at line <a class="el" href="pal_8h_source.html#l00129">129</a> of file <a class="el" href="pal_8h_source.html">pal.h</a>.</p>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a79c1372324fc1d9d2c571ac6d47163f9"></a><!-- doxytag: member="IOBus::bus_portid" ref="a79c1372324fc1d9d2c571ac6d47163f9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group___p_a_l___l_l_d.html#ga4a3294068a07606c952cefda0866761a">ioportid_t</a> <a class="el" href="struct_i_o_bus.html#a79c1372324fc1d9d2c571ac6d47163f9">IOBus::bus_portid</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Port identifier. </p>
<p>Definition at line <a class="el" href="pal_8h_source.html#l00133">133</a> of file <a class="el" href="pal_8h_source.html">pal.h</a>.</p>
<p>Referenced by <a class="el" href="group___p_a_l.html#gac464cacee6890a3eab2e2db1b7d8d6f9">palReadBus()</a>, <a class="el" href="group___p_a_l.html#ga25ef645e442638716008408357f4ea59">palSetBusMode()</a>, and <a class="el" href="group___p_a_l.html#ga486b5ab6062e6a8f9d5efdd7a8908a79">palWriteBus()</a>.</p>
</div>
</div>
<a class="anchor" id="ab2efb4f2a7504ac2e737de26c1e4f33a"></a><!-- doxytag: member="IOBus::bus_mask" ref="ab2efb4f2a7504ac2e737de26c1e4f33a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group___p_a_l___l_l_d.html#ga6115967a8db28246105e03741ff5eb18">ioportmask_t</a> <a class="el" href="struct_i_o_bus.html#ab2efb4f2a7504ac2e737de26c1e4f33a">IOBus::bus_mask</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Bus mask aligned to port bit 0. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>The bus mask implicitly define the bus width. A logical AND is performed on the bus data. </dd></dl>
<p>Definition at line <a class="el" href="pal_8h_source.html#l00139">139</a> of file <a class="el" href="pal_8h_source.html">pal.h</a>.</p>
<p>Referenced by <a class="el" href="group___p_a_l.html#gac464cacee6890a3eab2e2db1b7d8d6f9">palReadBus()</a>, <a class="el" href="group___p_a_l.html#ga25ef645e442638716008408357f4ea59">palSetBusMode()</a>, and <a class="el" href="group___p_a_l.html#ga486b5ab6062e6a8f9d5efdd7a8908a79">palWriteBus()</a>.</p>
</div>
</div>
<a class="anchor" id="a50c155a7f9aa5b254faa372f0619286a"></a><!-- doxytag: member="IOBus::bus_offset" ref="a50c155a7f9aa5b254faa372f0619286a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group___s_t_m8___c_o_r_e.html#gad0fca8b15c218d2c687f8c373a71d228">uint_fast8_t</a> <a class="el" href="struct_i_o_bus.html#a50c155a7f9aa5b254faa372f0619286a">IOBus::bus_offset</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Offset, within the port, of the least significant bit of the bus. </p>
<p>Definition at line <a class="el" href="pal_8h_source.html#l00143">143</a> of file <a class="el" href="pal_8h_source.html">pal.h</a>.</p>
<p>Referenced by <a class="el" href="group___p_a_l.html#gac464cacee6890a3eab2e2db1b7d8d6f9">palReadBus()</a>, <a class="el" href="group___p_a_l.html#ga25ef645e442638716008408357f4ea59">palSetBusMode()</a>, and <a class="el" href="group___p_a_l.html#ga486b5ab6062e6a8f9d5efdd7a8908a79">palWriteBus()</a>.</p>
</div>
</div>
</div>
<hr size="1"><address style="text-align: right;"><small>
Generated on Sun Oct 24 2010 09:40:49 for ChibiOS/RT by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.7.1</small></address>
</body>
</html>