1
0
mirror of https://github.com/SMFSW/cI2C synced 2024-11-22 09:54:23 +01:00
cI2C/html/struct_struct_i2_c_slave.html

225 lines
11 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arduino Hardware I2C for AVR MCUs (plain c): StructI2CSlave Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Arduino Hardware I2C for AVR MCUs (plain c)
&#160;<span id="projectnumber">1.3</span>
</div>
<div id="projectbrief">Arduino Hardware I2C for AVR MCUs (plain c) documentation</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<div class="title">StructI2CSlave Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>ci2c slave config and control parameters
<a href="struct_struct_i2_c_slave.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="ci2c_8h_source.html">src/ci2c.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a5406b3a910596e79c699ebde2a3c54f0"><td class="memItemLeft" >struct {</td></tr>
<tr class="memitem:a8801f8c521351560401db4d8e561c5d1"><td class="memItemLeft" >&#160;&#160;&#160;uint8_t&#160;&#160;&#160;<a class="el" href="struct_struct_i2_c_slave.html#a3d3e5a1700d2e82c94fde663bc9dd846">addr</a></td></tr>
<tr class="memdesc:a8801f8c521351560401db4d8e561c5d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave address. <a href="#a8801f8c521351560401db4d8e561c5d1">More...</a><br /></td></tr>
<tr class="separator:a8801f8c521351560401db4d8e561c5d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f7378387b0c46df4c64b76204d6bab9"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="ci2c_8h.html#a9dadf50a895a9c06f7fb2968166b316a">I2C_INT_SIZE</a>&#160;&#160;&#160;<a class="el" href="struct_struct_i2_c_slave.html#a028efd71ef1b338ff734d2d330baa422">reg_size</a></td></tr>
<tr class="memdesc:a0f7378387b0c46df4c64b76204d6bab9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave internal registers size. <a href="#a0f7378387b0c46df4c64b76204d6bab9">More...</a><br /></td></tr>
<tr class="separator:a0f7378387b0c46df4c64b76204d6bab9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb082d2bb257b41ab182696b0a6bd58b"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="ci2c_8h.html#af9c7e60b84174c9a42c0883f4c4a9b97">ci2c_fct_ptr</a>&#160;&#160;&#160;<a class="el" href="struct_struct_i2_c_slave.html#a2c58ac88c9796097b0f4388d751622d5">wr</a></td></tr>
<tr class="memdesc:adb082d2bb257b41ab182696b0a6bd58b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave write function pointer. <a href="#adb082d2bb257b41ab182696b0a6bd58b">More...</a><br /></td></tr>
<tr class="separator:adb082d2bb257b41ab182696b0a6bd58b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca8ccdc2ace7919a26dfb2b6097c2cdf"><td class="memItemLeft" >&#160;&#160;&#160;<a class="el" href="ci2c_8h.html#af9c7e60b84174c9a42c0883f4c4a9b97">ci2c_fct_ptr</a>&#160;&#160;&#160;<a class="el" href="struct_struct_i2_c_slave.html#a105b8255b0afd005126ef5ce8ee79eee">rd</a></td></tr>
<tr class="memdesc:aca8ccdc2ace7919a26dfb2b6097c2cdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Slave read function pointer. <a href="#aca8ccdc2ace7919a26dfb2b6097c2cdf">More...</a><br /></td></tr>
<tr class="separator:aca8ccdc2ace7919a26dfb2b6097c2cdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5406b3a910596e79c699ebde2a3c54f0"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_struct_i2_c_slave.html#a5406b3a910596e79c699ebde2a3c54f0">cfg</a></td></tr>
<tr class="separator:a5406b3a910596e79c699ebde2a3c54f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cf6f22dd2f68f43d63c377065f75237"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_struct_i2_c_slave.html#a0cf6f22dd2f68f43d63c377065f75237">reg_addr</a></td></tr>
<tr class="memdesc:a0cf6f22dd2f68f43d63c377065f75237"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal current register address. <a href="#a0cf6f22dd2f68f43d63c377065f75237">More...</a><br /></td></tr>
<tr class="separator:a0cf6f22dd2f68f43d63c377065f75237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5535a5ae60da0c21c6a739f4280c63a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ci2c_8h.html#a489c20161e94a87325ca7e240032686b">I2C_STATUS</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_struct_i2_c_slave.html#a5535a5ae60da0c21c6a739f4280c63a6">status</a></td></tr>
<tr class="memdesc:a5535a5ae60da0c21c6a739f4280c63a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status of the last communications. <a href="#a5535a5ae60da0c21c6a739f4280c63a6">More...</a><br /></td></tr>
<tr class="separator:a5535a5ae60da0c21c6a739f4280c63a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>ci2c slave config and control parameters </p>
<dl class="attribute"><dt><b><a class="el" href="attribute.html#_attribute000008">GCC Attributes:</a></b></dt><dd>packed struct </dd></dl>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="a3d3e5a1700d2e82c94fde663bc9dd846"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d3e5a1700d2e82c94fde663bc9dd846">&#9670;&nbsp;</a></span>addr</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint8_t StructI2CSlave::addr</td>
</tr>
</table>
</div><div class="memdoc">
<p>Slave address. </p>
</div>
</div>
<a id="a5406b3a910596e79c699ebde2a3c54f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5406b3a910596e79c699ebde2a3c54f0">&#9670;&nbsp;</a></span>cfg</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct { ... } StructI2CSlave::cfg</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a105b8255b0afd005126ef5ce8ee79eee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a105b8255b0afd005126ef5ce8ee79eee">&#9670;&nbsp;</a></span>rd</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="ci2c_8h.html#af9c7e60b84174c9a42c0883f4c4a9b97">ci2c_fct_ptr</a> StructI2CSlave::rd</td>
</tr>
</table>
</div><div class="memdoc">
<p>Slave read function pointer. </p>
</div>
</div>
<a id="a0cf6f22dd2f68f43d63c377065f75237"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cf6f22dd2f68f43d63c377065f75237">&#9670;&nbsp;</a></span>reg_addr</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint16_t StructI2CSlave::reg_addr</td>
</tr>
</table>
</div><div class="memdoc">
<p>Internal current register address. </p>
</div>
</div>
<a id="a028efd71ef1b338ff734d2d330baa422"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a028efd71ef1b338ff734d2d330baa422">&#9670;&nbsp;</a></span>reg_size</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="ci2c_8h.html#a9dadf50a895a9c06f7fb2968166b316a">I2C_INT_SIZE</a> StructI2CSlave::reg_size</td>
</tr>
</table>
</div><div class="memdoc">
<p>Slave internal registers size. </p>
</div>
</div>
<a id="a5535a5ae60da0c21c6a739f4280c63a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5535a5ae60da0c21c6a739f4280c63a6">&#9670;&nbsp;</a></span>status</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="ci2c_8h.html#a489c20161e94a87325ca7e240032686b">I2C_STATUS</a> StructI2CSlave::status</td>
</tr>
</table>
</div><div class="memdoc">
<p>Status of the last communications. </p>
</div>
</div>
<a id="a2c58ac88c9796097b0f4388d751622d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c58ac88c9796097b0f4388d751622d5">&#9670;&nbsp;</a></span>wr</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="ci2c_8h.html#af9c7e60b84174c9a42c0883f4c4a9b97">ci2c_fct_ptr</a> StructI2CSlave::wr</td>
</tr>
</table>
</div><div class="memdoc">
<p>Slave write function pointer. </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>src/<a class="el" href="ci2c_8h_source.html">ci2c.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>