projet crepp_git/crepp-projects/my-sensors · branche main
_i2c_constants_8h_source.html Voir sur GitLab
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: hal/architecture/AVR/drivers/DigitalIO/I2cConstants.h Source File</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">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</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 id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_52c912f73dac9c4c0e442232e1b2bd80.html">hal</a></li><li class="navelem"><a class="el" href="dir_f2b50fdf5983ac8db5dbb1f1d585f6a3.html">architecture</a></li><li class="navelem"><a class="el" href="dir_2da663e7113b27ce0318f74a151d3c42.html">AVR</a></li><li class="navelem"><a class="el" href="dir_e8fd3757b06374a76290346d0f9c2e43.html">drivers</a></li><li class="navelem"><a class="el" href="dir_b99e6e88c4520f9d055b0f64c2f8a6d5.html">DigitalIO</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">I2cConstants.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_i2c_constants_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* Arduino I2C Library</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (C) 2013 by William Greiman</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * This file is part of the Arduino I2C Library</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This Library is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * This Library is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * along with the Arduino I2C Library.  If not, see</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#ifndef I2cConstants_h</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#define I2cConstants_h</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;inttypes.h&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="group__two_wire.html#gaf73cc7134e34f2ce826f590911633a5f">   34</a></span>&#160;<span class="keyword">const</span> uint8_t <a class="code" href="group__two_wire.html#gaf73cc7134e34f2ce826f590911633a5f">I2C_CONTINUE</a> =  0;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="group__two_wire.html#gaf482db8c5a315422ea7530b086c09e8d">   38</a></span>&#160;<span class="keyword">const</span> uint8_t <a class="code" href="group__two_wire.html#gaf482db8c5a315422ea7530b086c09e8d">I2C_STOP</a>      = 1;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="group__two_wire.html#ga25285d75cb1dce0ff6dac67f0029c366">   42</a></span>&#160;<span class="keyword">const</span> uint8_t <a class="code" href="group__two_wire.html#ga25285d75cb1dce0ff6dac67f0029c366">I2C_REP_START</a> = 2;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="group__two_wire.html#gaf7190cb84053b8189fec2153615d16d9">   45</a></span>&#160;<span class="keyword">const</span> uint8_t <a class="code" href="group__two_wire.html#gaf7190cb84053b8189fec2153615d16d9">I2C_100KHZ</a>    = 0;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="group__two_wire.html#gaf6e5d2772a5687b1918e52232713814b">   48</a></span>&#160;<span class="keyword">const</span> uint8_t <a class="code" href="group__two_wire.html#gaf6e5d2772a5687b1918e52232713814b">I2C_400KHZ</a>    = 1;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="group__two_wire.html#ga7c3e7bcf5c3fffef222cfc3ecb504f6c">   51</a></span>&#160;<span class="keyword">const</span> uint8_t <a class="code" href="group__two_wire.html#ga7c3e7bcf5c3fffef222cfc3ecb504f6c">I2C_READ</a> = 1;</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="group__two_wire.html#ga201c62245aad76d2a50d4c61be6f7f94">   54</a></span>&#160;<span class="keyword">const</span> uint8_t <a class="code" href="group__two_wire.html#ga201c62245aad76d2a50d4c61be6f7f94">I2C_WRITE</a> = 0;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="group__two_wire.html#gad9af08bff6cefe5e436dbdd1a0695976">   57</a></span>&#160;<span class="keyword">const</span> uint8_t <a class="code" href="group__two_wire.html#gad9af08bff6cefe5e436dbdd1a0695976">I2C_NO_PULLUPS</a> = 0;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="group__two_wire.html#ga3d9df538d1ea0d431b41d383a16af843">   60</a></span>&#160;<span class="keyword">const</span> uint8_t <a class="code" href="group__two_wire.html#ga3d9df538d1ea0d431b41d383a16af843">I2C_INTERNAL_PULLUPS</a> = 1;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">#endif  // I2cConstants_h</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agroup__two_wire_html_gaf6e5d2772a5687b1918e52232713814b"><div class="ttname"><a href="group__two_wire.html#gaf6e5d2772a5687b1918e52232713814b">I2C_400KHZ</a></div><div class="ttdeci">const uint8_t I2C_400KHZ</div><div class="ttdef"><b>Definition:</b> I2cConstants.h:48</div></div>
<div class="ttc" id="agroup__two_wire_html_gaf7190cb84053b8189fec2153615d16d9"><div class="ttname"><a href="group__two_wire.html#gaf7190cb84053b8189fec2153615d16d9">I2C_100KHZ</a></div><div class="ttdeci">const uint8_t I2C_100KHZ</div><div class="ttdef"><b>Definition:</b> I2cConstants.h:45</div></div>
<div class="ttc" id="agroup__two_wire_html_gad9af08bff6cefe5e436dbdd1a0695976"><div class="ttname"><a href="group__two_wire.html#gad9af08bff6cefe5e436dbdd1a0695976">I2C_NO_PULLUPS</a></div><div class="ttdeci">const uint8_t I2C_NO_PULLUPS</div><div class="ttdef"><b>Definition:</b> I2cConstants.h:57</div></div>
<div class="ttc" id="agroup__two_wire_html_ga25285d75cb1dce0ff6dac67f0029c366"><div class="ttname"><a href="group__two_wire.html#ga25285d75cb1dce0ff6dac67f0029c366">I2C_REP_START</a></div><div class="ttdeci">const uint8_t I2C_REP_START</div><div class="ttdef"><b>Definition:</b> I2cConstants.h:42</div></div>
<div class="ttc" id="agroup__two_wire_html_gaf482db8c5a315422ea7530b086c09e8d"><div class="ttname"><a href="group__two_wire.html#gaf482db8c5a315422ea7530b086c09e8d">I2C_STOP</a></div><div class="ttdeci">const uint8_t I2C_STOP</div><div class="ttdef"><b>Definition:</b> I2cConstants.h:38</div></div>
<div class="ttc" id="agroup__two_wire_html_ga201c62245aad76d2a50d4c61be6f7f94"><div class="ttname"><a href="group__two_wire.html#ga201c62245aad76d2a50d4c61be6f7f94">I2C_WRITE</a></div><div class="ttdeci">const uint8_t I2C_WRITE</div><div class="ttdef"><b>Definition:</b> I2cConstants.h:54</div></div>
<div class="ttc" id="agroup__two_wire_html_ga3d9df538d1ea0d431b41d383a16af843"><div class="ttname"><a href="group__two_wire.html#ga3d9df538d1ea0d431b41d383a16af843">I2C_INTERNAL_PULLUPS</a></div><div class="ttdeci">const uint8_t I2C_INTERNAL_PULLUPS</div><div class="ttdef"><b>Definition:</b> I2cConstants.h:60</div></div>
<div class="ttc" id="agroup__two_wire_html_ga7c3e7bcf5c3fffef222cfc3ecb504f6c"><div class="ttname"><a href="group__two_wire.html#ga7c3e7bcf5c3fffef222cfc3ecb504f6c">I2C_READ</a></div><div class="ttdeci">const uint8_t I2C_READ</div><div class="ttdef"><b>Definition:</b> I2cConstants.h:51</div></div>
<div class="ttc" id="agroup__two_wire_html_gaf73cc7134e34f2ce826f590911633a5f"><div class="ttname"><a href="group__two_wire.html#gaf73cc7134e34f2ce826f590911633a5f">I2C_CONTINUE</a></div><div class="ttdeci">const uint8_t I2C_CONTINUE</div><div class="ttdef"><b>Definition:</b> I2cConstants.h:34</div></div>
<!-- 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.17
</small></address>
</body>
</html>