2018-05-04 12:44:31 +02:00
<!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): examples/ci2c_master_write/ci2c_master_write.ino File 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 >
2018-05-04 17:51:12 +02:00
< 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 >
2018-05-04 12:44:31 +02:00
< 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)
  < 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 -->
2018-05-04 17:51:12 +02:00
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
2018-05-04 12:44:31 +02:00
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
$(function() {
2018-05-04 17:51:12 +02:00
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
2018-05-04 12:44:31 +02:00
});
< / script >
< div id = "main-nav" > < / div >
2018-05-04 17:51:12 +02:00
<!-- 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 >
2018-05-04 12:44:31 +02:00
< div id = "nav-path" class = "navpath" >
< ul >
< li class = "navelem" > < a class = "el" href = "dir_d28a4824dc47e487b107a5db32ef43c4.html" > examples< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_21e6c782f8f210e0aa25fe7f50fbd34b.html" > ci2c_master_write< / a > < / li > < / ul >
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "summary" >
< a href = "#func-members" > Functions< / a > |
< a href = "#var-members" > Variables< / a > < / div >
< div class = "headertitle" >
< div class = "title" > ci2c_master_write.ino File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include < < a class = "el" href = "ci2c_8h_source.html" > ci2c.h< / a > > < / code > < br / >
< / div > < div class = "textblock" > < div class = "dynheader" >
Include dependency graph for ci2c_master_write.ino:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "ci2c__master__write_8ino__incl.png" border = "0" usemap = "#examples_2ci2c__master__write_2ci2c__master__write_8ino" alt = "" / > < / div >
2018-05-04 17:51:12 +02:00
< map name = "examples_2ci2c__master__write_2ci2c__master__write_8ino" id = "examples_2ci2c__master__write_2ci2c__master__write_8ino" >
< area shape = "rect" id = "node2" href = "ci2c_8h.html" title = "arduino i2c in plain c declarations " alt = "" coords = "118,96,175,123" / >
< / map >
2018-05-04 12:44:31 +02:00
< / div >
< / div > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a4fc01d736fe50cf5b977f755b675f11d" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ci2c__master__write_8ino.html#a4fc01d736fe50cf5b977f755b675f11d" > setup< / a > ()< / td > < / tr >
< tr class = "separator:a4fc01d736fe50cf5b977f755b675f11d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:afe461d27b9c48d5921c00d521181f12f" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ci2c__master__write_8ino.html#afe461d27b9c48d5921c00d521181f12f" > loop< / a > ()< / td > < / tr >
< tr class = "separator:afe461d27b9c48d5921c00d521181f12f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "var-members" > < / a >
Variables< / h2 > < / td > < / tr >
< tr class = "memitem:a2fc323c2ac98fd84324b5f6c4196e876" > < td class = "memItemLeft" align = "right" valign = "top" > const uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ci2c__master__write_8ino.html#a2fc323c2ac98fd84324b5f6c4196e876" > blank< / a > = 0xEE< / td > < / tr >
< tr class = "separator:a2fc323c2ac98fd84324b5f6c4196e876" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a59b901a6dacd5ea8c9ceaa93cd8a1b2b" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "ci2c_8h.html#a916f30ff94044ecc9f8a177446da485a" > I2C_SLAVE< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "ci2c__master__write_8ino.html#a59b901a6dacd5ea8c9ceaa93cd8a1b2b" > FRAM< / a > < / td > < / tr >
< tr class = "separator:a59b901a6dacd5ea8c9ceaa93cd8a1b2b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Function Documentation< / h2 >
< a id = "afe461d27b9c48d5921c00d521181f12f" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#afe461d27b9c48d5921c00d521181f12f" > ◆ < / a > < / span > loop()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void loop < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< div class = "dynheader" >
Here is the call graph for this function:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.png" border = "0" usemap = "#ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph" alt = "" / > < / div >
2018-05-04 17:51:12 +02:00
< map name = "ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph" id = "ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph" >
< area shape = "rect" id = "node2" href = "ci2c_8c.html#a83adef951ffd9fb5105216f6ee464bb9" title = "This function writes the provided data to the address specified. " alt = "" coords = "102,5,181,32" / >
< area shape = "rect" id = "node3" href = "ci2c_8c.html#ad5e4a006f6cea5844a810fab30b40f87" title = "This function reads data from the address specified and stores this data in the area provided by the ..." alt = "" coords = "104,56,179,83" / >
< / map >
2018-05-04 12:44:31 +02:00
< / div >
< / div >
< / div >
< a id = "a4fc01d736fe50cf5b977f755b675f11d" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4fc01d736fe50cf5b977f755b675f11d" > ◆ < / a > < / span > setup()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void setup < / td >
< td > (< / td >
< td class = "paramname" > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< div class = "dynheader" >
Here is the call graph for this function:< / div >
< div class = "dyncontent" >
< div class = "center" > < img src = "ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.png" border = "0" usemap = "#ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph" alt = "" / > < / div >
2018-05-04 17:51:12 +02:00
< map name = "ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph" id = "ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph" >
< area shape = "rect" id = "node2" href = "ci2c_8c.html#a99283d800332d700deed19f5a37e61d8" title = "Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)..." alt = "" coords = "129,19,196,45" / >
< area shape = "rect" id = "node5" href = "ci2c_8c.html#af93c2e35e06edcea492607b628d5ae1f" title = "Init an I2C slave structure for cMI2C communication. " alt = "" coords = "110,95,215,121" / >
< area shape = "rect" id = "node3" href = "ci2c_8c.html#a7c5b1857ae28ade8959a8a06f500ecde" title = "Change I2C frequency. " alt = "" coords = "290,5,401,32" / >
< area shape = "rect" id = "node4" href = "ci2c_8c.html#a2c25bc5fdf909b7d45d722970eb04d82" title = "I2C bus reset (Release SCL and SDA lines and re-enable module) " alt = "" coords = "475,5,554,32" / >
< area shape = "rect" id = "node6" href = "ci2c_8c.html#ad0eed3132d3284d6f921d13488721226" title = "Change I2C slave address. " alt = "" coords = "276,56,415,83" / >
< area shape = "rect" id = "node7" href = "ci2c_8c.html#a47d121773459b24568e5df4f81fbf905" title = "Change I2C registers map size (for access) " alt = "" coords = "264,107,427,133" / >
< area shape = "rect" id = "node8" href = "ci2c_8c.html#a8d88530833d3685d52ea5486b1316427" title = "Redirect slave I2C read/write function (if needed for advanced use) " alt = "" coords = "266,157,425,184" / >
< / map >
2018-05-04 12:44:31 +02:00
< / div >
< / div >
< / div >
< h2 class = "groupheader" > Variable Documentation< / h2 >
< a id = "a2fc323c2ac98fd84324b5f6c4196e876" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a2fc323c2ac98fd84324b5f6c4196e876" > ◆ < / a > < / span > blank< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > const uint8_t blank = 0xEE< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "a59b901a6dacd5ea8c9ceaa93cd8a1b2b" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a59b901a6dacd5ea8c9ceaa93cd8a1b2b" > ◆ < / a > < / span > FRAM< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "ci2c_8h.html#a916f30ff94044ecc9f8a177446da485a" > I2C_SLAVE< / a > FRAM< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
Generated by   < a href = "http://www.doxygen.org/index.html" >
< img class = "footer" src = "doxygen.png" alt = "doxygen" / >
< / a > 1.8.13
< / small > < / address >
< / body >
< / html >