From 5be682b96f64479155de0e1afa91e799dbe5e319 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 4 May 2018 10:44:31 +0000 Subject: [PATCH] Deploy code docs to GitHub Pages Travis build: 16 Commit: b079e7997dc29112067f9ef9e801a768275dccd0 --- html/FreeSans.ttf | Bin 0 -> 22932 bytes html/attribute.html | 68 + html/ci2c_8c.html | 1225 ++++++++++++++ html/ci2c_8c__incl.dot | 14 + html/ci2c_8c__incl.md5 | 1 + ...25bc5fdf909b7d45d722970eb04d82_icgraph.dot | 20 + ...25bc5fdf909b7d45d722970eb04d82_icgraph.md5 | 1 + ...d121773459b24568e5df4f81fbf905_icgraph.dot | 14 + ...d121773459b24568e5df4f81fbf905_icgraph.md5 | 1 + ...eb804c24e8e86717f7aaebdab1aa53_icgraph.dot | 21 + ...eb804c24e8e86717f7aaebdab1aa53_icgraph.md5 | 1 + ...e1381b536811b202d087471723fb9e_icgraph.dot | 9 + ...e1381b536811b202d087471723fb9e_icgraph.md5 | 1 + ...c5b1857ae28ade8959a8a06f500ecde_cgraph.dot | 9 + ...c5b1857ae28ade8959a8a06f500ecde_cgraph.md5 | 1 + ...5b1857ae28ade8959a8a06f500ecde_icgraph.dot | 14 + ...5b1857ae28ade8959a8a06f500ecde_icgraph.md5 | 1 + ...adef951ffd9fb5105216f6ee464bb9_icgraph.dot | 13 + ...adef951ffd9fb5105216f6ee464bb9_icgraph.md5 | 1 + ...6d7eb118ea1505df039075a00c267b_icgraph.dot | 18 + ...6d7eb118ea1505df039075a00c267b_icgraph.md5 | 1 + ...88530833d3685d52ea5486b1316427_icgraph.dot | 15 + ...88530833d3685d52ea5486b1316427_icgraph.md5 | 1 + ...9283d800332d700deed19f5a37e61d8_cgraph.dot | 11 + ...9283d800332d700deed19f5a37e61d8_cgraph.md5 | 1 + ...283d800332d700deed19f5a37e61d8_icgraph.dot | 11 + ...283d800332d700deed19f5a37e61d8_icgraph.md5 | 1 + ...dadbb29f315f2030223665f1988188_icgraph.dot | 21 + ...dadbb29f315f2030223665f1988188_icgraph.md5 | 1 + ...536cceb33d07e71af9d459a2fc6dc8_icgraph.dot | 21 + ...536cceb33d07e71af9d459a2fc6dc8_icgraph.md5 | 1 + ...0db75dfa22dc47df506cab3bd11c60_icgraph.dot | 21 + ...0db75dfa22dc47df506cab3bd11c60_icgraph.md5 | 1 + ...70df06df51c68217eafcee96e5a3e0_icgraph.dot | 9 + ...70df06df51c68217eafcee96e5a3e0_icgraph.md5 | 1 + ...209174a3b5ab213131a93633c19a38_icgraph.dot | 9 + ...209174a3b5ab213131a93633c19a38_icgraph.md5 | 1 + ...eed3132d3284d6f921d13488721226_icgraph.dot | 14 + ...eed3132d3284d6f921d13488721226_icgraph.md5 | 1 + ...e4a006f6cea5844a810fab30b40f87_icgraph.dot | 15 + ...e4a006f6cea5844a810fab30b40f87_icgraph.md5 | 1 + ...4e31ebd08a9ddef57f571783f37cc7_icgraph.dot | 9 + ...4e31ebd08a9ddef57f571783f37cc7_icgraph.md5 | 1 + ...93c2e35e06edcea492607b628d5ae1f_cgraph.dot | 13 + ...93c2e35e06edcea492607b628d5ae1f_cgraph.md5 | 1 + ...3c2e35e06edcea492607b628d5ae1f_icgraph.dot | 12 + ...3c2e35e06edcea492607b628d5ae1f_icgraph.md5 | 1 + html/ci2c_8h.html | 1412 +++++++++++++++++ html/ci2c_8h__dep__incl.dot | 14 + html/ci2c_8h__dep__incl.md5 | 1 + html/ci2c_8h__incl.dot | 12 + html/ci2c_8h__incl.md5 | 1 + ...25bc5fdf909b7d45d722970eb04d82_icgraph.dot | 20 + ...25bc5fdf909b7d45d722970eb04d82_icgraph.md5 | 1 + ...1be982659cb049fcdf88a18e3e4c4e0_cgraph.dot | 26 + ...1be982659cb049fcdf88a18e3e4c4e0_cgraph.md5 | 1 + ...d121773459b24568e5df4f81fbf905_icgraph.dot | 14 + ...d121773459b24568e5df4f81fbf905_icgraph.md5 | 1 + ...eb804c24e8e86717f7aaebdab1aa53_icgraph.dot | 21 + ...eb804c24e8e86717f7aaebdab1aa53_icgraph.md5 | 1 + ...e1381b536811b202d087471723fb9e_icgraph.dot | 9 + ...e1381b536811b202d087471723fb9e_icgraph.md5 | 1 + ...c5b1857ae28ade8959a8a06f500ecde_cgraph.dot | 9 + ...c5b1857ae28ade8959a8a06f500ecde_cgraph.md5 | 1 + ...5b1857ae28ade8959a8a06f500ecde_icgraph.dot | 14 + ...5b1857ae28ade8959a8a06f500ecde_icgraph.md5 | 1 + ...adef951ffd9fb5105216f6ee464bb9_icgraph.dot | 13 + ...adef951ffd9fb5105216f6ee464bb9_icgraph.md5 | 1 + ...6d7eb118ea1505df039075a00c267b_icgraph.dot | 18 + ...6d7eb118ea1505df039075a00c267b_icgraph.md5 | 1 + ...88530833d3685d52ea5486b1316427_icgraph.dot | 15 + ...88530833d3685d52ea5486b1316427_icgraph.md5 | 1 + ...9283d800332d700deed19f5a37e61d8_cgraph.dot | 11 + ...9283d800332d700deed19f5a37e61d8_cgraph.md5 | 1 + ...283d800332d700deed19f5a37e61d8_icgraph.dot | 11 + ...283d800332d700deed19f5a37e61d8_icgraph.md5 | 1 + ...dadbb29f315f2030223665f1988188_icgraph.dot | 21 + ...dadbb29f315f2030223665f1988188_icgraph.md5 | 1 + ...536cceb33d07e71af9d459a2fc6dc8_icgraph.dot | 21 + ...536cceb33d07e71af9d459a2fc6dc8_icgraph.md5 | 1 + ...0db75dfa22dc47df506cab3bd11c60_icgraph.dot | 21 + ...0db75dfa22dc47df506cab3bd11c60_icgraph.md5 | 1 + ...70df06df51c68217eafcee96e5a3e0_icgraph.dot | 9 + ...70df06df51c68217eafcee96e5a3e0_icgraph.md5 | 1 + ...209174a3b5ab213131a93633c19a38_icgraph.dot | 9 + ...209174a3b5ab213131a93633c19a38_icgraph.md5 | 1 + ...eed3132d3284d6f921d13488721226_icgraph.dot | 14 + ...eed3132d3284d6f921d13488721226_icgraph.md5 | 1 + ...e4a006f6cea5844a810fab30b40f87_icgraph.dot | 15 + ...e4a006f6cea5844a810fab30b40f87_icgraph.md5 | 1 + ...4e31ebd08a9ddef57f571783f37cc7_icgraph.dot | 9 + ...4e31ebd08a9ddef57f571783f37cc7_icgraph.md5 | 1 + ...d4eec772922da692bdbb84c354a3fa0_cgraph.dot | 11 + ...d4eec772922da692bdbb84c354a3fa0_cgraph.md5 | 1 + ...93c2e35e06edcea492607b628d5ae1f_cgraph.dot | 13 + ...93c2e35e06edcea492607b628d5ae1f_cgraph.md5 | 1 + ...3c2e35e06edcea492607b628d5ae1f_icgraph.dot | 12 + ...3c2e35e06edcea492607b628d5ae1f_icgraph.md5 | 1 + ...c15fc625892e1e50e831d7934073299_cgraph.dot | 21 + ...c15fc625892e1e50e831d7934073299_cgraph.md5 | 1 + ...15fc625892e1e50e831d7934073299_icgraph.dot | 9 + ...15fc625892e1e50e831d7934073299_icgraph.md5 | 1 + html/ci2c_8h_source.html | 116 ++ html/ci2c__advanced_8ino.html | 346 ++++ html/ci2c__advanced_8ino__incl.dot | 14 + html/ci2c__advanced_8ino__incl.md5 | 1 + ...1e16cd4ec558cb48d7df75c546027a2_cgraph.dot | 15 + ...1e16cd4ec558cb48d7df75c546027a2_cgraph.md5 | 1 + ...e16cd4ec558cb48d7df75c546027a2_icgraph.dot | 9 + ...e16cd4ec558cb48d7df75c546027a2_icgraph.md5 | 1 + ...fc01d736fe50cf5b977f755b675f11d_cgraph.dot | 48 + ...fc01d736fe50cf5b977f755b675f11d_cgraph.md5 | 1 + ...d82c84361ed35c102edb0f5e4f677d4_cgraph.dot | 17 + ...d82c84361ed35c102edb0f5e4f677d4_cgraph.md5 | 1 + ...82c84361ed35c102edb0f5e4f677d4_icgraph.dot | 9 + ...82c84361ed35c102edb0f5e4f677d4_icgraph.md5 | 1 + ...357f6e59cf5ec94f3ccaa70a20e1b11_cgraph.dot | 25 + ...357f6e59cf5ec94f3ccaa70a20e1b11_cgraph.md5 | 1 + ...57f6e59cf5ec94f3ccaa70a20e1b11_icgraph.dot | 9 + ...57f6e59cf5ec94f3ccaa70a20e1b11_icgraph.md5 | 1 + ...e461d27b9c48d5921c00d521181f12f_cgraph.dot | 9 + ...e461d27b9c48d5921c00d521181f12f_cgraph.md5 | 1 + html/ci2c__master__read_8ino.html | 159 ++ html/ci2c__master__read_8ino__incl.dot | 14 + html/ci2c__master__read_8ino__incl.md5 | 1 + ...fc01d736fe50cf5b977f755b675f11d_cgraph.dot | 21 + ...fc01d736fe50cf5b977f755b675f11d_cgraph.md5 | 1 + ...e461d27b9c48d5921c00d521181f12f_cgraph.dot | 25 + ...e461d27b9c48d5921c00d521181f12f_cgraph.md5 | 1 + html/ci2c__master__write_8ino.html | 159 ++ html/ci2c__master__write_8ino__incl.dot | 14 + html/ci2c__master__write_8ino__incl.md5 | 1 + ...fc01d736fe50cf5b977f755b675f11d_cgraph.dot | 21 + ...fc01d736fe50cf5b977f755b675f11d_cgraph.md5 | 1 + ...e461d27b9c48d5921c00d521181f12f_cgraph.dot | 11 + ...e461d27b9c48d5921c00d521181f12f_cgraph.md5 | 1 + html/dir_000001_000004.html | 54 + html/dir_000002_000004.html | 54 + html/dir_000003_000004.html | 54 + .../dir_21e6c782f8f210e0aa25fe7f50fbd34b.html | 70 + ...r_21e6c782f8f210e0aa25fe7f50fbd34b_dep.dot | 11 + ...r_21e6c782f8f210e0aa25fe7f50fbd34b_dep.md5 | 1 + .../dir_419b297866c2b522bec278c4530a3ff4.html | 70 + ...r_419b297866c2b522bec278c4530a3ff4_dep.dot | 11 + ...r_419b297866c2b522bec278c4530a3ff4_dep.md5 | 1 + .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 68 + .../dir_d28a4824dc47e487b107a5db32ef43c4.html | 74 + ...r_d28a4824dc47e487b107a5db32ef43c4_dep.dot | 16 + ...r_d28a4824dc47e487b107a5db32ef43c4_dep.md5 | 1 + .../dir_da41f142aa2492330ee0814d5b195d46.html | 70 + ...r_da41f142aa2492330ee0814d5b195d46_dep.dot | 11 + ...r_da41f142aa2492330ee0814d5b195d46_dep.md5 | 1 + html/doc.png | Bin 746 -> 0 bytes html/folderclosed.png | Bin 616 -> 0 bytes html/folderopen.png | Bin 597 -> 0 bytes html/graph_legend.dot | 22 + html/graph_legend.html | 83 + html/graph_legend.md5 | 1 + html/index.hhc | 0 html/index.hhk | 0 html/index.html | 31 +- html/md__r_e_a_d_m_e.html | 168 -- html/md__release_notes.html | 125 -- html/menudata.js | 33 +- html/pages.html | 79 - html/search/all_0.html | 26 - html/search/all_0.js | 4 - html/search/all_1.html | 26 - html/search/all_1.js | 4 - html/search/close.png | Bin 273 -> 0 bytes html/search/mag_sel.png | Bin 563 -> 0 bytes html/search/nomatches.html | 12 - html/search/pages_0.html | 26 - html/search/pages_0.js | 4 - html/search/pages_1.html | 26 - html/search/pages_1.js | 4 - html/search/search.css | 271 ---- html/search/search.js | 791 --------- html/search/search_l.png | Bin 604 -> 0 bytes html/search/search_m.png | Bin 158 -> 0 bytes html/search/search_r.png | Bin 612 -> 0 bytes html/search/searchdata.js | 18 - html/splitbar.png | Bin 314 -> 0 bytes html/struct_struct_i2_c_slave.html | 203 +++ html/structcfg.html | 62 + html/structi2c.html | 62 + 186 files changed, 5553 insertions(+), 1610 deletions(-) create mode 100644 html/FreeSans.ttf create mode 100644 html/attribute.html create mode 100644 html/ci2c_8c.html create mode 100644 html/ci2c_8c__incl.dot create mode 100644 html/ci2c_8c__incl.md5 create mode 100644 html/ci2c_8c_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.dot create mode 100644 html/ci2c_8c_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.md5 create mode 100644 html/ci2c_8c_a47d121773459b24568e5df4f81fbf905_icgraph.dot create mode 100644 html/ci2c_8c_a47d121773459b24568e5df4f81fbf905_icgraph.md5 create mode 100644 html/ci2c_8c_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.dot create mode 100644 html/ci2c_8c_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.md5 create mode 100644 html/ci2c_8c_a74e1381b536811b202d087471723fb9e_icgraph.dot create mode 100644 html/ci2c_8c_a74e1381b536811b202d087471723fb9e_icgraph.md5 create mode 100644 html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.dot create mode 100644 html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.md5 create mode 100644 html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.dot create mode 100644 html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.md5 create mode 100644 html/ci2c_8c_a83adef951ffd9fb5105216f6ee464bb9_icgraph.dot create mode 100644 html/ci2c_8c_a83adef951ffd9fb5105216f6ee464bb9_icgraph.md5 create mode 100644 html/ci2c_8c_a8d6d7eb118ea1505df039075a00c267b_icgraph.dot create mode 100644 html/ci2c_8c_a8d6d7eb118ea1505df039075a00c267b_icgraph.md5 create mode 100644 html/ci2c_8c_a8d88530833d3685d52ea5486b1316427_icgraph.dot create mode 100644 html/ci2c_8c_a8d88530833d3685d52ea5486b1316427_icgraph.md5 create mode 100644 html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_cgraph.dot create mode 100644 html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_cgraph.md5 create mode 100644 html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_icgraph.dot create mode 100644 html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_icgraph.md5 create mode 100644 html/ci2c_8c_aaadadbb29f315f2030223665f1988188_icgraph.dot create mode 100644 html/ci2c_8c_aaadadbb29f315f2030223665f1988188_icgraph.md5 create mode 100644 html/ci2c_8c_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.dot create mode 100644 html/ci2c_8c_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.md5 create mode 100644 html/ci2c_8c_ab20db75dfa22dc47df506cab3bd11c60_icgraph.dot create mode 100644 html/ci2c_8c_ab20db75dfa22dc47df506cab3bd11c60_icgraph.md5 create mode 100644 html/ci2c_8c_ac370df06df51c68217eafcee96e5a3e0_icgraph.dot create mode 100644 html/ci2c_8c_ac370df06df51c68217eafcee96e5a3e0_icgraph.md5 create mode 100644 html/ci2c_8c_acd209174a3b5ab213131a93633c19a38_icgraph.dot create mode 100644 html/ci2c_8c_acd209174a3b5ab213131a93633c19a38_icgraph.md5 create mode 100644 html/ci2c_8c_ad0eed3132d3284d6f921d13488721226_icgraph.dot create mode 100644 html/ci2c_8c_ad0eed3132d3284d6f921d13488721226_icgraph.md5 create mode 100644 html/ci2c_8c_ad5e4a006f6cea5844a810fab30b40f87_icgraph.dot create mode 100644 html/ci2c_8c_ad5e4a006f6cea5844a810fab30b40f87_icgraph.md5 create mode 100644 html/ci2c_8c_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.dot create mode 100644 html/ci2c_8c_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.md5 create mode 100644 html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_cgraph.dot create mode 100644 html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_cgraph.md5 create mode 100644 html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_icgraph.dot create mode 100644 html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_icgraph.md5 create mode 100644 html/ci2c_8h.html create mode 100644 html/ci2c_8h__dep__incl.dot create mode 100644 html/ci2c_8h__dep__incl.md5 create mode 100644 html/ci2c_8h__incl.dot create mode 100644 html/ci2c_8h__incl.md5 create mode 100644 html/ci2c_8h_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.dot create mode 100644 html/ci2c_8h_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.md5 create mode 100644 html/ci2c_8h_a41be982659cb049fcdf88a18e3e4c4e0_cgraph.dot create mode 100644 html/ci2c_8h_a41be982659cb049fcdf88a18e3e4c4e0_cgraph.md5 create mode 100644 html/ci2c_8h_a47d121773459b24568e5df4f81fbf905_icgraph.dot create mode 100644 html/ci2c_8h_a47d121773459b24568e5df4f81fbf905_icgraph.md5 create mode 100644 html/ci2c_8h_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.dot create mode 100644 html/ci2c_8h_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.md5 create mode 100644 html/ci2c_8h_a74e1381b536811b202d087471723fb9e_icgraph.dot create mode 100644 html/ci2c_8h_a74e1381b536811b202d087471723fb9e_icgraph.md5 create mode 100644 html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.dot create mode 100644 html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.md5 create mode 100644 html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.dot create mode 100644 html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.md5 create mode 100644 html/ci2c_8h_a83adef951ffd9fb5105216f6ee464bb9_icgraph.dot create mode 100644 html/ci2c_8h_a83adef951ffd9fb5105216f6ee464bb9_icgraph.md5 create mode 100644 html/ci2c_8h_a8d6d7eb118ea1505df039075a00c267b_icgraph.dot create mode 100644 html/ci2c_8h_a8d6d7eb118ea1505df039075a00c267b_icgraph.md5 create mode 100644 html/ci2c_8h_a8d88530833d3685d52ea5486b1316427_icgraph.dot create mode 100644 html/ci2c_8h_a8d88530833d3685d52ea5486b1316427_icgraph.md5 create mode 100644 html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_cgraph.dot create mode 100644 html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_cgraph.md5 create mode 100644 html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_icgraph.dot create mode 100644 html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_icgraph.md5 create mode 100644 html/ci2c_8h_aaadadbb29f315f2030223665f1988188_icgraph.dot create mode 100644 html/ci2c_8h_aaadadbb29f315f2030223665f1988188_icgraph.md5 create mode 100644 html/ci2c_8h_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.dot create mode 100644 html/ci2c_8h_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.md5 create mode 100644 html/ci2c_8h_ab20db75dfa22dc47df506cab3bd11c60_icgraph.dot create mode 100644 html/ci2c_8h_ab20db75dfa22dc47df506cab3bd11c60_icgraph.md5 create mode 100644 html/ci2c_8h_ac370df06df51c68217eafcee96e5a3e0_icgraph.dot create mode 100644 html/ci2c_8h_ac370df06df51c68217eafcee96e5a3e0_icgraph.md5 create mode 100644 html/ci2c_8h_acd209174a3b5ab213131a93633c19a38_icgraph.dot create mode 100644 html/ci2c_8h_acd209174a3b5ab213131a93633c19a38_icgraph.md5 create mode 100644 html/ci2c_8h_ad0eed3132d3284d6f921d13488721226_icgraph.dot create mode 100644 html/ci2c_8h_ad0eed3132d3284d6f921d13488721226_icgraph.md5 create mode 100644 html/ci2c_8h_ad5e4a006f6cea5844a810fab30b40f87_icgraph.dot create mode 100644 html/ci2c_8h_ad5e4a006f6cea5844a810fab30b40f87_icgraph.md5 create mode 100644 html/ci2c_8h_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.dot create mode 100644 html/ci2c_8h_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.md5 create mode 100644 html/ci2c_8h_add4eec772922da692bdbb84c354a3fa0_cgraph.dot create mode 100644 html/ci2c_8h_add4eec772922da692bdbb84c354a3fa0_cgraph.md5 create mode 100644 html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_cgraph.dot create mode 100644 html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_cgraph.md5 create mode 100644 html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_icgraph.dot create mode 100644 html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_icgraph.md5 create mode 100644 html/ci2c_8h_afc15fc625892e1e50e831d7934073299_cgraph.dot create mode 100644 html/ci2c_8h_afc15fc625892e1e50e831d7934073299_cgraph.md5 create mode 100644 html/ci2c_8h_afc15fc625892e1e50e831d7934073299_icgraph.dot create mode 100644 html/ci2c_8h_afc15fc625892e1e50e831d7934073299_icgraph.md5 create mode 100644 html/ci2c_8h_source.html create mode 100644 html/ci2c__advanced_8ino.html create mode 100644 html/ci2c__advanced_8ino__incl.dot create mode 100644 html/ci2c__advanced_8ino__incl.md5 create mode 100644 html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_cgraph.dot create mode 100644 html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_cgraph.md5 create mode 100644 html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_icgraph.dot create mode 100644 html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_icgraph.md5 create mode 100644 html/ci2c__advanced_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot create mode 100644 html/ci2c__advanced_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 create mode 100644 html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_cgraph.dot create mode 100644 html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_cgraph.md5 create mode 100644 html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_icgraph.dot create mode 100644 html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_icgraph.md5 create mode 100644 html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_cgraph.dot create mode 100644 html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_cgraph.md5 create mode 100644 html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_icgraph.dot create mode 100644 html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_icgraph.md5 create mode 100644 html/ci2c__advanced_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot create mode 100644 html/ci2c__advanced_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 create mode 100644 html/ci2c__master__read_8ino.html create mode 100644 html/ci2c__master__read_8ino__incl.dot create mode 100644 html/ci2c__master__read_8ino__incl.md5 create mode 100644 html/ci2c__master__read_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot create mode 100644 html/ci2c__master__read_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 create mode 100644 html/ci2c__master__read_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot create mode 100644 html/ci2c__master__read_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 create mode 100644 html/ci2c__master__write_8ino.html create mode 100644 html/ci2c__master__write_8ino__incl.dot create mode 100644 html/ci2c__master__write_8ino__incl.md5 create mode 100644 html/ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot create mode 100644 html/ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 create mode 100644 html/ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot create mode 100644 html/ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 create mode 100644 html/dir_000001_000004.html create mode 100644 html/dir_000002_000004.html create mode 100644 html/dir_000003_000004.html create mode 100644 html/dir_21e6c782f8f210e0aa25fe7f50fbd34b.html create mode 100644 html/dir_21e6c782f8f210e0aa25fe7f50fbd34b_dep.dot create mode 100644 html/dir_21e6c782f8f210e0aa25fe7f50fbd34b_dep.md5 create mode 100644 html/dir_419b297866c2b522bec278c4530a3ff4.html create mode 100644 html/dir_419b297866c2b522bec278c4530a3ff4_dep.dot create mode 100644 html/dir_419b297866c2b522bec278c4530a3ff4_dep.md5 create mode 100644 html/dir_68267d1309a1af8e8297ef4c3efbcdba.html create mode 100644 html/dir_d28a4824dc47e487b107a5db32ef43c4.html create mode 100644 html/dir_d28a4824dc47e487b107a5db32ef43c4_dep.dot create mode 100644 html/dir_d28a4824dc47e487b107a5db32ef43c4_dep.md5 create mode 100644 html/dir_da41f142aa2492330ee0814d5b195d46.html create mode 100644 html/dir_da41f142aa2492330ee0814d5b195d46_dep.dot create mode 100644 html/dir_da41f142aa2492330ee0814d5b195d46_dep.md5 delete mode 100644 html/doc.png delete mode 100644 html/folderclosed.png delete mode 100644 html/folderopen.png create mode 100644 html/graph_legend.dot create mode 100644 html/graph_legend.html create mode 100644 html/graph_legend.md5 create mode 100644 html/index.hhc create mode 100644 html/index.hhk delete mode 100644 html/md__r_e_a_d_m_e.html delete mode 100644 html/md__release_notes.html delete mode 100644 html/search/all_0.html delete mode 100644 html/search/all_0.js delete mode 100644 html/search/all_1.html delete mode 100644 html/search/all_1.js delete mode 100644 html/search/close.png delete mode 100644 html/search/mag_sel.png delete mode 100644 html/search/nomatches.html delete mode 100644 html/search/pages_0.html delete mode 100644 html/search/pages_0.js delete mode 100644 html/search/pages_1.html delete mode 100644 html/search/pages_1.js delete mode 100644 html/search/search.css delete mode 100644 html/search/search.js delete mode 100644 html/search/search_l.png delete mode 100644 html/search/search_m.png delete mode 100644 html/search/search_r.png delete mode 100644 html/search/searchdata.js delete mode 100644 html/splitbar.png create mode 100644 html/struct_struct_i2_c_slave.html create mode 100644 html/structcfg.html create mode 100644 html/structi2c.html diff --git a/html/FreeSans.ttf b/html/FreeSans.ttf new file mode 100644 index 0000000000000000000000000000000000000000..b550b90ba5480f9a3db170a19a1f86daecb0dc92 GIT binary patch literal 22932 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 RlllN>Fk>(~eFPlj{{dxA`xyWL literal 0 HcmV?d00001 diff --git a/html/attribute.html b/html/attribute.html new file mode 100644 index 0000000..adbdbf1 --- /dev/null +++ b/html/attribute.html @@ -0,0 +1,68 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): GCC Attributes List + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + +
+
+
+
GCC Attributes List
+
+
+
+
Global I2C_read_next (I2C_SLAVE *slave, uint8_t *data, const uint16_t bytes)
+
inline
+
Global I2C_slave_get_addr (const I2C_SLAVE *slave)
+
inline
+
Global I2C_slave_get_reg_addr (const I2C_SLAVE *slave)
+
inline
+
Global I2C_slave_get_reg_size (const I2C_SLAVE *slave)
+
inline
+
Global I2C_write_next (I2C_SLAVE *slave, uint8_t *data, const uint16_t bytes)
+
inline
+
Class StructI2CSlave
+
packed struct
+
+
+ + + + diff --git a/html/ci2c_8c.html b/html/ci2c_8c.html new file mode 100644 index 0000000..d7c91e7 --- /dev/null +++ b/html/ci2c_8c.html @@ -0,0 +1,1225 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): src/ci2c.c File Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+ +
+
ci2c.c File Reference
+
+
+ +

arduino master i2c in plain c code +More...

+
#include "ci2c.h"
+
+Include dependency graph for ci2c.c:
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Macros

#define START   0x08
 
#define REPEATED_START   0x10
 
#define MT_SLA_ACK   0x18
 
#define MT_SLA_NACK   0x20
 
#define MT_DATA_ACK   0x28
 
#define MT_DATA_NACK   0x30
 
#define MR_SLA_ACK   0x40
 
#define MR_SLA_NACK   0x48
 
#define MR_DATA_ACK   0x50
 
#define MR_DATA_NACK   0x58
 
#define LOST_ARBTRTN   0x38
 
#define TWI_STATUS   (TWSR & 0xF8)
 
#define setRegBit(r, b)   r |= (1 << b)
 set bit b in register r More...
 
#define clrRegBit(r, b)   r &= (uint8_t) (~(1 << b))
 clear bit b in register r More...
 
#define invRegBit(r, b)   r ^= (1 << b)
 invert bit b in register r More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void I2C_slave_init (I2C_SLAVE *slave, const uint8_t sl_addr, const I2C_INT_SIZE reg_sz)
 Init an I2C slave structure for cMI2C communication. More...
 
void I2C_slave_set_rw_func (I2C_SLAVE *slave, const ci2c_fct_ptr func, const I2C_RW rw)
 Redirect slave I2C read/write function (if needed for advanced use) More...
 
bool I2C_slave_set_addr (I2C_SLAVE *slave, const uint8_t sl_addr)
 Change I2C slave address. More...
 
bool I2C_slave_set_reg_size (I2C_SLAVE *slave, const I2C_INT_SIZE reg_sz)
 Change I2C registers map size (for access) More...
 
void I2C_init (const uint16_t speed)
 Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency) More...
 
void I2C_uninit ()
 Disable I2c module on arduino board (releasing pull-ups, and TWI control) More...
 
void I2C_reset (void)
 I2C bus reset (Release SCL and SDA lines and re-enable module) More...
 
uint16_t I2C_set_speed (const uint16_t speed)
 Change I2C frequency. More...
 
uint16_t I2C_set_timeout (const uint16_t timeout)
 Change I2C ack timeout. More...
 
uint8_t I2C_set_retries (const uint8_t retries)
 Change I2C message retries (in case of failure) More...
 
bool I2C_is_busy (void)
 Get I2C busy status. More...
 
I2C_STATUS I2C_write (I2C_SLAVE *slave, const uint16_t reg_addr, uint8_t *data, const uint16_t bytes)
 This function writes the provided data to the address specified. More...
 
I2C_STATUS I2C_read (I2C_SLAVE *slave, const uint16_t reg_addr, uint8_t *data, const uint16_t bytes)
 This function reads data from the address specified and stores this data in the area provided by the pointer. More...
 
bool I2C_start (void)
 Send start condition. More...
 
bool I2C_stop (void)
 Send stop condition. More...
 
bool I2C_wr8 (const uint8_t dat)
 Send byte on bus. More...
 
uint8_t I2C_rd8 (const bool ack)
 Receive byte from bus. More...
 
bool I2C_sndAddr (I2C_SLAVE *slave, const I2C_RW rw)
 Send I2C address. More...
 
+

Detailed Description

+

arduino master i2c in plain c code

+
Author
SMFSW
+ +
Warning
Don't access (r/w) last 16b internal address byte alone right after init, this would lead to hazardous result (in such case, make a dummy read of addr 0 before)
+

Macro Definition Documentation

+ +

◆ clrRegBit

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define clrRegBit( r,
 
)   r &= (uint8_t) (~(1 << b))
+
+ +

clear bit b in register r

+ +
+
+ +

◆ invRegBit

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define invRegBit( r,
 
)   r ^= (1 << b)
+
+ +

invert bit b in register r

+ +
+
+ +

◆ LOST_ARBTRTN

+ +
+
+ + + + +
#define LOST_ARBTRTN   0x38
+
+ +
+
+ +

◆ MR_DATA_ACK

+ +
+
+ + + + +
#define MR_DATA_ACK   0x50
+
+ +
+
+ +

◆ MR_DATA_NACK

+ +
+
+ + + + +
#define MR_DATA_NACK   0x58
+
+ +
+
+ +

◆ MR_SLA_ACK

+ +
+
+ + + + +
#define MR_SLA_ACK   0x40
+
+ +
+
+ +

◆ MR_SLA_NACK

+ +
+
+ + + + +
#define MR_SLA_NACK   0x48
+
+ +
+
+ +

◆ MT_DATA_ACK

+ +
+
+ + + + +
#define MT_DATA_ACK   0x28
+
+ +
+
+ +

◆ MT_DATA_NACK

+ +
+
+ + + + +
#define MT_DATA_NACK   0x30
+
+ +
+
+ +

◆ MT_SLA_ACK

+ +
+
+ + + + +
#define MT_SLA_ACK   0x18
+
+ +
+
+ +

◆ MT_SLA_NACK

+ +
+
+ + + + +
#define MT_SLA_NACK   0x20
+
+ +
+
+ +

◆ REPEATED_START

+ +
+
+ + + + +
#define REPEATED_START   0x10
+
+ +
+
+ +

◆ setRegBit

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define setRegBit( r,
 
)   r |= (1 << b)
+
+ +

set bit b in register r

+ +
+
+ +

◆ START

+ +
+
+ + + + +
#define START   0x08
+
+ +
+
+ +

◆ TWI_STATUS

+ +
+
+ + + + +
#define TWI_STATUS   (TWSR & 0xF8)
+
+ +
+
+

Function Documentation

+ +

◆ I2C_init()

+ +
+
+ + + + + + + + +
void I2C_init (const uint16_t speed)
+
+ +

Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)

+
Parameters
+ + +
[in]speed- I2C bus speed in KHz
+
+
+
Returns
nothing
+
+Here is the call graph for this function:
+
+
+ +
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_is_busy()

+ +
+
+ + + + + + + + +
bool I2C_is_busy (void )
+
+ +

Get I2C busy status.

+
Returns
true if busy
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_rd8()

+ +
+
+ + + + + + + + +
uint8_t I2C_rd8 (const bool ack)
+
+ +

Receive byte from bus.

+
Parameters
+ + +
[in]ack- true if wait for ack
+
+
+
Returns
true if data reception acknowledged (false otherwise)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_read()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
I2C_STATUS I2C_read (I2C_SLAVEslave,
const uint16_t reg_addr,
uint8_t * data,
const uint16_t bytes 
)
+
+ +

This function reads data from the address specified and stores this data in the area provided by the pointer.

+
Parameters
+ + + + + +
[in,out]slave- pointer to the I2C slave structure
[in]reg_addr- register address in register map
[in,out]data- pointer to the first byte of a block of data to read
[in]bytes- indicates how many bytes of data to read
+
+
+
Returns
I2C_STATUS status of read attempt
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_reset()

+ +
+
+ + + + + + + + +
void I2C_reset (void )
+
+ +

I2C bus reset (Release SCL and SDA lines and re-enable module)

+
Returns
nothing
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_set_retries()

+ +
+
+ + + + + + + + +
uint8_t I2C_set_retries (const uint8_t retries)
+
+ +

Change I2C message retries (in case of failure)

+
Parameters
+ + +
[in]retries- I2C number of retries (max of 8)
+
+
+
Returns
Configured number of retries
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_set_speed()

+ +
+
+ + + + + + + + +
uint16_t I2C_set_speed (const uint16_t speed)
+
+ +

Change I2C frequency.

+
Parameters
+ + +
[in]speed- I2C speed in KHz (max 400KHz on avr)
+
+
+
Returns
Configured bus speed
+
+Here is the call graph for this function:
+
+
+ +
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_set_timeout()

+ +
+
+ + + + + + + + +
uint16_t I2C_set_timeout (const uint16_t timeout)
+
+ +

Change I2C ack timeout.

+
Parameters
+ + +
[in]timeout- I2C ack timeout (500 ms max)
+
+
+
Returns
Configured timeout
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_slave_init()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void I2C_slave_init (I2C_SLAVEslave,
const uint8_t sl_addr,
const I2C_INT_SIZE reg_sz 
)
+
+ +

Init an I2C slave structure for cMI2C communication.

+
Parameters
+ + + + +
[in]slave- pointer to the I2C slave structure to init
[in]sl_addr- I2C slave address
[in]reg_sz- internal register map size
+
+
+
Returns
nothing
+
+Here is the call graph for this function:
+
+
+ +
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_slave_set_addr()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool I2C_slave_set_addr (I2C_SLAVEslave,
const uint8_t sl_addr 
)
+
+ +

Change I2C slave address.

+
Parameters
+ + + +
[in,out]slave- pointer to the I2C slave structure to init
[in]sl_addr- I2C slave address
+
+
+
Returns
true if new address set (false if address is >7Fh)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_slave_set_reg_size()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool I2C_slave_set_reg_size (I2C_SLAVEslave,
const I2C_INT_SIZE reg_sz 
)
+
+ +

Change I2C registers map size (for access)

+
Parameters
+ + + +
[in,out]slave- pointer to the I2C slave structure
[in]reg_sz- internal register map size
+
+
+
Returns
true if new size is correct (false otherwise and set to 16bit by default)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_slave_set_rw_func()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void I2C_slave_set_rw_func (I2C_SLAVEslave,
const ci2c_fct_ptr func,
const I2C_RW rw 
)
+
+ +

Redirect slave I2C read/write function (if needed for advanced use)

+
Parameters
+ + + + +
[in]slave- pointer to the I2C slave structure to init
[in]func- pointer to read/write function to affect
[in]rw- 0 = write function, 1 = read function
+
+
+
Returns
nothing
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_sndAddr()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool I2C_sndAddr (I2C_SLAVEslave,
const I2C_RW rw 
)
+
+ +

Send I2C address.

+
Parameters
+ + + +
[in]slave- pointer to the I2C slave structure
[in]rw- read/write transaction
+
+
+
Returns
true if I2C chip address sent acknowledged (false otherwise)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_start()

+ +
+
+ + + + + + + + +
bool I2C_start (void )
+
+ +

Send start condition.

+
Returns
true if start condition acknowledged (false otherwise)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_stop()

+ +
+
+ + + + + + + + +
bool I2C_stop (void )
+
+ +

Send stop condition.

+
Returns
true if stop condition acknowledged (false otherwise)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_uninit()

+ +
+
+ + + + + + + +
void I2C_uninit ()
+
+ +

Disable I2c module on arduino board (releasing pull-ups, and TWI control)

+
Returns
nothing
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_wr8()

+ +
+
+ + + + + + + + +
bool I2C_wr8 (const uint8_t dat)
+
+ +

Send byte on bus.

+
Parameters
+ + +
[in]dat- data to be sent
+
+
+
Returns
true if data sent acknowledged (false otherwise)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_write()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
I2C_STATUS I2C_write (I2C_SLAVEslave,
const uint16_t reg_addr,
uint8_t * data,
const uint16_t bytes 
)
+
+ +

This function writes the provided data to the address specified.

+
Parameters
+ + + + + +
[in,out]slave- pointer to the I2C slave structure
[in]reg_addr- register address in register map
[in]data- pointer to the first byte of a block of data to write
[in]bytes- indicates how many bytes of data to write
+
+
+
Returns
I2C_STATUS status of write attempt
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+

Variable Documentation

+ +

◆ busy

+ +
+
+ + + + +
bool busy
+
+ +

true if already busy (in case of interrupts implementation)

+ +
+
+ +

◆ cfg

+ +
+
+ + + + +
struct { ... } cfg
+
+ +
+
+ +

◆ retries

+ +
+
+ + + + +
uint8_t retries
+
+ +

i2c message retries when fail

+ +
+
+ +

◆ speed

+ +
+
+ + + + +
I2C_SPEED speed
+
+ +

i2c bus speed

+ +
+
+ +

◆ start_wait

+ +
+
+ + + + +
uint16_t start_wait
+
+ +

time start waiting for acknowledge

+ +
+
+ +

◆ timeout

+ +
+
+ + + + +
uint16_t timeout
+
+ +

i2c timeout (ms)

+ +
+
+
+ + + + diff --git a/html/ci2c_8c__incl.dot b/html/ci2c_8c__incl.dot new file mode 100644 index 0000000..f46efa7 --- /dev/null +++ b/html/ci2c_8c__incl.dot @@ -0,0 +1,14 @@ +digraph "src/ci2c.c" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node0 [label="src/ci2c.c",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node0 -> Node1 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="ci2c.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html",tooltip="arduino i2c in plain c declarations "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="Arduino.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="inttypes.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="stdbool.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; +} diff --git a/html/ci2c_8c__incl.md5 b/html/ci2c_8c__incl.md5 new file mode 100644 index 0000000..c1020f8 --- /dev/null +++ b/html/ci2c_8c__incl.md5 @@ -0,0 +1 @@ +63894d147b554b73e1a519395c5ec9d1 \ No newline at end of file diff --git a/html/ci2c_8c_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.dot b/html/ci2c_8c_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.dot new file mode 100644 index 0000000..b16935e --- /dev/null +++ b/html/ci2c_8c_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.dot @@ -0,0 +1,20 @@ +digraph "I2C_reset" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node23 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node23 -> Node24 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a7c5b1857ae28ade8959a8a06f500ecde",tooltip="Change I2C frequency. "]; + Node24 -> Node25 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a99283d800332d700deed19f5a37e61d8",tooltip="Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)..."]; + Node25 -> Node26 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node25 -> Node27 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; + Node24 -> Node27 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 -> Node28 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node28 -> Node29 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8c_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.md5 b/html/ci2c_8c_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.md5 new file mode 100644 index 0000000..d2846ac --- /dev/null +++ b/html/ci2c_8c_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.md5 @@ -0,0 +1 @@ +58924c34d9f109a798dc3820f6d7562f \ No newline at end of file diff --git a/html/ci2c_8c_a47d121773459b24568e5df4f81fbf905_icgraph.dot b/html/ci2c_8c_a47d121773459b24568e5df4f81fbf905_icgraph.dot new file mode 100644 index 0000000..cdfc969 --- /dev/null +++ b/html/ci2c_8c_a47d121773459b24568e5df4f81fbf905_icgraph.dot @@ -0,0 +1,14 @@ +digraph "I2C_slave_set_reg_size" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node55 [label="I2C_slave_set_reg_size",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node55 -> Node56 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node56 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#af93c2e35e06edcea492607b628d5ae1f",tooltip="Init an I2C slave structure for cMI2C communication. "]; + Node56 -> Node57 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node57 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node56 -> Node58 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node58 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node58 -> Node57 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c_8c_a47d121773459b24568e5df4f81fbf905_icgraph.md5 b/html/ci2c_8c_a47d121773459b24568e5df4f81fbf905_icgraph.md5 new file mode 100644 index 0000000..4592530 --- /dev/null +++ b/html/ci2c_8c_a47d121773459b24568e5df4f81fbf905_icgraph.md5 @@ -0,0 +1 @@ +6ce6ddef52acb0ab5f57309df641cd72 \ No newline at end of file diff --git a/html/ci2c_8c_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.dot b/html/ci2c_8c_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.dot new file mode 100644 index 0000000..0229c20 --- /dev/null +++ b/html/ci2c_8c_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.dot @@ -0,0 +1,21 @@ +digraph "I2C_stop" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node81 [label="I2C_stop",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node81 -> Node82 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node82 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a21e16cd4ec558cb48d7df75c546027a2",tooltip="This procedure calls appropriate functions to perform a proper send transaction on I2C bus..."]; + Node82 -> Node83 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node83 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node81 -> Node84 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node84 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node84 -> Node83 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node81 -> Node85 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node85 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node85 -> Node83 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node81 -> Node86 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node86 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node86 -> Node87 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node87 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8c_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.md5 b/html/ci2c_8c_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.md5 new file mode 100644 index 0000000..5119265 --- /dev/null +++ b/html/ci2c_8c_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.md5 @@ -0,0 +1 @@ +204fa1d4ff4bcadf7832258ad0373b3a \ No newline at end of file diff --git a/html/ci2c_8c_a74e1381b536811b202d087471723fb9e_icgraph.dot b/html/ci2c_8c_a74e1381b536811b202d087471723fb9e_icgraph.dot new file mode 100644 index 0000000..418d4ce --- /dev/null +++ b/html/ci2c_8c_a74e1381b536811b202d087471723fb9e_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_uninit" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node89 [label="I2C_uninit",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node89 -> Node90 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node90 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; +} diff --git a/html/ci2c_8c_a74e1381b536811b202d087471723fb9e_icgraph.md5 b/html/ci2c_8c_a74e1381b536811b202d087471723fb9e_icgraph.md5 new file mode 100644 index 0000000..176c883 --- /dev/null +++ b/html/ci2c_8c_a74e1381b536811b202d087471723fb9e_icgraph.md5 @@ -0,0 +1 @@ +5539f444a01ca66379470094fb9965b9 \ No newline at end of file diff --git a/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.dot b/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.dot new file mode 100644 index 0000000..d68302c --- /dev/null +++ b/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_set_speed" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node33 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node33 -> Node34 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node34 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a2c25bc5fdf909b7d45d722970eb04d82",tooltip="I2C bus reset (Release SCL and SDA lines and re-enable module) "]; +} diff --git a/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.md5 b/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.md5 new file mode 100644 index 0000000..2aa7dbd --- /dev/null +++ b/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.md5 @@ -0,0 +1 @@ +a5fb369a0855a531e0c6c931a1d2f9e4 \ No newline at end of file diff --git a/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.dot b/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.dot new file mode 100644 index 0000000..76c6cb9 --- /dev/null +++ b/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.dot @@ -0,0 +1,14 @@ +digraph "I2C_set_speed" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node35 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node35 -> Node36 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node36 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a99283d800332d700deed19f5a37e61d8",tooltip="Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)..."]; + Node36 -> Node37 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node37 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node36 -> Node38 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node38 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; + Node35 -> Node38 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.md5 b/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.md5 new file mode 100644 index 0000000..811c152 --- /dev/null +++ b/html/ci2c_8c_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.md5 @@ -0,0 +1 @@ +922595ef8a6a27a631f30b36ee44a42e \ No newline at end of file diff --git a/html/ci2c_8c_a83adef951ffd9fb5105216f6ee464bb9_icgraph.dot b/html/ci2c_8c_a83adef951ffd9fb5105216f6ee464bb9_icgraph.dot new file mode 100644 index 0000000..bf57ca6 --- /dev/null +++ b/html/ci2c_8c_a83adef951ffd9fb5105216f6ee464bb9_icgraph.dot @@ -0,0 +1,13 @@ +digraph "I2C_write" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node100 [label="I2C_write",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node100 -> Node101 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node101 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__write_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; + Node100 -> Node102 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node102 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; + Node100 -> Node103 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node103 [label="I2C_write_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#add4eec772922da692bdbb84c354a3fa0",tooltip="This inline is a wrapper to I2C_write in case of contigous operations. "]; +} diff --git a/html/ci2c_8c_a83adef951ffd9fb5105216f6ee464bb9_icgraph.md5 b/html/ci2c_8c_a83adef951ffd9fb5105216f6ee464bb9_icgraph.md5 new file mode 100644 index 0000000..f0baa39 --- /dev/null +++ b/html/ci2c_8c_a83adef951ffd9fb5105216f6ee464bb9_icgraph.md5 @@ -0,0 +1 @@ +76be8a0d56429c69d9eb479e194ca779 \ No newline at end of file diff --git a/html/ci2c_8c_a8d6d7eb118ea1505df039075a00c267b_icgraph.dot b/html/ci2c_8c_a8d6d7eb118ea1505df039075a00c267b_icgraph.dot new file mode 100644 index 0000000..496f7db --- /dev/null +++ b/html/ci2c_8c_a8d6d7eb118ea1505df039075a00c267b_icgraph.dot @@ -0,0 +1,18 @@ +digraph "I2C_rd8" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node10 [label="I2C_rd8",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node10 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node11 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node10 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node13 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node14 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8c_a8d6d7eb118ea1505df039075a00c267b_icgraph.md5 b/html/ci2c_8c_a8d6d7eb118ea1505df039075a00c267b_icgraph.md5 new file mode 100644 index 0000000..d9f685f --- /dev/null +++ b/html/ci2c_8c_a8d6d7eb118ea1505df039075a00c267b_icgraph.md5 @@ -0,0 +1 @@ +60dba050a4037f73aee33ef22ea2a48d \ No newline at end of file diff --git a/html/ci2c_8c_a8d88530833d3685d52ea5486b1316427_icgraph.dot b/html/ci2c_8c_a8d88530833d3685d52ea5486b1316427_icgraph.dot new file mode 100644 index 0000000..19a097b --- /dev/null +++ b/html/ci2c_8c_a8d88530833d3685d52ea5486b1316427_icgraph.dot @@ -0,0 +1,15 @@ +digraph "I2C_slave_set_rw_func" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node60 [label="I2C_slave_set_rw_func",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node60 -> Node61 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node61 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node60 -> Node62 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node62 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#af93c2e35e06edcea492607b628d5ae1f",tooltip="Init an I2C slave structure for cMI2C communication. "]; + Node62 -> Node61 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node62 -> Node63 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node63 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node63 -> Node61 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c_8c_a8d88530833d3685d52ea5486b1316427_icgraph.md5 b/html/ci2c_8c_a8d88530833d3685d52ea5486b1316427_icgraph.md5 new file mode 100644 index 0000000..7cc6b86 --- /dev/null +++ b/html/ci2c_8c_a8d88530833d3685d52ea5486b1316427_icgraph.md5 @@ -0,0 +1 @@ +3d54600cae854360dd1215e77a38c3f1 \ No newline at end of file diff --git a/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_cgraph.dot b/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_cgraph.dot new file mode 100644 index 0000000..cd56bf0 --- /dev/null +++ b/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_cgraph.dot @@ -0,0 +1,11 @@ +digraph "I2C_init" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node0 -> Node1 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a7c5b1857ae28ade8959a8a06f500ecde",tooltip="Change I2C frequency. "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a2c25bc5fdf909b7d45d722970eb04d82",tooltip="I2C bus reset (Release SCL and SDA lines and re-enable module) "]; +} diff --git a/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_cgraph.md5 b/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_cgraph.md5 new file mode 100644 index 0000000..3554eea --- /dev/null +++ b/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_cgraph.md5 @@ -0,0 +1 @@ +2a0e10dd1a68bd92fb38b08b6aaddc60 \ No newline at end of file diff --git a/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_icgraph.dot b/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_icgraph.dot new file mode 100644 index 0000000..97bd98d --- /dev/null +++ b/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_icgraph.dot @@ -0,0 +1,11 @@ +digraph "I2C_init" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node3 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node3 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; +} diff --git a/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_icgraph.md5 b/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_icgraph.md5 new file mode 100644 index 0000000..392d9dc --- /dev/null +++ b/html/ci2c_8c_a99283d800332d700deed19f5a37e61d8_icgraph.md5 @@ -0,0 +1 @@ +8c6c5ebeef1cd9f063fbbcb0abd7af27 \ No newline at end of file diff --git a/html/ci2c_8c_aaadadbb29f315f2030223665f1988188_icgraph.dot b/html/ci2c_8c_aaadadbb29f315f2030223665f1988188_icgraph.dot new file mode 100644 index 0000000..6c48e87 --- /dev/null +++ b/html/ci2c_8c_aaadadbb29f315f2030223665f1988188_icgraph.dot @@ -0,0 +1,21 @@ +digraph "I2C_start" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node73 [label="I2C_start",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node73 -> Node74 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node74 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a21e16cd4ec558cb48d7df75c546027a2",tooltip="This procedure calls appropriate functions to perform a proper send transaction on I2C bus..."]; + Node74 -> Node75 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node75 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node73 -> Node76 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node76 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node76 -> Node75 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node73 -> Node77 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node77 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node77 -> Node75 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node73 -> Node78 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node78 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node78 -> Node79 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node79 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8c_aaadadbb29f315f2030223665f1988188_icgraph.md5 b/html/ci2c_8c_aaadadbb29f315f2030223665f1988188_icgraph.md5 new file mode 100644 index 0000000..4798528 --- /dev/null +++ b/html/ci2c_8c_aaadadbb29f315f2030223665f1988188_icgraph.md5 @@ -0,0 +1 @@ +bdd09b107bf881bd9f7b4132902d9506 \ No newline at end of file diff --git a/html/ci2c_8c_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.dot b/html/ci2c_8c_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.dot new file mode 100644 index 0000000..dfee07c --- /dev/null +++ b/html/ci2c_8c_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.dot @@ -0,0 +1,21 @@ +digraph "I2C_sndAddr" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node65 [label="I2C_sndAddr",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node65 -> Node66 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node66 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a21e16cd4ec558cb48d7df75c546027a2",tooltip="This procedure calls appropriate functions to perform a proper send transaction on I2C bus..."]; + Node66 -> Node67 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node67 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node65 -> Node68 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node68 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node68 -> Node67 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node65 -> Node69 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node69 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node69 -> Node67 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node65 -> Node70 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node70 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node70 -> Node71 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node71 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8c_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.md5 b/html/ci2c_8c_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.md5 new file mode 100644 index 0000000..051815c --- /dev/null +++ b/html/ci2c_8c_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.md5 @@ -0,0 +1 @@ +51f00b1ad1bca2c8e2fc6a6ff4a65f5d \ No newline at end of file diff --git a/html/ci2c_8c_ab20db75dfa22dc47df506cab3bd11c60_icgraph.dot b/html/ci2c_8c_ab20db75dfa22dc47df506cab3bd11c60_icgraph.dot new file mode 100644 index 0000000..eafe1e2 --- /dev/null +++ b/html/ci2c_8c_ab20db75dfa22dc47df506cab3bd11c60_icgraph.dot @@ -0,0 +1,21 @@ +digraph "I2C_wr8" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node92 [label="I2C_wr8",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node92 -> Node93 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node93 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a21e16cd4ec558cb48d7df75c546027a2",tooltip="This procedure calls appropriate functions to perform a proper send transaction on I2C bus..."]; + Node93 -> Node94 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node94 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node92 -> Node95 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node95 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node95 -> Node94 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node92 -> Node96 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node96 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node96 -> Node94 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node92 -> Node97 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node97 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node97 -> Node98 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node98 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8c_ab20db75dfa22dc47df506cab3bd11c60_icgraph.md5 b/html/ci2c_8c_ab20db75dfa22dc47df506cab3bd11c60_icgraph.md5 new file mode 100644 index 0000000..b7ff29e --- /dev/null +++ b/html/ci2c_8c_ab20db75dfa22dc47df506cab3bd11c60_icgraph.md5 @@ -0,0 +1 @@ +845cc651b1ac72c3c02ceaad56f47cc5 \ No newline at end of file diff --git a/html/ci2c_8c_ac370df06df51c68217eafcee96e5a3e0_icgraph.dot b/html/ci2c_8c_ac370df06df51c68217eafcee96e5a3e0_icgraph.dot new file mode 100644 index 0000000..aa7a8e3 --- /dev/null +++ b/html/ci2c_8c_ac370df06df51c68217eafcee96e5a3e0_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_is_busy" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node7 [label="I2C_is_busy",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node7 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; +} diff --git a/html/ci2c_8c_ac370df06df51c68217eafcee96e5a3e0_icgraph.md5 b/html/ci2c_8c_ac370df06df51c68217eafcee96e5a3e0_icgraph.md5 new file mode 100644 index 0000000..ee53be6 --- /dev/null +++ b/html/ci2c_8c_ac370df06df51c68217eafcee96e5a3e0_icgraph.md5 @@ -0,0 +1 @@ +45362ed63d2b78b0b3b675022da0e49f \ No newline at end of file diff --git a/html/ci2c_8c_acd209174a3b5ab213131a93633c19a38_icgraph.dot b/html/ci2c_8c_acd209174a3b5ab213131a93633c19a38_icgraph.dot new file mode 100644 index 0000000..17df12b --- /dev/null +++ b/html/ci2c_8c_acd209174a3b5ab213131a93633c19a38_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_set_timeout" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node40 [label="I2C_set_timeout",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node40 -> Node41 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node41 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; +} diff --git a/html/ci2c_8c_acd209174a3b5ab213131a93633c19a38_icgraph.md5 b/html/ci2c_8c_acd209174a3b5ab213131a93633c19a38_icgraph.md5 new file mode 100644 index 0000000..ec144de --- /dev/null +++ b/html/ci2c_8c_acd209174a3b5ab213131a93633c19a38_icgraph.md5 @@ -0,0 +1 @@ +6bb0311913eff3f6d9256ec2dae079a0 \ No newline at end of file diff --git a/html/ci2c_8c_ad0eed3132d3284d6f921d13488721226_icgraph.dot b/html/ci2c_8c_ad0eed3132d3284d6f921d13488721226_icgraph.dot new file mode 100644 index 0000000..2e8e717 --- /dev/null +++ b/html/ci2c_8c_ad0eed3132d3284d6f921d13488721226_icgraph.dot @@ -0,0 +1,14 @@ +digraph "I2C_slave_set_addr" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node50 [label="I2C_slave_set_addr",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node50 -> Node51 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node51 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#af93c2e35e06edcea492607b628d5ae1f",tooltip="Init an I2C slave structure for cMI2C communication. "]; + Node51 -> Node52 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node52 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node51 -> Node53 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node53 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node53 -> Node52 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c_8c_ad0eed3132d3284d6f921d13488721226_icgraph.md5 b/html/ci2c_8c_ad0eed3132d3284d6f921d13488721226_icgraph.md5 new file mode 100644 index 0000000..a311e9c --- /dev/null +++ b/html/ci2c_8c_ad0eed3132d3284d6f921d13488721226_icgraph.md5 @@ -0,0 +1 @@ +4cfa46272573ecc5e315e4b5c2b43f77 \ No newline at end of file diff --git a/html/ci2c_8c_ad5e4a006f6cea5844a810fab30b40f87_icgraph.dot b/html/ci2c_8c_ad5e4a006f6cea5844a810fab30b40f87_icgraph.dot new file mode 100644 index 0000000..009b2f5 --- /dev/null +++ b/html/ci2c_8c_ad5e4a006f6cea5844a810fab30b40f87_icgraph.dot @@ -0,0 +1,15 @@ +digraph "I2C_read" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node17 [label="I2C_read",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node17 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; + Node17 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="I2C_write_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#add4eec772922da692bdbb84c354a3fa0",tooltip="This inline is a wrapper to I2C_write in case of contigous operations. "]; + Node17 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node20 -> Node21 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8c_ad5e4a006f6cea5844a810fab30b40f87_icgraph.md5 b/html/ci2c_8c_ad5e4a006f6cea5844a810fab30b40f87_icgraph.md5 new file mode 100644 index 0000000..94adb65 --- /dev/null +++ b/html/ci2c_8c_ad5e4a006f6cea5844a810fab30b40f87_icgraph.md5 @@ -0,0 +1 @@ +b9bf215aabbb43a5ba567024e3687b5d \ No newline at end of file diff --git a/html/ci2c_8c_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.dot b/html/ci2c_8c_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.dot new file mode 100644 index 0000000..83f7c96 --- /dev/null +++ b/html/ci2c_8c_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_set_retries" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node31 [label="I2C_set_retries",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node31 -> Node32 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node32 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; +} diff --git a/html/ci2c_8c_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.md5 b/html/ci2c_8c_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.md5 new file mode 100644 index 0000000..ad153c7 --- /dev/null +++ b/html/ci2c_8c_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.md5 @@ -0,0 +1 @@ +cc29e7247e32379c8661d65948de589d \ No newline at end of file diff --git a/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_cgraph.dot b/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_cgraph.dot new file mode 100644 index 0000000..586c1a9 --- /dev/null +++ b/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_cgraph.dot @@ -0,0 +1,13 @@ +digraph "I2C_slave_init" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node42 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node42 -> Node43 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node43 [label="I2C_slave_set_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ad0eed3132d3284d6f921d13488721226",tooltip="Change I2C slave address. "]; + Node42 -> Node44 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node44 [label="I2C_slave_set_reg_size",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a47d121773459b24568e5df4f81fbf905",tooltip="Change I2C registers map size (for access) "]; + Node42 -> Node45 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node45 [label="I2C_slave_set_rw_func",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a8d88530833d3685d52ea5486b1316427",tooltip="Redirect slave I2C read/write function (if needed for advanced use) "]; +} diff --git a/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_cgraph.md5 b/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_cgraph.md5 new file mode 100644 index 0000000..9c5db86 --- /dev/null +++ b/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_cgraph.md5 @@ -0,0 +1 @@ +e2accda758f47dcc342c54fd47dcc510 \ No newline at end of file diff --git a/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_icgraph.dot b/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_icgraph.dot new file mode 100644 index 0000000..973cda9 --- /dev/null +++ b/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_icgraph.dot @@ -0,0 +1,12 @@ +digraph "I2C_slave_init" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node46 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node46 -> Node47 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node47 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node46 -> Node48 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node48 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node48 -> Node47 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_icgraph.md5 b/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_icgraph.md5 new file mode 100644 index 0000000..3dc0c5d --- /dev/null +++ b/html/ci2c_8c_af93c2e35e06edcea492607b628d5ae1f_icgraph.md5 @@ -0,0 +1 @@ +e4694bf1209a793b58fd5baf9a85b4a0 \ No newline at end of file diff --git a/html/ci2c_8h.html b/html/ci2c_8h.html new file mode 100644 index 0000000..3108a3e --- /dev/null +++ b/html/ci2c_8h.html @@ -0,0 +1,1412 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): src/ci2c.h File Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+ +
+
ci2c.h File Reference
+
+
+ +

arduino i2c in plain c declarations +More...

+
#include <Arduino.h>
+#include <inttypes.h>
+#include <stdbool.h>
+
+Include dependency graph for ci2c.h:
+
+
+ +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ +
+
+

Go to the source code of this file.

+ + + + + +

+Data Structures

struct  StructI2CSlave
 ci2c slave config and control parameters More...
 
+ + + + + + + + + + +

+Macros

#define __attribute__(a)
 GCC attribute (ignored by Doxygen) More...
 
#define DEF_CI2C_NB_RETRIES   3
 Default cI2C transaction retries. More...
 
#define DEF_CI2C_TIMEOUT   100
 Default cI2C timeout. More...
 
+ + + + + + + + + + + + + + +

+Typedefs

typedef enum enI2C_RW I2C_RW
 
typedef enum enI2C_SPEED I2C_SPEED
 
typedef enum enI2C_STATUS I2C_STATUS
 
typedef enum enI2C_INT_SIZE I2C_INT_SIZE
 
typedef bool(* ci2c_fct_ptr) (void *, const uint16_t, uint8_t *, const uint16_t)
 i2c read/write function pointer typedef More...
 
typedef struct StructI2CSlave I2C_SLAVE
 
+ + + + + + + + + + + + + +

+Enumerations

enum  enI2C_RW { I2C_WRITE = 0, +I2C_READ + }
 I2C RW bit enumeration. More...
 
enum  enI2C_SPEED { I2C_STD = 100, +I2C_FM = 400, +I2C_FMP = 1000, +I2C_HS = 3400 + }
 I2C bus speed. More...
 
enum  enI2C_STATUS { I2C_OK = 0x00, +I2C_BUSY, +I2C_NACK + }
 I2C slave status. More...
 
enum  enI2C_INT_SIZE { I2C_NO_REG = 0x00, +I2C_8B_REG, +I2C_16B_REG + }
 I2C slave internal address registers size. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

void I2C_slave_init (I2C_SLAVE *slave, const uint8_t sl_addr, const I2C_INT_SIZE reg_sz)
 Init an I2C slave structure for cMI2C communication. More...
 
void I2C_slave_set_rw_func (I2C_SLAVE *slave, const ci2c_fct_ptr func, const I2C_RW rw)
 Redirect slave I2C read/write function (if needed for advanced use) More...
 
bool I2C_slave_set_addr (I2C_SLAVE *slave, const uint8_t sl_addr)
 Change I2C slave address. More...
 
bool I2C_slave_set_reg_size (I2C_SLAVE *slave, const I2C_INT_SIZE reg_sz)
 Change I2C registers map size (for access) More...
 
uint8_t I2C_slave_get_addr (const I2C_SLAVE *slave)
 Get I2C slave address. More...
 
bool I2C_slave_get_reg_size (const I2C_SLAVE *slave)
 Get I2C register map size (for access) More...
 
uint16_t I2C_slave_get_reg_addr (const I2C_SLAVE *slave)
 Get I2C current register address (addr may passed this way in procedures if contigous accesses) More...
 
void I2C_init (const uint16_t speed)
 Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency) More...
 
void I2C_uninit ()
 Disable I2c module on arduino board (releasing pull-ups, and TWI control) More...
 
uint16_t I2C_set_speed (const uint16_t speed)
 Change I2C frequency. More...
 
uint16_t I2C_set_timeout (const uint16_t timeout)
 Change I2C ack timeout. More...
 
uint8_t I2C_set_retries (const uint8_t retries)
 Change I2C message retries (in case of failure) More...
 
bool I2C_is_busy (void)
 Get I2C busy status. More...
 
I2C_STATUS I2C_write (I2C_SLAVE *slave, const uint16_t reg_addr, uint8_t *data, const uint16_t bytes)
 This function writes the provided data to the address specified. More...
 
I2C_STATUS I2C_write_next (I2C_SLAVE *slave, uint8_t *data, const uint16_t bytes)
 This inline is a wrapper to I2C_write in case of contigous operations. More...
 
I2C_STATUS I2C_read (I2C_SLAVE *slave, const uint16_t reg_addr, uint8_t *data, const uint16_t bytes)
 This function reads data from the address specified and stores this data in the area provided by the pointer. More...
 
I2C_STATUS I2C_read_next (I2C_SLAVE *slave, uint8_t *data, const uint16_t bytes)
 This inline is a wrapper to I2C_read in case of contigous operations. More...
 
void I2C_reset (void)
 I2C bus reset (Release SCL and SDA lines and re-enable module) More...
 
bool I2C_start (void)
 Send start condition. More...
 
bool I2C_stop (void)
 Send stop condition. More...
 
bool I2C_wr8 (const uint8_t dat)
 Send byte on bus. More...
 
uint8_t I2C_rd8 (const bool ack)
 Receive byte from bus. More...
 
bool I2C_sndAddr (I2C_SLAVE *slave, const I2C_RW rw)
 Send I2C address. More...
 
+

Detailed Description

+

arduino i2c in plain c declarations

+
Author
SMFSW
+ +
Warning
Don't access (r/w) last 16b internal address byte alone right after init, this would lead to hazardous result (in such case, make a dummy read of addr 0 before)
+

Macro Definition Documentation

+ +

◆ __attribute__

+ +
+
+ + + + + + + + +
#define __attribute__( a)
+
+ +

GCC attribute (ignored by Doxygen)

+ +
+
+ +

◆ DEF_CI2C_NB_RETRIES

+ +
+
+ + + + +
#define DEF_CI2C_NB_RETRIES   3
+
+ +

Default cI2C transaction retries.

+ +
+
+ +

◆ DEF_CI2C_TIMEOUT

+ +
+
+ + + + +
#define DEF_CI2C_TIMEOUT   100
+
+ +

Default cI2C timeout.

+ +
+
+

Typedef Documentation

+ +

◆ ci2c_fct_ptr

+ +
+
+ + + + +
typedef bool(* ci2c_fct_ptr) (void *, const uint16_t, uint8_t *, const uint16_t)
+
+ +

i2c read/write function pointer typedef

+ +
+
+ +

◆ I2C_INT_SIZE

+ +
+
+ + + + +
typedef enum enI2C_INT_SIZE I2C_INT_SIZE
+
+ +
+
+ +

◆ I2C_RW

+ +
+
+ + + + +
typedef enum enI2C_RW I2C_RW
+
+ +
+
+ +

◆ I2C_SLAVE

+ +
+
+ + + + +
typedef struct StructI2CSlave I2C_SLAVE
+
+ +
+
+ +

◆ I2C_SPEED

+ +
+
+ + + + +
typedef enum enI2C_SPEED I2C_SPEED
+
+ +
+
+ +

◆ I2C_STATUS

+ +
+
+ + + + +
typedef enum enI2C_STATUS I2C_STATUS
+
+ +
+
+

Enumeration Type Documentation

+ +

◆ enI2C_INT_SIZE

+ +
+
+ + + + +
enum enI2C_INT_SIZE
+
+ +

I2C slave internal address registers size.

+
GCC Attributes:
packed enum
+ + + + +
Enumerator
I2C_NO_REG 

Internal address registers not applicable for slave.

+
I2C_8B_REG 

Slave internal address registers space is 8bits wide.

+
I2C_16B_REG 

Slave internal address registers space is 16bits wide.

+
+ +
+
+ +

◆ enI2C_RW

+ +
+
+ + + + +
enum enI2C_RW
+
+ +

I2C RW bit enumeration.

+
GCC Attributes:
packed enum
+ + + +
Enumerator
I2C_WRITE 

I2C rw bit (write)

+
I2C_READ 

I2C rw bit (read)

+
+ +
+
+ +

◆ enI2C_SPEED

+ +
+
+ + + + +
enum enI2C_SPEED
+
+ +

I2C bus speed.

+
GCC Attributes:
packed enum
+ + + + + +
Enumerator
I2C_STD 

I2C Standard (100KHz)

+
I2C_FM 

I2C Fast Mode (400KHz)

+
I2C_FMP 

I2C Fast mode + (1MHz): will set speed to Fast Mode (up to 400KHz on avr)

+
I2C_HS 

I2C High Speed (3.4MHz): will set speed to Fast Mode (up to 400KHz on avr)

+
+ +
+
+ +

◆ enI2C_STATUS

+ +
+
+ + + + +
enum enI2C_STATUS
+
+ +

I2C slave status.

+
GCC Attributes:
packed enum
+ + + + +
Enumerator
I2C_OK 

I2C OK.

+
I2C_BUSY 

I2C Bus busy.

+
I2C_NACK 

I2C Not Acknowledge.

+
+ +
+
+

Function Documentation

+ +

◆ I2C_init()

+ +
+
+ + + + + + + + +
void I2C_init (const uint16_t speed)
+
+ +

Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)

+
Parameters
+ + +
[in]speed- I2C bus speed in KHz
+
+
+
Returns
nothing
+
+Here is the call graph for this function:
+
+
+ +
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_is_busy()

+ +
+
+ + + + + + + + +
bool I2C_is_busy (void )
+
+ +

Get I2C busy status.

+
Returns
true if busy
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_rd8()

+ +
+
+ + + + + + + + +
uint8_t I2C_rd8 (const bool ack)
+
+ +

Receive byte from bus.

+
Parameters
+ + +
[in]ack- true if wait for ack
+
+
+
Returns
true if data reception acknowledged (false otherwise)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_read()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
I2C_STATUS I2C_read (I2C_SLAVEslave,
const uint16_t reg_addr,
uint8_t * data,
const uint16_t bytes 
)
+
+ +

This function reads data from the address specified and stores this data in the area provided by the pointer.

+
Parameters
+ + + + + +
[in,out]slave- pointer to the I2C slave structure
[in]reg_addr- register address in register map
[in,out]data- pointer to the first byte of a block of data to read
[in]bytes- indicates how many bytes of data to read
+
+
+
Returns
I2C_STATUS status of read attempt
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_read_next()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
I2C_STATUS I2C_read_next (I2C_SLAVEslave,
uint8_t * data,
const uint16_t bytes 
)
+
+inline
+
+ +

This inline is a wrapper to I2C_read in case of contigous operations.

+
GCC Attributes:
inline
+
Parameters
+ + + + +
[in,out]slave- pointer to the I2C slave structure
[in]data- pointer to the first byte of a block of data to read
[in]bytes- indicates how many bytes of data to read
+
+
+
Returns
I2C_STATUS status of read attempt
+
+Here is the call graph for this function:
+
+
+ +
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_reset()

+ +
+
+ + + + + + + + +
void I2C_reset (void )
+
+ +

I2C bus reset (Release SCL and SDA lines and re-enable module)

+
Returns
nothing
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_set_retries()

+ +
+
+ + + + + + + + +
uint8_t I2C_set_retries (const uint8_t retries)
+
+ +

Change I2C message retries (in case of failure)

+
Parameters
+ + +
[in]retries- I2C number of retries (max of 8)
+
+
+
Returns
Configured number of retries
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_set_speed()

+ +
+
+ + + + + + + + +
uint16_t I2C_set_speed (const uint16_t speed)
+
+ +

Change I2C frequency.

+
Parameters
+ + +
[in]speed- I2C bus speed in KHz (max 400KHz on AVR)
+
+
+
Returns
Configured bus speed
+
Parameters
+ + +
[in]speed- I2C speed in KHz (max 400KHz on avr)
+
+
+
Returns
Configured bus speed
+
+Here is the call graph for this function:
+
+
+ +
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_set_timeout()

+ +
+
+ + + + + + + + +
uint16_t I2C_set_timeout (const uint16_t timeout)
+
+ +

Change I2C ack timeout.

+
Parameters
+ + +
[in]timeout- I2C ack timeout (500 ms max)
+
+
+
Returns
Configured timeout
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_slave_get_addr()

+ +
+
+ + + + + +
+ + + + + + + + +
uint8_t I2C_slave_get_addr (const I2C_SLAVEslave)
+
+inline
+
+ +

Get I2C slave address.

+
GCC Attributes:
inline
+
Parameters
+ + +
[in]slave- pointer to the I2C slave structure
+
+
+
Returns
I2C slave address
+ +
+
+ +

◆ I2C_slave_get_reg_addr()

+ +
+
+ + + + + +
+ + + + + + + + +
uint16_t I2C_slave_get_reg_addr (const I2C_SLAVEslave)
+
+inline
+
+ +

Get I2C current register address (addr may passed this way in procedures if contigous accesses)

+
GCC Attributes:
inline
+
Parameters
+ + +
[in]slave- pointer to the I2C slave structure
+
+
+
Returns
current register map address
+
+Here is the call graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_slave_get_reg_size()

+ +
+
+ + + + + +
+ + + + + + + + +
bool I2C_slave_get_reg_size (const I2C_SLAVEslave)
+
+inline
+
+ +

Get I2C register map size (for access)

+
GCC Attributes:
inline
+
Parameters
+ + +
[in]slave- pointer to the I2C slave structure
+
+
+
Returns
register map using 16bits if true (1Byte otherwise)
+ +
+
+ +

◆ I2C_slave_init()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void I2C_slave_init (I2C_SLAVEslave,
const uint8_t sl_addr,
const I2C_INT_SIZE reg_sz 
)
+
+ +

Init an I2C slave structure for cMI2C communication.

+
Parameters
+ + + + +
[in]slave- pointer to the I2C slave structure to init
[in]sl_addr- I2C slave address
[in]reg_sz- internal register map size
+
+
+
Returns
nothing
+
+Here is the call graph for this function:
+
+
+ +
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_slave_set_addr()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool I2C_slave_set_addr (I2C_SLAVEslave,
const uint8_t sl_addr 
)
+
+ +

Change I2C slave address.

+
Parameters
+ + + +
[in,out]slave- pointer to the I2C slave structure to init
[in]sl_addr- I2C slave address
+
+
+
Returns
true if new address set (false if address is >7Fh)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_slave_set_reg_size()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool I2C_slave_set_reg_size (I2C_SLAVEslave,
const I2C_INT_SIZE reg_sz 
)
+
+ +

Change I2C registers map size (for access)

+
Parameters
+ + + +
[in,out]slave- pointer to the I2C slave structure
[in]reg_sz- internal register map size
+
+
+
Returns
true if new size is correct (false otherwise and set to 16bit by default)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_slave_set_rw_func()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
void I2C_slave_set_rw_func (I2C_SLAVEslave,
const ci2c_fct_ptr func,
const I2C_RW rw 
)
+
+ +

Redirect slave I2C read/write function (if needed for advanced use)

+
Parameters
+ + + + +
[in]slave- pointer to the I2C slave structure to init
[in]func- pointer to read/write function to affect
[in]rw- 0 = write function, 1 = read function
+
+
+
Returns
nothing
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_sndAddr()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool I2C_sndAddr (I2C_SLAVEslave,
const I2C_RW rw 
)
+
+ +

Send I2C address.

+
Parameters
+ + + +
[in]slave- pointer to the I2C slave structure
[in]rw- read/write transaction
+
+
+
Returns
true if I2C chip address sent acknowledged (false otherwise)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_start()

+ +
+
+ + + + + + + + +
bool I2C_start (void )
+
+ +

Send start condition.

+
Returns
true if start condition acknowledged (false otherwise)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_stop()

+ +
+
+ + + + + + + + +
bool I2C_stop (void )
+
+ +

Send stop condition.

+
Returns
true if stop condition acknowledged (false otherwise)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_uninit()

+ +
+
+ + + + + + + +
void I2C_uninit ()
+
+ +

Disable I2c module on arduino board (releasing pull-ups, and TWI control)

+
Returns
nothing
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_wr8()

+ +
+
+ + + + + + + + +
bool I2C_wr8 (const uint8_t dat)
+
+ +

Send byte on bus.

+
Parameters
+ + +
[in]dat- data to be sent
+
+
+
Returns
true if data sent acknowledged (false otherwise)
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_write()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
I2C_STATUS I2C_write (I2C_SLAVEslave,
const uint16_t reg_addr,
uint8_t * data,
const uint16_t bytes 
)
+
+ +

This function writes the provided data to the address specified.

+
Parameters
+ + + + + +
[in,out]slave- pointer to the I2C slave structure
[in]reg_addr- register address in register map
[in]data- pointer to the first byte of a block of data to write
[in]bytes- indicates how many bytes of data to write
+
+
+
Returns
I2C_STATUS status of write attempt
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_write_next()

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
I2C_STATUS I2C_write_next (I2C_SLAVEslave,
uint8_t * data,
const uint16_t bytes 
)
+
+inline
+
+ +

This inline is a wrapper to I2C_write in case of contigous operations.

+
GCC Attributes:
inline
+
Parameters
+ + + + +
[in,out]slave- pointer to the I2C slave structure
[in]data- pointer to the first byte of a block of data to write
[in]bytes- indicates how many bytes of data to write
+
+
+
Returns
I2C_STATUS status of write attempt
+
+Here is the call graph for this function:
+
+
+ +
+ +
+
+
+ + + + diff --git a/html/ci2c_8h__dep__incl.dot b/html/ci2c_8h__dep__incl.dot new file mode 100644 index 0000000..fe9fb3f --- /dev/null +++ b/html/ci2c_8h__dep__incl.dot @@ -0,0 +1,14 @@ +digraph "src/ci2c.h" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node4 [label="src/ci2c.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node4 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="examples/ci2c_advanced\l/ci2c_advanced.ino",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html"]; + Node4 -> Node6 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="examples/ci2c_master\l_read/ci2c_master_read.ino",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html"]; + Node4 -> Node7 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="examples/ci2c_master\l_write/ci2c_master_write.ino",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__write_8ino.html"]; + Node4 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="src/ci2c.c",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html",tooltip="arduino master i2c in plain c code "]; +} diff --git a/html/ci2c_8h__dep__incl.md5 b/html/ci2c_8h__dep__incl.md5 new file mode 100644 index 0000000..1853490 --- /dev/null +++ b/html/ci2c_8h__dep__incl.md5 @@ -0,0 +1 @@ +f43df92a20e8b071ef8f2cc9b4ef13db \ No newline at end of file diff --git a/html/ci2c_8h__incl.dot b/html/ci2c_8h__incl.dot new file mode 100644 index 0000000..19e5eb1 --- /dev/null +++ b/html/ci2c_8h__incl.dot @@ -0,0 +1,12 @@ +digraph "src/ci2c.h" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node0 [label="src/ci2c.h",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node0 -> Node1 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="Arduino.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; + Node0 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="inttypes.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; + Node0 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="stdbool.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; +} diff --git a/html/ci2c_8h__incl.md5 b/html/ci2c_8h__incl.md5 new file mode 100644 index 0000000..7387f1b --- /dev/null +++ b/html/ci2c_8h__incl.md5 @@ -0,0 +1 @@ +3345c175dbd55aecba6767274594cc08 \ No newline at end of file diff --git a/html/ci2c_8h_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.dot b/html/ci2c_8h_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.dot new file mode 100644 index 0000000..65563ab --- /dev/null +++ b/html/ci2c_8h_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.dot @@ -0,0 +1,20 @@ +digraph "I2C_reset" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node33 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node33 -> Node34 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node34 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a7c5b1857ae28ade8959a8a06f500ecde",tooltip="Change I2C frequency. "]; + Node34 -> Node35 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node35 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a99283d800332d700deed19f5a37e61d8",tooltip="Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)..."]; + Node35 -> Node36 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node36 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node35 -> Node37 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node37 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; + Node34 -> Node37 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node33 -> Node38 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node38 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node38 -> Node39 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node39 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8h_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.md5 b/html/ci2c_8h_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.md5 new file mode 100644 index 0000000..1c9d06f --- /dev/null +++ b/html/ci2c_8h_a2c25bc5fdf909b7d45d722970eb04d82_icgraph.md5 @@ -0,0 +1 @@ +3a74848d896c2e87e47caf68e8e837be \ No newline at end of file diff --git a/html/ci2c_8h_a41be982659cb049fcdf88a18e3e4c4e0_cgraph.dot b/html/ci2c_8h_a41be982659cb049fcdf88a18e3e4c4e0_cgraph.dot new file mode 100644 index 0000000..079f8f0 --- /dev/null +++ b/html/ci2c_8h_a41be982659cb049fcdf88a18e3e4c4e0_cgraph.dot @@ -0,0 +1,26 @@ +digraph "I2C_slave_get_reg_addr" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node54 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node54 -> Node55 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node55 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a99283d800332d700deed19f5a37e61d8",tooltip="Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)..."]; + Node55 -> Node56 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node56 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a7c5b1857ae28ade8959a8a06f500ecde",tooltip="Change I2C frequency. "]; + Node56 -> Node57 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node57 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a2c25bc5fdf909b7d45d722970eb04d82",tooltip="I2C bus reset (Release SCL and SDA lines and re-enable module) "]; + Node54 -> Node58 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node58 [label="I2C_uninit",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a74e1381b536811b202d087471723fb9e",tooltip="Disable I2c module on arduino board (releasing pull-ups, and TWI control) "]; + Node54 -> Node59 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node59 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a7c5b1857ae28ade8959a8a06f500ecde",tooltip="Change I2C frequency. "]; + Node59 -> Node57 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node54 -> Node60 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node60 [label="I2C_set_timeout",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#acd209174a3b5ab213131a93633c19a38",tooltip="Change I2C ack timeout. "]; + Node54 -> Node61 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node61 [label="I2C_set_retries",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#ad74e31ebd08a9ddef57f571783f37cc7",tooltip="Change I2C message retries (in case of failure) "]; + Node54 -> Node62 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node62 [label="I2C_is_busy",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#ac370df06df51c68217eafcee96e5a3e0",tooltip="Get I2C busy status. "]; + Node54 -> Node63 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node63 [label="I2C_write",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a83adef951ffd9fb5105216f6ee464bb9",tooltip="This function writes the provided data to the address specified. "]; +} diff --git a/html/ci2c_8h_a41be982659cb049fcdf88a18e3e4c4e0_cgraph.md5 b/html/ci2c_8h_a41be982659cb049fcdf88a18e3e4c4e0_cgraph.md5 new file mode 100644 index 0000000..449d606 --- /dev/null +++ b/html/ci2c_8h_a41be982659cb049fcdf88a18e3e4c4e0_cgraph.md5 @@ -0,0 +1 @@ +c2337e07aad730e86e16aa8506f1352a \ No newline at end of file diff --git a/html/ci2c_8h_a47d121773459b24568e5df4f81fbf905_icgraph.dot b/html/ci2c_8h_a47d121773459b24568e5df4f81fbf905_icgraph.dot new file mode 100644 index 0000000..c822448 --- /dev/null +++ b/html/ci2c_8h_a47d121773459b24568e5df4f81fbf905_icgraph.dot @@ -0,0 +1,14 @@ +digraph "I2C_slave_set_reg_size" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node80 [label="I2C_slave_set_reg_size",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node80 -> Node81 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node81 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#af93c2e35e06edcea492607b628d5ae1f",tooltip="Init an I2C slave structure for cMI2C communication. "]; + Node81 -> Node82 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node82 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node81 -> Node83 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node83 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node83 -> Node82 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c_8h_a47d121773459b24568e5df4f81fbf905_icgraph.md5 b/html/ci2c_8h_a47d121773459b24568e5df4f81fbf905_icgraph.md5 new file mode 100644 index 0000000..7c74444 --- /dev/null +++ b/html/ci2c_8h_a47d121773459b24568e5df4f81fbf905_icgraph.md5 @@ -0,0 +1 @@ +dc9718f9a2763aae34a1c854024d5f35 \ No newline at end of file diff --git a/html/ci2c_8h_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.dot b/html/ci2c_8h_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.dot new file mode 100644 index 0000000..1a06b36 --- /dev/null +++ b/html/ci2c_8h_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.dot @@ -0,0 +1,21 @@ +digraph "I2C_stop" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node106 [label="I2C_stop",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node106 -> Node107 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node107 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a21e16cd4ec558cb48d7df75c546027a2",tooltip="This procedure calls appropriate functions to perform a proper send transaction on I2C bus..."]; + Node107 -> Node108 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node108 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node106 -> Node109 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node109 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node109 -> Node108 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node106 -> Node110 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node110 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node110 -> Node108 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node106 -> Node111 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node111 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node111 -> Node112 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node112 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8h_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.md5 b/html/ci2c_8h_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.md5 new file mode 100644 index 0000000..5fb0c83 --- /dev/null +++ b/html/ci2c_8h_a53eb804c24e8e86717f7aaebdab1aa53_icgraph.md5 @@ -0,0 +1 @@ +2fcef6f121d66efe8c4740645712c394 \ No newline at end of file diff --git a/html/ci2c_8h_a74e1381b536811b202d087471723fb9e_icgraph.dot b/html/ci2c_8h_a74e1381b536811b202d087471723fb9e_icgraph.dot new file mode 100644 index 0000000..bff927a --- /dev/null +++ b/html/ci2c_8h_a74e1381b536811b202d087471723fb9e_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_uninit" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node114 [label="I2C_uninit",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node114 -> Node115 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node115 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; +} diff --git a/html/ci2c_8h_a74e1381b536811b202d087471723fb9e_icgraph.md5 b/html/ci2c_8h_a74e1381b536811b202d087471723fb9e_icgraph.md5 new file mode 100644 index 0000000..d5e55cc --- /dev/null +++ b/html/ci2c_8h_a74e1381b536811b202d087471723fb9e_icgraph.md5 @@ -0,0 +1 @@ +30c81a6b2d5cbcd603ce91c29caa7675 \ No newline at end of file diff --git a/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.dot b/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.dot new file mode 100644 index 0000000..b613c36 --- /dev/null +++ b/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_set_speed" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node43 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node43 -> Node44 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node44 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a2c25bc5fdf909b7d45d722970eb04d82",tooltip="I2C bus reset (Release SCL and SDA lines and re-enable module) "]; +} diff --git a/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.md5 b/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.md5 new file mode 100644 index 0000000..09b59f5 --- /dev/null +++ b/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_cgraph.md5 @@ -0,0 +1 @@ +9d61251805214a4da52de3853af6a827 \ No newline at end of file diff --git a/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.dot b/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.dot new file mode 100644 index 0000000..791adab --- /dev/null +++ b/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.dot @@ -0,0 +1,14 @@ +digraph "I2C_set_speed" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node45 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node45 -> Node46 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node46 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a99283d800332d700deed19f5a37e61d8",tooltip="Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)..."]; + Node46 -> Node47 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node47 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node46 -> Node48 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node48 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; + Node45 -> Node48 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.md5 b/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.md5 new file mode 100644 index 0000000..f09795a --- /dev/null +++ b/html/ci2c_8h_a7c5b1857ae28ade8959a8a06f500ecde_icgraph.md5 @@ -0,0 +1 @@ +9e9bd8d459e535c7a9b73a1311f7f02f \ No newline at end of file diff --git a/html/ci2c_8h_a83adef951ffd9fb5105216f6ee464bb9_icgraph.dot b/html/ci2c_8h_a83adef951ffd9fb5105216f6ee464bb9_icgraph.dot new file mode 100644 index 0000000..b77eebf --- /dev/null +++ b/html/ci2c_8h_a83adef951ffd9fb5105216f6ee464bb9_icgraph.dot @@ -0,0 +1,13 @@ +digraph "I2C_write" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node125 [label="I2C_write",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node125 -> Node126 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node126 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__write_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; + Node125 -> Node127 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node127 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; + Node125 -> Node128 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node128 [label="I2C_write_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#add4eec772922da692bdbb84c354a3fa0",tooltip="This inline is a wrapper to I2C_write in case of contigous operations. "]; +} diff --git a/html/ci2c_8h_a83adef951ffd9fb5105216f6ee464bb9_icgraph.md5 b/html/ci2c_8h_a83adef951ffd9fb5105216f6ee464bb9_icgraph.md5 new file mode 100644 index 0000000..df006d3 --- /dev/null +++ b/html/ci2c_8h_a83adef951ffd9fb5105216f6ee464bb9_icgraph.md5 @@ -0,0 +1 @@ +bf599c632afe0bd64f1e3c5f40bc77e0 \ No newline at end of file diff --git a/html/ci2c_8h_a8d6d7eb118ea1505df039075a00c267b_icgraph.dot b/html/ci2c_8h_a8d6d7eb118ea1505df039075a00c267b_icgraph.dot new file mode 100644 index 0000000..496f7db --- /dev/null +++ b/html/ci2c_8h_a8d6d7eb118ea1505df039075a00c267b_icgraph.dot @@ -0,0 +1,18 @@ +digraph "I2C_rd8" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node10 [label="I2C_rd8",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node10 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node11 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node10 -> Node13 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node13 -> Node12 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 -> Node14 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node14 -> Node15 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8h_a8d6d7eb118ea1505df039075a00c267b_icgraph.md5 b/html/ci2c_8h_a8d6d7eb118ea1505df039075a00c267b_icgraph.md5 new file mode 100644 index 0000000..d9f685f --- /dev/null +++ b/html/ci2c_8h_a8d6d7eb118ea1505df039075a00c267b_icgraph.md5 @@ -0,0 +1 @@ +60dba050a4037f73aee33ef22ea2a48d \ No newline at end of file diff --git a/html/ci2c_8h_a8d88530833d3685d52ea5486b1316427_icgraph.dot b/html/ci2c_8h_a8d88530833d3685d52ea5486b1316427_icgraph.dot new file mode 100644 index 0000000..67ff7d5 --- /dev/null +++ b/html/ci2c_8h_a8d88530833d3685d52ea5486b1316427_icgraph.dot @@ -0,0 +1,15 @@ +digraph "I2C_slave_set_rw_func" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node85 [label="I2C_slave_set_rw_func",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node85 -> Node86 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node86 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node85 -> Node87 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node87 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#af93c2e35e06edcea492607b628d5ae1f",tooltip="Init an I2C slave structure for cMI2C communication. "]; + Node87 -> Node86 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node87 -> Node88 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node88 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node88 -> Node86 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c_8h_a8d88530833d3685d52ea5486b1316427_icgraph.md5 b/html/ci2c_8h_a8d88530833d3685d52ea5486b1316427_icgraph.md5 new file mode 100644 index 0000000..d79692a --- /dev/null +++ b/html/ci2c_8h_a8d88530833d3685d52ea5486b1316427_icgraph.md5 @@ -0,0 +1 @@ +68aae46ebf8c07d9c76f0c1656244c69 \ No newline at end of file diff --git a/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_cgraph.dot b/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_cgraph.dot new file mode 100644 index 0000000..cd56bf0 --- /dev/null +++ b/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_cgraph.dot @@ -0,0 +1,11 @@ +digraph "I2C_init" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node0 -> Node1 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a7c5b1857ae28ade8959a8a06f500ecde",tooltip="Change I2C frequency. "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a2c25bc5fdf909b7d45d722970eb04d82",tooltip="I2C bus reset (Release SCL and SDA lines and re-enable module) "]; +} diff --git a/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_cgraph.md5 b/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_cgraph.md5 new file mode 100644 index 0000000..3554eea --- /dev/null +++ b/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_cgraph.md5 @@ -0,0 +1 @@ +2a0e10dd1a68bd92fb38b08b6aaddc60 \ No newline at end of file diff --git a/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_icgraph.dot b/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_icgraph.dot new file mode 100644 index 0000000..97bd98d --- /dev/null +++ b/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_icgraph.dot @@ -0,0 +1,11 @@ +digraph "I2C_init" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node3 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node3 -> Node4 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node3 -> Node5 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; +} diff --git a/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_icgraph.md5 b/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_icgraph.md5 new file mode 100644 index 0000000..392d9dc --- /dev/null +++ b/html/ci2c_8h_a99283d800332d700deed19f5a37e61d8_icgraph.md5 @@ -0,0 +1 @@ +8c6c5ebeef1cd9f063fbbcb0abd7af27 \ No newline at end of file diff --git a/html/ci2c_8h_aaadadbb29f315f2030223665f1988188_icgraph.dot b/html/ci2c_8h_aaadadbb29f315f2030223665f1988188_icgraph.dot new file mode 100644 index 0000000..d7f48c8 --- /dev/null +++ b/html/ci2c_8h_aaadadbb29f315f2030223665f1988188_icgraph.dot @@ -0,0 +1,21 @@ +digraph "I2C_start" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node98 [label="I2C_start",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node98 -> Node99 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node99 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a21e16cd4ec558cb48d7df75c546027a2",tooltip="This procedure calls appropriate functions to perform a proper send transaction on I2C bus..."]; + Node99 -> Node100 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node100 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node98 -> Node101 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node101 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node101 -> Node100 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node98 -> Node102 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node102 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node102 -> Node100 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node98 -> Node103 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node103 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node103 -> Node104 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node104 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8h_aaadadbb29f315f2030223665f1988188_icgraph.md5 b/html/ci2c_8h_aaadadbb29f315f2030223665f1988188_icgraph.md5 new file mode 100644 index 0000000..d0b3c46 --- /dev/null +++ b/html/ci2c_8h_aaadadbb29f315f2030223665f1988188_icgraph.md5 @@ -0,0 +1 @@ +c73636ee09460856cadc0847aafd398a \ No newline at end of file diff --git a/html/ci2c_8h_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.dot b/html/ci2c_8h_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.dot new file mode 100644 index 0000000..b310c61 --- /dev/null +++ b/html/ci2c_8h_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.dot @@ -0,0 +1,21 @@ +digraph "I2C_sndAddr" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node90 [label="I2C_sndAddr",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node90 -> Node91 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node91 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a21e16cd4ec558cb48d7df75c546027a2",tooltip="This procedure calls appropriate functions to perform a proper send transaction on I2C bus..."]; + Node91 -> Node92 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node92 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node90 -> Node93 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node93 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node93 -> Node92 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node90 -> Node94 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node94 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node94 -> Node92 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node90 -> Node95 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node95 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node95 -> Node96 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node96 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8h_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.md5 b/html/ci2c_8h_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.md5 new file mode 100644 index 0000000..5b31cc6 --- /dev/null +++ b/html/ci2c_8h_aae536cceb33d07e71af9d459a2fc6dc8_icgraph.md5 @@ -0,0 +1 @@ +1f1ef4d9d54fff53038d5464788b3b19 \ No newline at end of file diff --git a/html/ci2c_8h_ab20db75dfa22dc47df506cab3bd11c60_icgraph.dot b/html/ci2c_8h_ab20db75dfa22dc47df506cab3bd11c60_icgraph.dot new file mode 100644 index 0000000..5f65f48 --- /dev/null +++ b/html/ci2c_8h_ab20db75dfa22dc47df506cab3bd11c60_icgraph.dot @@ -0,0 +1,21 @@ +digraph "I2C_wr8" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node117 [label="I2C_wr8",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node117 -> Node118 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node118 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a21e16cd4ec558cb48d7df75c546027a2",tooltip="This procedure calls appropriate functions to perform a proper send transaction on I2C bus..."]; + Node118 -> Node119 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node119 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node117 -> Node120 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node120 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node120 -> Node119 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node117 -> Node121 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node121 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node121 -> Node119 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node117 -> Node122 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node122 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node122 -> Node123 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node123 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8h_ab20db75dfa22dc47df506cab3bd11c60_icgraph.md5 b/html/ci2c_8h_ab20db75dfa22dc47df506cab3bd11c60_icgraph.md5 new file mode 100644 index 0000000..8c7b0cf --- /dev/null +++ b/html/ci2c_8h_ab20db75dfa22dc47df506cab3bd11c60_icgraph.md5 @@ -0,0 +1 @@ +b0797d4a3f9aeb6a2f28e41da9d96417 \ No newline at end of file diff --git a/html/ci2c_8h_ac370df06df51c68217eafcee96e5a3e0_icgraph.dot b/html/ci2c_8h_ac370df06df51c68217eafcee96e5a3e0_icgraph.dot new file mode 100644 index 0000000..aa7a8e3 --- /dev/null +++ b/html/ci2c_8h_ac370df06df51c68217eafcee96e5a3e0_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_is_busy" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node7 [label="I2C_is_busy",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node7 -> Node8 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; +} diff --git a/html/ci2c_8h_ac370df06df51c68217eafcee96e5a3e0_icgraph.md5 b/html/ci2c_8h_ac370df06df51c68217eafcee96e5a3e0_icgraph.md5 new file mode 100644 index 0000000..ee53be6 --- /dev/null +++ b/html/ci2c_8h_ac370df06df51c68217eafcee96e5a3e0_icgraph.md5 @@ -0,0 +1 @@ +45362ed63d2b78b0b3b675022da0e49f \ No newline at end of file diff --git a/html/ci2c_8h_acd209174a3b5ab213131a93633c19a38_icgraph.dot b/html/ci2c_8h_acd209174a3b5ab213131a93633c19a38_icgraph.dot new file mode 100644 index 0000000..4ead92d --- /dev/null +++ b/html/ci2c_8h_acd209174a3b5ab213131a93633c19a38_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_set_timeout" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node50 [label="I2C_set_timeout",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node50 -> Node51 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node51 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; +} diff --git a/html/ci2c_8h_acd209174a3b5ab213131a93633c19a38_icgraph.md5 b/html/ci2c_8h_acd209174a3b5ab213131a93633c19a38_icgraph.md5 new file mode 100644 index 0000000..7a56646 --- /dev/null +++ b/html/ci2c_8h_acd209174a3b5ab213131a93633c19a38_icgraph.md5 @@ -0,0 +1 @@ +f7b256ae22f21f91b55e8245f426146d \ No newline at end of file diff --git a/html/ci2c_8h_ad0eed3132d3284d6f921d13488721226_icgraph.dot b/html/ci2c_8h_ad0eed3132d3284d6f921d13488721226_icgraph.dot new file mode 100644 index 0000000..53aa4c3 --- /dev/null +++ b/html/ci2c_8h_ad0eed3132d3284d6f921d13488721226_icgraph.dot @@ -0,0 +1,14 @@ +digraph "I2C_slave_set_addr" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node75 [label="I2C_slave_set_addr",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node75 -> Node76 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node76 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#af93c2e35e06edcea492607b628d5ae1f",tooltip="Init an I2C slave structure for cMI2C communication. "]; + Node76 -> Node77 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node77 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node76 -> Node78 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node78 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node78 -> Node77 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c_8h_ad0eed3132d3284d6f921d13488721226_icgraph.md5 b/html/ci2c_8h_ad0eed3132d3284d6f921d13488721226_icgraph.md5 new file mode 100644 index 0000000..a2e5e46 --- /dev/null +++ b/html/ci2c_8h_ad0eed3132d3284d6f921d13488721226_icgraph.md5 @@ -0,0 +1 @@ +5b1020859f0c6cae0e5058649e76bae6 \ No newline at end of file diff --git a/html/ci2c_8h_ad5e4a006f6cea5844a810fab30b40f87_icgraph.dot b/html/ci2c_8h_ad5e4a006f6cea5844a810fab30b40f87_icgraph.dot new file mode 100644 index 0000000..009b2f5 --- /dev/null +++ b/html/ci2c_8h_ad5e4a006f6cea5844a810fab30b40f87_icgraph.dot @@ -0,0 +1,15 @@ +digraph "I2C_read" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node17 [label="I2C_read",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node17 -> Node18 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; + Node17 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="I2C_write_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#add4eec772922da692bdbb84c354a3fa0",tooltip="This inline is a wrapper to I2C_write in case of contigous operations. "]; + Node17 -> Node20 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node20 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node20 -> Node21 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8h_ad5e4a006f6cea5844a810fab30b40f87_icgraph.md5 b/html/ci2c_8h_ad5e4a006f6cea5844a810fab30b40f87_icgraph.md5 new file mode 100644 index 0000000..94adb65 --- /dev/null +++ b/html/ci2c_8h_ad5e4a006f6cea5844a810fab30b40f87_icgraph.md5 @@ -0,0 +1 @@ +b9bf215aabbb43a5ba567024e3687b5d \ No newline at end of file diff --git a/html/ci2c_8h_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.dot b/html/ci2c_8h_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.dot new file mode 100644 index 0000000..a407f24 --- /dev/null +++ b/html/ci2c_8h_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_set_retries" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node41 [label="I2C_set_retries",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node41 -> Node42 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node42 [label="I2C_slave_get_reg_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0",tooltip="Get I2C current register address (addr may passed this way in procedures if contigous accesses) ..."]; +} diff --git a/html/ci2c_8h_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.md5 b/html/ci2c_8h_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.md5 new file mode 100644 index 0000000..7195cd3 --- /dev/null +++ b/html/ci2c_8h_ad74e31ebd08a9ddef57f571783f37cc7_icgraph.md5 @@ -0,0 +1 @@ +391265681fcaa1957e000940519c3aec \ No newline at end of file diff --git a/html/ci2c_8h_add4eec772922da692bdbb84c354a3fa0_cgraph.dot b/html/ci2c_8h_add4eec772922da692bdbb84c354a3fa0_cgraph.dot new file mode 100644 index 0000000..08064d6 --- /dev/null +++ b/html/ci2c_8h_add4eec772922da692bdbb84c354a3fa0_cgraph.dot @@ -0,0 +1,11 @@ +digraph "I2C_write_next" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node129 [label="I2C_write_next",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node129 -> Node130 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node130 [label="I2C_write",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a83adef951ffd9fb5105216f6ee464bb9",tooltip="This function writes the provided data to the address specified. "]; + Node129 -> Node131 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node131 [label="I2C_read",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#ad5e4a006f6cea5844a810fab30b40f87",tooltip="This function reads data from the address specified and stores this data in the area provided by the ..."]; +} diff --git a/html/ci2c_8h_add4eec772922da692bdbb84c354a3fa0_cgraph.md5 b/html/ci2c_8h_add4eec772922da692bdbb84c354a3fa0_cgraph.md5 new file mode 100644 index 0000000..bedeb23 --- /dev/null +++ b/html/ci2c_8h_add4eec772922da692bdbb84c354a3fa0_cgraph.md5 @@ -0,0 +1 @@ +a10fe90f8a892707a3d14f689ba97e67 \ No newline at end of file diff --git a/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_cgraph.dot b/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_cgraph.dot new file mode 100644 index 0000000..7a5279f --- /dev/null +++ b/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_cgraph.dot @@ -0,0 +1,13 @@ +digraph "I2C_slave_init" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node67 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node67 -> Node68 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node68 [label="I2C_slave_set_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ad0eed3132d3284d6f921d13488721226",tooltip="Change I2C slave address. "]; + Node67 -> Node69 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node69 [label="I2C_slave_set_reg_size",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a47d121773459b24568e5df4f81fbf905",tooltip="Change I2C registers map size (for access) "]; + Node67 -> Node70 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node70 [label="I2C_slave_set_rw_func",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a8d88530833d3685d52ea5486b1316427",tooltip="Redirect slave I2C read/write function (if needed for advanced use) "]; +} diff --git a/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_cgraph.md5 b/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_cgraph.md5 new file mode 100644 index 0000000..0434015 --- /dev/null +++ b/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_cgraph.md5 @@ -0,0 +1 @@ +38d099873c1f1179e1e46bd6ff005c27 \ No newline at end of file diff --git a/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_icgraph.dot b/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_icgraph.dot new file mode 100644 index 0000000..541a8ac --- /dev/null +++ b/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_icgraph.dot @@ -0,0 +1,12 @@ +digraph "I2C_slave_init" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node71 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node71 -> Node72 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node72 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; + Node71 -> Node73 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node73 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node73 -> Node72 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_icgraph.md5 b/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_icgraph.md5 new file mode 100644 index 0000000..6ac15a0 --- /dev/null +++ b/html/ci2c_8h_af93c2e35e06edcea492607b628d5ae1f_icgraph.md5 @@ -0,0 +1 @@ +3822d854069decf85a67150df26d1896 \ No newline at end of file diff --git a/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_cgraph.dot b/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_cgraph.dot new file mode 100644 index 0000000..00b0898 --- /dev/null +++ b/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_cgraph.dot @@ -0,0 +1,21 @@ +digraph "I2C_read_next" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node22 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node22 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="I2C_read",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#ad5e4a006f6cea5844a810fab30b40f87",tooltip="This function reads data from the address specified and stores this data in the area provided by the ..."]; + Node22 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a2c25bc5fdf909b7d45d722970eb04d82",tooltip="I2C bus reset (Release SCL and SDA lines and re-enable module) "]; + Node22 -> Node25 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node25 [label="I2C_start",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#aaadadbb29f315f2030223665f1988188",tooltip="Send start condition. "]; + Node22 -> Node26 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="I2C_stop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a53eb804c24e8e86717f7aaebdab1aa53",tooltip="Send stop condition. "]; + Node22 -> Node27 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node27 [label="I2C_wr8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#ab20db75dfa22dc47df506cab3bd11c60",tooltip="Send byte on bus. "]; + Node22 -> Node28 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="I2C_rd8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a8d6d7eb118ea1505df039075a00c267b",tooltip="Receive byte from bus. "]; + Node22 -> Node29 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node29 [label="I2C_sndAddr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#aae536cceb33d07e71af9d459a2fc6dc8",tooltip="Send I2C address. "]; +} diff --git a/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_cgraph.md5 b/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_cgraph.md5 new file mode 100644 index 0000000..998d3b6 --- /dev/null +++ b/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_cgraph.md5 @@ -0,0 +1 @@ +73910ee620b935a319621b8d932f9264 \ No newline at end of file diff --git a/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_icgraph.dot b/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_icgraph.dot new file mode 100644 index 0000000..564a357 --- /dev/null +++ b/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_read_next" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node30 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node30 -> Node31 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node31 [label="loop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__master__read_8ino.html#afe461d27b9c48d5921c00d521181f12f"]; +} diff --git a/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_icgraph.md5 b/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_icgraph.md5 new file mode 100644 index 0000000..7a6595a --- /dev/null +++ b/html/ci2c_8h_afc15fc625892e1e50e831d7934073299_icgraph.md5 @@ -0,0 +1 @@ +622d707e066589e5b38293eebd8b5a67 \ No newline at end of file diff --git a/html/ci2c_8h_source.html b/html/ci2c_8h_source.html new file mode 100644 index 0000000..6854592 --- /dev/null +++ b/html/ci2c_8h_source.html @@ -0,0 +1,116 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): src/ci2c.h Source File + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+
+
ci2c.h
+
+
+Go to the documentation of this file.
1 
7 /****************************************************************/
8 #ifndef __CI2C_H__
9  #define __CI2C_H__
10 /****************************************************************/
11 
12 #if defined(DOXY)
13  // Define gcc __attribute__ as void when Doxygen runs
14  #define __attribute__(a)
15 #endif
16 
17 #if (ARDUINO >= 100)
18  #include <Arduino.h>
19 #else
20  #include <WProgram.h>
21 #endif
22 
23 #include <inttypes.h>
24 #include <stdbool.h>
25 
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 #define DEF_CI2C_NB_RETRIES 3
32 #define DEF_CI2C_TIMEOUT 100
33 
34 
39 typedef enum __attribute__((__packed__)) enI2C_RW {
40  I2C_WRITE = 0,
42 } I2C_RW;
43 
44 
49 typedef enum __attribute__((__packed__)) enI2C_SPEED {
50  I2C_STD = 100,
51  I2C_FM = 400,
52  I2C_FMP = 1000,
53  I2C_HS = 3400
54 } I2C_SPEED;
55 
56 
61 typedef enum __attribute__((__packed__)) enI2C_STATUS {
62  I2C_OK = 0x00,
65 } I2C_STATUS;
66 
71 typedef enum __attribute__((__packed__)) enI2C_INT_SIZE {
72  I2C_NO_REG = 0x00,
75 } I2C_INT_SIZE;
76 
77 
78 typedef bool (*ci2c_fct_ptr) (void*, const uint16_t, uint8_t*, const uint16_t);
79 
80 
85 typedef struct __attribute__((__packed__)) StructI2CSlave {
89  struct {
90  uint8_t addr;
91  I2C_INT_SIZE reg_size;
94  } cfg;
95  uint16_t reg_addr;
96  I2C_STATUS status;
97 } I2C_SLAVE;
98 
99 
100 /***************************/
101 /*** I2C SLAVE FUNCTIONS ***/
102 /***************************/
103 
110 void I2C_slave_init(I2C_SLAVE * slave, const uint8_t sl_addr, const I2C_INT_SIZE reg_sz);
111 
118 void I2C_slave_set_rw_func(I2C_SLAVE * slave, const ci2c_fct_ptr func, const I2C_RW rw);
119 
125 bool I2C_slave_set_addr(I2C_SLAVE * slave, const uint8_t sl_addr);
126 
132 bool I2C_slave_set_reg_size(I2C_SLAVE * slave, const I2C_INT_SIZE reg_sz);
133 
139 inline uint8_t __attribute__((__always_inline__)) I2C_slave_get_addr(const I2C_SLAVE * slave) {
140  return slave->cfg.addr; }
141 
147 inline bool __attribute__((__always_inline__)) I2C_slave_get_reg_size(const I2C_SLAVE * slave) {
148  return slave->cfg.reg_size; }
149 
155 inline uint16_t __attribute__((__always_inline__)) I2C_slave_get_reg_addr(const I2C_SLAVE * slave) {
156  return slave->reg_addr; }
157 
158 
159 /*************************/
160 /*** I2C BUS FUNCTIONS ***/
161 /*************************/
162 
168 void I2C_init(const uint16_t speed);
169 
173 void I2C_uninit();
174 
179 uint16_t I2C_set_speed(const uint16_t speed);
180 
185 uint16_t I2C_set_timeout(const uint16_t timeout);
186 
191 uint8_t I2C_set_retries(const uint8_t retries);
192 
196 bool I2C_is_busy(void);
197 
205 I2C_STATUS I2C_write(I2C_SLAVE * slave, const uint16_t reg_addr, uint8_t * data, const uint16_t bytes);
206 
214 inline I2C_STATUS __attribute__((__always_inline__)) I2C_write_next(I2C_SLAVE * slave, uint8_t * data, const uint16_t bytes) {
215  return I2C_write(slave, slave->reg_addr, data, bytes); }
216 
225 I2C_STATUS I2C_read(I2C_SLAVE * slave, const uint16_t reg_addr, uint8_t * data, const uint16_t bytes);
226 
234 inline I2C_STATUS __attribute__((__always_inline__)) I2C_read_next(I2C_SLAVE * slave, uint8_t * data, const uint16_t bytes) {
235  return I2C_read(slave, slave->reg_addr, data, bytes); }
236 
237 
238 /***********************************/
239 /*** cI2C LOW LEVEL FUNCTIONS ***/
240 /*** THAT MAY BE USEFUL FOR DVPT ***/
241 /***********************************/
245 void I2C_reset(void);
246 
250 bool I2C_start(void);
251 
255 bool I2C_stop(void);
256 
261 bool I2C_wr8(const uint8_t dat);
262 
267 uint8_t I2C_rd8(const bool ack);
268 
274 bool I2C_sndAddr(I2C_SLAVE * slave, const I2C_RW rw);
275 
276 
277 #ifdef __cplusplus
278 }
279 #endif
280 
281 #endif
struct @0::@1 cfg
+
#define __attribute__(a)
GCC attribute (ignored by Doxygen)
Definition: ci2c.h:14
+
enum enI2C_SPEED I2C_SPEED
+
bool I2C_slave_get_reg_size(const I2C_SLAVE *slave)
Get I2C register map size (for access)
Definition: ci2c.h:147
+
I2C OK.
Definition: ci2c.h:62
+
void I2C_slave_init(I2C_SLAVE *slave, const uint8_t sl_addr, const I2C_INT_SIZE reg_sz)
Init an I2C slave structure for cMI2C communication.
Definition: ci2c.c:61
+
struct StructI2CSlave I2C_SLAVE
+
uint8_t I2C_slave_get_addr(const I2C_SLAVE *slave)
Get I2C slave address.
Definition: ci2c.h:139
+
uint16_t I2C_slave_get_reg_addr(const I2C_SLAVE *slave)
Get I2C current register address (addr may passed this way in procedures if contigous accesses) ...
Definition: ci2c.h:155
+
uint8_t addr
Slave address.
Definition: ci2c.h:90
+
I2C Bus busy.
Definition: ci2c.h:63
+
I2C rw bit (write)
Definition: ci2c.h:40
+
uint16_t reg_addr
Internal current register address.
Definition: ci2c.h:95
+
ci2c_fct_ptr rd
Slave read function pointer.
Definition: ci2c.h:93
+
I2C Standard (100KHz)
Definition: ci2c.h:50
+
bool I2C_slave_set_reg_size(I2C_SLAVE *slave, const I2C_INT_SIZE reg_sz)
Change I2C registers map size (for access)
Definition: ci2c.c:100
+
Slave internal address registers space is 8bits wide.
Definition: ci2c.h:73
+
struct StructI2CSlave::@2 cfg
+
uint16_t timeout
i2c timeout (ms)
Definition: ci2c.c:43
+
bool I2C_start(void)
Send start condition.
Definition: ci2c.c:283
+
I2C rw bit (read)
Definition: ci2c.h:41
+
I2C_STATUS I2C_read(I2C_SLAVE *slave, const uint16_t reg_addr, uint8_t *data, const uint16_t bytes)
This function reads data from the address specified and stores this data in the area provided by the ...
Definition: ci2c.c:262
+
enI2C_STATUS
I2C slave status.
Definition: ci2c.h:61
+
enI2C_SPEED
I2C bus speed.
Definition: ci2c.h:49
+
enum enI2C_STATUS I2C_STATUS
+
uint8_t I2C_rd8(const bool ack)
Receive byte from bus.
Definition: ci2c.c:340
+
uint16_t I2C_set_speed(const uint16_t speed)
Change I2C frequency.
Definition: ci2c.c:168
+
uint8_t I2C_set_retries(const uint8_t retries)
Change I2C message retries (in case of failure)
Definition: ci2c.c:199
+
Internal address registers not applicable for slave.
Definition: ci2c.h:72
+
void I2C_init(const uint16_t speed)
Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)...
Definition: ci2c.c:122
+
I2C_STATUS I2C_read_next(I2C_SLAVE *slave, uint8_t *data, const uint16_t bytes)
This inline is a wrapper to I2C_read in case of contigous operations.
Definition: ci2c.h:234
+
uint16_t I2C_set_timeout(const uint16_t timeout)
Change I2C ack timeout.
Definition: ci2c.c:188
+
void I2C_slave_set_rw_func(I2C_SLAVE *slave, const ci2c_fct_ptr func, const I2C_RW rw)
Redirect slave I2C read/write function (if needed for advanced use)
Definition: ci2c.c:77
+
bool(* ci2c_fct_ptr)(void *, const uint16_t, uint8_t *, const uint16_t)
i2c read/write function pointer typedef
Definition: ci2c.h:78
+
I2C_STATUS I2C_write_next(I2C_SLAVE *slave, uint8_t *data, const uint16_t bytes)
This inline is a wrapper to I2C_write in case of contigous operations.
Definition: ci2c.h:214
+
bool I2C_sndAddr(I2C_SLAVE *slave, const I2C_RW rw)
Send I2C address.
Definition: ci2c.c:360
+
void I2C_uninit()
Disable I2c module on arduino board (releasing pull-ups, and TWI control)
Definition: ci2c.c:139
+
I2C Not Acknowledge.
Definition: ci2c.h:64
+
enum enI2C_RW I2C_RW
+
ci2c slave config and control parameters
Definition: ci2c.h:85
+
I2C_STATUS status
Status of the last communications.
Definition: ci2c.h:96
+
I2C_INT_SIZE reg_size
Slave internal registers size.
Definition: ci2c.h:91
+
bool I2C_stop(void)
Send stop condition.
Definition: ci2c.c:301
+
ci2c_fct_ptr wr
Slave write function pointer.
Definition: ci2c.h:92
+
enum enI2C_INT_SIZE I2C_INT_SIZE
+
I2C High Speed (3.4MHz): will set speed to Fast Mode (up to 400KHz on avr)
Definition: ci2c.h:53
+
void I2C_reset(void)
I2C bus reset (Release SCL and SDA lines and re-enable module)
Definition: ci2c.c:157
+
I2C Fast mode + (1MHz): will set speed to Fast Mode (up to 400KHz on avr)
Definition: ci2c.h:52
+
I2C Fast Mode (400KHz)
Definition: ci2c.h:51
+
bool I2C_is_busy(void)
Get I2C busy status.
Definition: ci2c.c:209
+
I2C_SPEED speed
i2c bus speed
Definition: ci2c.c:41
+
bool I2C_wr8(const uint8_t dat)
Send byte on bus.
Definition: ci2c.c:317
+
Slave internal address registers space is 16bits wide.
Definition: ci2c.h:74
+
enI2C_RW
I2C RW bit enumeration.
Definition: ci2c.h:39
+
enI2C_INT_SIZE
I2C slave internal address registers size.
Definition: ci2c.h:71
+
uint8_t retries
i2c message retries when fail
Definition: ci2c.c:42
+
bool I2C_slave_set_addr(I2C_SLAVE *slave, const uint8_t sl_addr)
Change I2C slave address.
Definition: ci2c.c:88
+
I2C_STATUS I2C_write(I2C_SLAVE *slave, const uint16_t reg_addr, uint8_t *data, const uint16_t bytes)
This function writes the provided data to the address specified.
Definition: ci2c.c:251
+
+ + + + diff --git a/html/ci2c__advanced_8ino.html b/html/ci2c__advanced_8ino.html new file mode 100644 index 0000000..d326636 --- /dev/null +++ b/html/ci2c__advanced_8ino.html @@ -0,0 +1,346 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): examples/ci2c_advanced/ci2c_advanced.ino File Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+ +
+
ci2c_advanced.ino File Reference
+
+
+
#include <ci2c.h>
+
+Include dependency graph for ci2c_advanced.ino:
+
+
+ +
+
+ + + + + + + + + + + + + + +

+Functions

void setup ()
 
void loop ()
 
bool I2C_wr_advanced (I2C_SLAVE *slave, const uint16_t reg_addr, uint8_t *data, const uint16_t bytes)
 This procedure calls appropriate functions to perform a proper send transaction on I2C bus. More...
 
bool I2C_rd_advanced (I2C_SLAVE *slave, const uint16_t reg_addr, uint8_t *data, const uint16_t bytes)
 This procedure calls appropriate functions to perform a proper receive transaction on I2C bus. More...
 
bool I2C_get_chip_id (I2C_SLAVE *slave, uint8_t *data)
 This procedure calls appropriate functions to get chip ID of FUJITSU devices. More...
 
+ + + + + +

+Variables

const uint8_t blank = 0xEE
 
I2C_SLAVE FRAM
 
+

Function Documentation

+ +

◆ I2C_get_chip_id()

+ +
+
+ + + + + + + + + + + + + + + + + + +
bool I2C_get_chip_id (I2C_SLAVEslave,
uint8_t * data 
)
+
+ +

This procedure calls appropriate functions to get chip ID of FUJITSU devices.

+
Parameters
+ + + +
[in,out]slave- pointer to the I2C slave structure
[in,out]data- pointer to the first byte of a block of data to read
+
+
+
Returns
Boolean indicating success/fail of read attempt
+
+Here is the call graph for this function:
+
+
+ +
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_rd_advanced()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool I2C_rd_advanced (I2C_SLAVEslave,
const uint16_t reg_addr,
uint8_t * data,
const uint16_t bytes 
)
+
+ +

This procedure calls appropriate functions to perform a proper receive transaction on I2C bus.

+
Parameters
+ + + + + +
[in,out]slave- pointer to the I2C slave structure
[in]reg_addr- register address in register map
[in,out]data- pointer to the first byte of a block of data to read
[in]bytes- indicates how many bytes of data to read
+
+
+
Returns
Boolean indicating success/fail of read attempt
+
+Here is the call graph for this function:
+
+
+ +
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ I2C_wr_advanced()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
bool I2C_wr_advanced (I2C_SLAVEslave,
const uint16_t reg_addr,
uint8_t * data,
const uint16_t bytes 
)
+
+ +

This procedure calls appropriate functions to perform a proper send transaction on I2C bus.

+
Parameters
+ + + + + +
[in,out]slave- pointer to the I2C slave structure
[in]reg_addr- register address in register map
[in]data- pointer to the first byte of a block of data to write
[in]bytes- indicates how many bytes of data to write
+
+
+
Returns
Boolean indicating success/fail of write attempt
+
+Here is the call graph for this function:
+
+
+ +
+
+Here is the caller graph for this function:
+
+
+ +
+ +
+
+ +

◆ loop()

+ +
+
+ + + + + + + +
void loop ()
+
+
+Here is the call graph for this function:
+
+
+ +
+ +
+
+ +

◆ setup()

+ +
+
+ + + + + + + +
void setup ()
+
+
+Here is the call graph for this function:
+
+
+ +
+ +
+
+

Variable Documentation

+ +

◆ blank

+ +
+
+ + + + +
const uint8_t blank = 0xEE
+
+ +
+
+ +

◆ FRAM

+ +
+
+ + + + +
I2C_SLAVE FRAM
+
+ +
+
+
+ + + + diff --git a/html/ci2c__advanced_8ino__incl.dot b/html/ci2c__advanced_8ino__incl.dot new file mode 100644 index 0000000..e8d20dd --- /dev/null +++ b/html/ci2c__advanced_8ino__incl.dot @@ -0,0 +1,14 @@ +digraph "examples/ci2c_advanced/ci2c_advanced.ino" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node0 [label="examples/ci2c_advanced\l/ci2c_advanced.ino",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node0 -> Node1 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="ci2c.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html",tooltip="arduino i2c in plain c declarations "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="Arduino.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="inttypes.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="stdbool.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; +} diff --git a/html/ci2c__advanced_8ino__incl.md5 b/html/ci2c__advanced_8ino__incl.md5 new file mode 100644 index 0000000..cd88427 --- /dev/null +++ b/html/ci2c__advanced_8ino__incl.md5 @@ -0,0 +1 @@ +b1bb81e2665a9d677a3ed42f211195a5 \ No newline at end of file diff --git a/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_cgraph.dot b/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_cgraph.dot new file mode 100644 index 0000000..9d62006 --- /dev/null +++ b/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_cgraph.dot @@ -0,0 +1,15 @@ +digraph "I2C_wr_advanced" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node20 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node20 -> Node21 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node21 [label="I2C_start",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#aaadadbb29f315f2030223665f1988188",tooltip="Send start condition. "]; + Node20 -> Node22 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node22 [label="I2C_sndAddr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#aae536cceb33d07e71af9d459a2fc6dc8",tooltip="Send I2C address. "]; + Node20 -> Node23 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node23 [label="I2C_wr8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ab20db75dfa22dc47df506cab3bd11c60",tooltip="Send byte on bus. "]; + Node20 -> Node24 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node24 [label="I2C_stop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a53eb804c24e8e86717f7aaebdab1aa53",tooltip="Send stop condition. "]; +} diff --git a/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_cgraph.md5 b/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_cgraph.md5 new file mode 100644 index 0000000..8de0de4 --- /dev/null +++ b/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_cgraph.md5 @@ -0,0 +1 @@ +d82dc23143dea6bab9ecbe5000be5db9 \ No newline at end of file diff --git a/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_icgraph.dot b/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_icgraph.dot new file mode 100644 index 0000000..3f2ec13 --- /dev/null +++ b/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_wr_advanced" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node25 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node25 -> Node26 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node26 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; +} diff --git a/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_icgraph.md5 b/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_icgraph.md5 new file mode 100644 index 0000000..fa47c78 --- /dev/null +++ b/html/ci2c__advanced_8ino_a21e16cd4ec558cb48d7df75c546027a2_icgraph.md5 @@ -0,0 +1 @@ +671aaac6deb5735451f85565f4db91c6 \ No newline at end of file diff --git a/html/ci2c__advanced_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot b/html/ci2c__advanced_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot new file mode 100644 index 0000000..2554914 --- /dev/null +++ b/html/ci2c__advanced_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot @@ -0,0 +1,48 @@ +digraph "setup" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node30 [label="setup",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node30 -> Node31 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node31 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a99283d800332d700deed19f5a37e61d8",tooltip="Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)..."]; + Node31 -> Node32 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node32 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a7c5b1857ae28ade8959a8a06f500ecde",tooltip="Change I2C frequency. "]; + Node32 -> Node33 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node33 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a2c25bc5fdf909b7d45d722970eb04d82",tooltip="I2C bus reset (Release SCL and SDA lines and re-enable module) "]; + Node30 -> Node34 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node34 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#af93c2e35e06edcea492607b628d5ae1f",tooltip="Init an I2C slave structure for cMI2C communication. "]; + Node34 -> Node35 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node35 [label="I2C_slave_set_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ad0eed3132d3284d6f921d13488721226",tooltip="Change I2C slave address. "]; + Node34 -> Node36 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node36 [label="I2C_slave_set_reg_size",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a47d121773459b24568e5df4f81fbf905",tooltip="Change I2C registers map size (for access) "]; + Node34 -> Node37 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node37 [label="I2C_slave_set_rw_func",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a8d88530833d3685d52ea5486b1316427",tooltip="Redirect slave I2C read/write function (if needed for advanced use) "]; + Node30 -> Node37 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node30 -> Node38 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node38 [label="I2C_wr_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a21e16cd4ec558cb48d7df75c546027a2",tooltip="This procedure calls appropriate functions to perform a proper send transaction on I2C bus..."]; + Node38 -> Node39 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node39 [label="I2C_start",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#aaadadbb29f315f2030223665f1988188",tooltip="Send start condition. "]; + Node38 -> Node40 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node40 [label="I2C_sndAddr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#aae536cceb33d07e71af9d459a2fc6dc8",tooltip="Send I2C address. "]; + Node38 -> Node41 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node41 [label="I2C_wr8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ab20db75dfa22dc47df506cab3bd11c60",tooltip="Send byte on bus. "]; + Node38 -> Node42 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node42 [label="I2C_stop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a53eb804c24e8e86717f7aaebdab1aa53",tooltip="Send stop condition. "]; + Node30 -> Node43 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node43 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a5d82c84361ed35c102edb0f5e4f677d4",tooltip="This procedure calls appropriate functions to perform a proper receive transaction on I2C bus..."]; + Node43 -> Node39 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node43 -> Node40 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node43 -> Node41 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node43 -> Node44 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node44 [label="I2C_rd8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a8d6d7eb118ea1505df039075a00c267b",tooltip="Receive byte from bus. "]; + Node43 -> Node42 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node30 -> Node45 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node45 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#ad357f6e59cf5ec94f3ccaa70a20e1b11",tooltip="This procedure calls appropriate functions to get chip ID of FUJITSU devices. "]; + Node45 -> Node34 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node45 -> Node39 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node45 -> Node40 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node45 -> Node41 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node45 -> Node44 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node45 -> Node42 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; +} diff --git a/html/ci2c__advanced_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 b/html/ci2c__advanced_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 new file mode 100644 index 0000000..8c4aa6b --- /dev/null +++ b/html/ci2c__advanced_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 @@ -0,0 +1 @@ +22d9248d37f4af94c95db6f3054bd1bc \ No newline at end of file diff --git a/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_cgraph.dot b/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_cgraph.dot new file mode 100644 index 0000000..9ddd865 --- /dev/null +++ b/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_cgraph.dot @@ -0,0 +1,17 @@ +digraph "I2C_rd_advanced" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node12 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node12 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="I2C_start",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#aaadadbb29f315f2030223665f1988188",tooltip="Send start condition. "]; + Node12 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="I2C_sndAddr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#aae536cceb33d07e71af9d459a2fc6dc8",tooltip="Send I2C address. "]; + Node12 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="I2C_wr8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ab20db75dfa22dc47df506cab3bd11c60",tooltip="Send byte on bus. "]; + Node12 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="I2C_rd8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a8d6d7eb118ea1505df039075a00c267b",tooltip="Receive byte from bus. "]; + Node12 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="I2C_stop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a53eb804c24e8e86717f7aaebdab1aa53",tooltip="Send stop condition. "]; +} diff --git a/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_cgraph.md5 b/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_cgraph.md5 new file mode 100644 index 0000000..0687353 --- /dev/null +++ b/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_cgraph.md5 @@ -0,0 +1 @@ +f0493a810525e884bfae64f7a1d24d20 \ No newline at end of file diff --git a/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_icgraph.dot b/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_icgraph.dot new file mode 100644 index 0000000..24e8cb1 --- /dev/null +++ b/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_rd_advanced" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node18 [label="I2C_rd_advanced",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node18 -> Node19 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node19 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; +} diff --git a/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_icgraph.md5 b/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_icgraph.md5 new file mode 100644 index 0000000..a311889 --- /dev/null +++ b/html/ci2c__advanced_8ino_a5d82c84361ed35c102edb0f5e4f677d4_icgraph.md5 @@ -0,0 +1 @@ +05c740ee257048d6884b66d1e13d65d1 \ No newline at end of file diff --git a/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_cgraph.dot b/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_cgraph.dot new file mode 100644 index 0000000..7a69990 --- /dev/null +++ b/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_cgraph.dot @@ -0,0 +1,25 @@ +digraph "I2C_get_chip_id" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node0 -> Node1 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#af93c2e35e06edcea492607b628d5ae1f",tooltip="Init an I2C slave structure for cMI2C communication. "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="I2C_slave_set_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ad0eed3132d3284d6f921d13488721226",tooltip="Change I2C slave address. "]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="I2C_slave_set_reg_size",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a47d121773459b24568e5df4f81fbf905",tooltip="Change I2C registers map size (for access) "]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="I2C_slave_set_rw_func",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a8d88530833d3685d52ea5486b1316427",tooltip="Redirect slave I2C read/write function (if needed for advanced use) "]; + Node0 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="I2C_start",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#aaadadbb29f315f2030223665f1988188",tooltip="Send start condition. "]; + Node0 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="I2C_sndAddr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#aae536cceb33d07e71af9d459a2fc6dc8",tooltip="Send I2C address. "]; + Node0 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="I2C_wr8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ab20db75dfa22dc47df506cab3bd11c60",tooltip="Send byte on bus. "]; + Node0 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="I2C_rd8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a8d6d7eb118ea1505df039075a00c267b",tooltip="Receive byte from bus. "]; + Node0 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="I2C_stop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a53eb804c24e8e86717f7aaebdab1aa53",tooltip="Send stop condition. "]; +} diff --git a/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_cgraph.md5 b/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_cgraph.md5 new file mode 100644 index 0000000..6d838b0 --- /dev/null +++ b/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_cgraph.md5 @@ -0,0 +1 @@ +d71fa2d24a6ef6a13ea3c10f7f44e5dd \ No newline at end of file diff --git a/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_icgraph.dot b/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_icgraph.dot new file mode 100644 index 0000000..f8b38bc --- /dev/null +++ b/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_icgraph.dot @@ -0,0 +1,9 @@ +digraph "I2C_get_chip_id" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node10 [label="I2C_get_chip_id",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node10 -> Node11 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="setup",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c__advanced_8ino.html#a4fc01d736fe50cf5b977f755b675f11d"]; +} diff --git a/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_icgraph.md5 b/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_icgraph.md5 new file mode 100644 index 0000000..0349b38 --- /dev/null +++ b/html/ci2c__advanced_8ino_ad357f6e59cf5ec94f3ccaa70a20e1b11_icgraph.md5 @@ -0,0 +1 @@ +fa407638858e6254b724767ac529d5a5 \ No newline at end of file diff --git a/html/ci2c__advanced_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot b/html/ci2c__advanced_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot new file mode 100644 index 0000000..d6b53a0 --- /dev/null +++ b/html/ci2c__advanced_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot @@ -0,0 +1,9 @@ +digraph "loop" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node27 [label="loop",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node27 -> Node28 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node28 [label="I2C_read",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ad5e4a006f6cea5844a810fab30b40f87",tooltip="This function reads data from the address specified and stores this data in the area provided by the ..."]; +} diff --git a/html/ci2c__advanced_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 b/html/ci2c__advanced_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 new file mode 100644 index 0000000..e458d4d --- /dev/null +++ b/html/ci2c__advanced_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 @@ -0,0 +1 @@ +5c4a0f079e4c25bc9ffd281eb4688c2c \ No newline at end of file diff --git a/html/ci2c__master__read_8ino.html b/html/ci2c__master__read_8ino.html new file mode 100644 index 0000000..7057ff8 --- /dev/null +++ b/html/ci2c__master__read_8ino.html @@ -0,0 +1,159 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): examples/ci2c_master_read/ci2c_master_read.ino File Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+ +
+
ci2c_master_read.ino File Reference
+
+
+
#include <ci2c.h>
+
+Include dependency graph for ci2c_master_read.ino:
+
+
+ +
+
+ + + + + +

+Functions

void setup ()
 
void loop ()
 
+ + + + + +

+Variables

const uint8_t blank = 0xEE
 
I2C_SLAVE FRAM
 
+

Function Documentation

+ +

◆ loop()

+ +
+
+ + + + + + + +
void loop ()
+
+
+Here is the call graph for this function:
+
+
+ +
+ +
+
+ +

◆ setup()

+ +
+
+ + + + + + + +
void setup ()
+
+
+Here is the call graph for this function:
+
+
+ +
+ +
+
+

Variable Documentation

+ +

◆ blank

+ +
+
+ + + + +
const uint8_t blank = 0xEE
+
+ +
+
+ +

◆ FRAM

+ +
+
+ + + + +
I2C_SLAVE FRAM
+
+ +
+
+
+ + + + diff --git a/html/ci2c__master__read_8ino__incl.dot b/html/ci2c__master__read_8ino__incl.dot new file mode 100644 index 0000000..a8b2eb3 --- /dev/null +++ b/html/ci2c__master__read_8ino__incl.dot @@ -0,0 +1,14 @@ +digraph "examples/ci2c_master_read/ci2c_master_read.ino" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node0 [label="examples/ci2c_master\l_read/ci2c_master_read.ino",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node0 -> Node1 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="ci2c.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html",tooltip="arduino i2c in plain c declarations "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="Arduino.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="inttypes.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="stdbool.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; +} diff --git a/html/ci2c__master__read_8ino__incl.md5 b/html/ci2c__master__read_8ino__incl.md5 new file mode 100644 index 0000000..87e6bba --- /dev/null +++ b/html/ci2c__master__read_8ino__incl.md5 @@ -0,0 +1 @@ +db7d993409dc62ff38f9e7322ecfd91d \ No newline at end of file diff --git a/html/ci2c__master__read_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot b/html/ci2c__master__read_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot new file mode 100644 index 0000000..88ae427 --- /dev/null +++ b/html/ci2c__master__read_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot @@ -0,0 +1,21 @@ +digraph "setup" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node11 [label="setup",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node11 -> Node12 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node12 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a99283d800332d700deed19f5a37e61d8",tooltip="Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)..."]; + Node12 -> Node13 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a7c5b1857ae28ade8959a8a06f500ecde",tooltip="Change I2C frequency. "]; + Node13 -> Node14 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a2c25bc5fdf909b7d45d722970eb04d82",tooltip="I2C bus reset (Release SCL and SDA lines and re-enable module) "]; + Node11 -> Node15 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#af93c2e35e06edcea492607b628d5ae1f",tooltip="Init an I2C slave structure for cMI2C communication. "]; + Node15 -> Node16 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [label="I2C_slave_set_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ad0eed3132d3284d6f921d13488721226",tooltip="Change I2C slave address. "]; + Node15 -> Node17 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node17 [label="I2C_slave_set_reg_size",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a47d121773459b24568e5df4f81fbf905",tooltip="Change I2C registers map size (for access) "]; + Node15 -> Node18 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node18 [label="I2C_slave_set_rw_func",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a8d88530833d3685d52ea5486b1316427",tooltip="Redirect slave I2C read/write function (if needed for advanced use) "]; +} diff --git a/html/ci2c__master__read_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 b/html/ci2c__master__read_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 new file mode 100644 index 0000000..932ba64 --- /dev/null +++ b/html/ci2c__master__read_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 @@ -0,0 +1 @@ +a4ab90bc219e0cd6b5a303fdeee3888b \ No newline at end of file diff --git a/html/ci2c__master__read_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot b/html/ci2c__master__read_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot new file mode 100644 index 0000000..483cd11 --- /dev/null +++ b/html/ci2c__master__read_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot @@ -0,0 +1,25 @@ +digraph "loop" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="loop",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node0 -> Node1 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="I2C_read",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ad5e4a006f6cea5844a810fab30b40f87",tooltip="This function reads data from the address specified and stores this data in the area provided by the ..."]; + Node0 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="I2C_read_next",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#afc15fc625892e1e50e831d7934073299",tooltip="This inline is a wrapper to I2C_read in case of contigous operations. "]; + Node2 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="I2C_read",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#ad5e4a006f6cea5844a810fab30b40f87",tooltip="This function reads data from the address specified and stores this data in the area provided by the ..."]; + Node2 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a2c25bc5fdf909b7d45d722970eb04d82",tooltip="I2C bus reset (Release SCL and SDA lines and re-enable module) "]; + Node2 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="I2C_start",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#aaadadbb29f315f2030223665f1988188",tooltip="Send start condition. "]; + Node2 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="I2C_stop",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a53eb804c24e8e86717f7aaebdab1aa53",tooltip="Send stop condition. "]; + Node2 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="I2C_wr8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#ab20db75dfa22dc47df506cab3bd11c60",tooltip="Send byte on bus. "]; + Node2 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="I2C_rd8",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#a8d6d7eb118ea1505df039075a00c267b",tooltip="Receive byte from bus. "]; + Node2 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="I2C_sndAddr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html#aae536cceb33d07e71af9d459a2fc6dc8",tooltip="Send I2C address. "]; +} diff --git a/html/ci2c__master__read_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 b/html/ci2c__master__read_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 new file mode 100644 index 0000000..4ecf1ea --- /dev/null +++ b/html/ci2c__master__read_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 @@ -0,0 +1 @@ +513e0c275a4b8764526f6c17e34ae02c \ No newline at end of file diff --git a/html/ci2c__master__write_8ino.html b/html/ci2c__master__write_8ino.html new file mode 100644 index 0000000..01aea60 --- /dev/null +++ b/html/ci2c__master__write_8ino.html @@ -0,0 +1,159 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): examples/ci2c_master_write/ci2c_master_write.ino File Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+ +
+
ci2c_master_write.ino File Reference
+
+
+
#include <ci2c.h>
+
+Include dependency graph for ci2c_master_write.ino:
+
+
+ +
+
+ + + + + +

+Functions

void setup ()
 
void loop ()
 
+ + + + + +

+Variables

const uint8_t blank = 0xEE
 
I2C_SLAVE FRAM
 
+

Function Documentation

+ +

◆ loop()

+ +
+
+ + + + + + + +
void loop ()
+
+
+Here is the call graph for this function:
+
+
+ +
+ +
+
+ +

◆ setup()

+ +
+
+ + + + + + + +
void setup ()
+
+
+Here is the call graph for this function:
+
+
+ +
+ +
+
+

Variable Documentation

+ +

◆ blank

+ +
+
+ + + + +
const uint8_t blank = 0xEE
+
+ +
+
+ +

◆ FRAM

+ +
+
+ + + + +
I2C_SLAVE FRAM
+
+ +
+
+
+ + + + diff --git a/html/ci2c__master__write_8ino__incl.dot b/html/ci2c__master__write_8ino__incl.dot new file mode 100644 index 0000000..ea5adce --- /dev/null +++ b/html/ci2c__master__write_8ino__incl.dot @@ -0,0 +1,14 @@ +digraph "examples/ci2c_master_write/ci2c_master_write.ino" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node0 [label="examples/ci2c_master\l_write/ci2c_master_write.ino",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node0 -> Node1 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="ci2c.h",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8h.html",tooltip="arduino i2c in plain c declarations "]; + Node1 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="Arduino.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; + Node1 -> Node3 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node3 [label="inttypes.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; + Node1 -> Node4 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node4 [label="stdbool.h",height=0.2,width=0.4,color="grey75", fillcolor="white", style="filled"]; +} diff --git a/html/ci2c__master__write_8ino__incl.md5 b/html/ci2c__master__write_8ino__incl.md5 new file mode 100644 index 0000000..ed39876 --- /dev/null +++ b/html/ci2c__master__write_8ino__incl.md5 @@ -0,0 +1 @@ +3279f25f076212c6c8db3d32958f3cc3 \ No newline at end of file diff --git a/html/ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot b/html/ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot new file mode 100644 index 0000000..647d3cc --- /dev/null +++ b/html/ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.dot @@ -0,0 +1,21 @@ +digraph "setup" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node4 [label="setup",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node4 -> Node5 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node5 [label="I2C_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a99283d800332d700deed19f5a37e61d8",tooltip="Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)..."]; + Node5 -> Node6 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node6 [label="I2C_set_speed",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a7c5b1857ae28ade8959a8a06f500ecde",tooltip="Change I2C frequency. "]; + Node6 -> Node7 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node7 [label="I2C_reset",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a2c25bc5fdf909b7d45d722970eb04d82",tooltip="I2C bus reset (Release SCL and SDA lines and re-enable module) "]; + Node4 -> Node8 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node8 [label="I2C_slave_init",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#af93c2e35e06edcea492607b628d5ae1f",tooltip="Init an I2C slave structure for cMI2C communication. "]; + Node8 -> Node9 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node9 [label="I2C_slave_set_addr",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ad0eed3132d3284d6f921d13488721226",tooltip="Change I2C slave address. "]; + Node8 -> Node10 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [label="I2C_slave_set_reg_size",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a47d121773459b24568e5df4f81fbf905",tooltip="Change I2C registers map size (for access) "]; + Node8 -> Node11 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [label="I2C_slave_set_rw_func",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a8d88530833d3685d52ea5486b1316427",tooltip="Redirect slave I2C read/write function (if needed for advanced use) "]; +} diff --git a/html/ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 b/html/ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 new file mode 100644 index 0000000..5b09132 --- /dev/null +++ b/html/ci2c__master__write_8ino_a4fc01d736fe50cf5b977f755b675f11d_cgraph.md5 @@ -0,0 +1 @@ +2f309f20167201321ffe522eda54316e \ No newline at end of file diff --git a/html/ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot b/html/ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot new file mode 100644 index 0000000..eb4be6a --- /dev/null +++ b/html/ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.dot @@ -0,0 +1,11 @@ +digraph "loop" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + rankdir="LR"; + Node0 [label="loop",height=0.2,width=0.4,color="black", fillcolor="grey75", style="filled", fontcolor="black"]; + Node0 -> Node1 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node1 [label="I2C_write",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#a83adef951ffd9fb5105216f6ee464bb9",tooltip="This function writes the provided data to the address specified. "]; + Node0 -> Node2 [color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node2 [label="I2C_read",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$ci2c_8c.html#ad5e4a006f6cea5844a810fab30b40f87",tooltip="This function reads data from the address specified and stores this data in the area provided by the ..."]; +} diff --git a/html/ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 b/html/ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 new file mode 100644 index 0000000..003c45c --- /dev/null +++ b/html/ci2c__master__write_8ino_afe461d27b9c48d5921c00d521181f12f_cgraph.md5 @@ -0,0 +1 @@ +34fc8defb9e696ec47a7f9672e4d31ea \ No newline at end of file diff --git a/html/dir_000001_000004.html b/html/dir_000001_000004.html new file mode 100644 index 0000000..61a7a87 --- /dev/null +++ b/html/dir_000001_000004.html @@ -0,0 +1,54 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): examples/ci2c_advanced -> src Relation + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+

ci2c_advanced → src Relation

File in examples/ci2c_advancedIncludes file in src
ci2c_advanced.inoci2c.h
+ + + + diff --git a/html/dir_000002_000004.html b/html/dir_000002_000004.html new file mode 100644 index 0000000..02a5523 --- /dev/null +++ b/html/dir_000002_000004.html @@ -0,0 +1,54 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): examples/ci2c_master_read -> src Relation + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+

ci2c_master_read → src Relation

File in examples/ci2c_master_readIncludes file in src
ci2c_master_read.inoci2c.h
+ + + + diff --git a/html/dir_000003_000004.html b/html/dir_000003_000004.html new file mode 100644 index 0000000..d8358c5 --- /dev/null +++ b/html/dir_000003_000004.html @@ -0,0 +1,54 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): examples/ci2c_master_write -> src Relation + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+

ci2c_master_write → src Relation

File in examples/ci2c_master_writeIncludes file in src
ci2c_master_write.inoci2c.h
+ + + + diff --git a/html/dir_21e6c782f8f210e0aa25fe7f50fbd34b.html b/html/dir_21e6c782f8f210e0aa25fe7f50fbd34b.html new file mode 100644 index 0000000..dfb69ae --- /dev/null +++ b/html/dir_21e6c782f8f210e0aa25fe7f50fbd34b.html @@ -0,0 +1,70 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): examples/ci2c_master_write Directory Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+
+
ci2c_master_write Directory Reference
+
+
+
+Directory dependency graph for ci2c_master_write:
+
+
examples/ci2c_master_write
+ +
+ + + + +

+Files

file  ci2c_master_write.ino
 
+
+ + + + diff --git a/html/dir_21e6c782f8f210e0aa25fe7f50fbd34b_dep.dot b/html/dir_21e6c782f8f210e0aa25fe7f50fbd34b_dep.dot new file mode 100644 index 0000000..c93c95e --- /dev/null +++ b/html/dir_21e6c782f8f210e0aa25fe7f50fbd34b_dep.dot @@ -0,0 +1,11 @@ +digraph "examples/ci2c_master_write" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_d28a4824dc47e487b107a5db32ef43c4 { + graph [ bgcolor="#ddddee", pencolor="black", label="examples" fontname="Helvetica", fontsize="10", URL="dir_d28a4824dc47e487b107a5db32ef43c4.html"] + dir_21e6c782f8f210e0aa25fe7f50fbd34b [shape=box, label="ci2c_master_write", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_21e6c782f8f210e0aa25fe7f50fbd34b.html"]; + } + dir_68267d1309a1af8e8297ef4c3efbcdba [shape=box label="src" URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"]; + dir_21e6c782f8f210e0aa25fe7f50fbd34b->dir_68267d1309a1af8e8297ef4c3efbcdba [headlabel="1", labeldistance=1.5 headhref="dir_000003_000004.html"]; +} diff --git a/html/dir_21e6c782f8f210e0aa25fe7f50fbd34b_dep.md5 b/html/dir_21e6c782f8f210e0aa25fe7f50fbd34b_dep.md5 new file mode 100644 index 0000000..3728687 --- /dev/null +++ b/html/dir_21e6c782f8f210e0aa25fe7f50fbd34b_dep.md5 @@ -0,0 +1 @@ +97664666a948acc7ca798b9747140bd4 \ No newline at end of file diff --git a/html/dir_419b297866c2b522bec278c4530a3ff4.html b/html/dir_419b297866c2b522bec278c4530a3ff4.html new file mode 100644 index 0000000..2e76c9a --- /dev/null +++ b/html/dir_419b297866c2b522bec278c4530a3ff4.html @@ -0,0 +1,70 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): examples/ci2c_advanced Directory Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+
+
ci2c_advanced Directory Reference
+
+
+
+Directory dependency graph for ci2c_advanced:
+
+
examples/ci2c_advanced
+ +
+ + + + +

+Files

file  ci2c_advanced.ino
 
+
+ + + + diff --git a/html/dir_419b297866c2b522bec278c4530a3ff4_dep.dot b/html/dir_419b297866c2b522bec278c4530a3ff4_dep.dot new file mode 100644 index 0000000..52c1a35 --- /dev/null +++ b/html/dir_419b297866c2b522bec278c4530a3ff4_dep.dot @@ -0,0 +1,11 @@ +digraph "examples/ci2c_advanced" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_d28a4824dc47e487b107a5db32ef43c4 { + graph [ bgcolor="#ddddee", pencolor="black", label="examples" fontname="Helvetica", fontsize="10", URL="dir_d28a4824dc47e487b107a5db32ef43c4.html"] + dir_419b297866c2b522bec278c4530a3ff4 [shape=box, label="ci2c_advanced", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_419b297866c2b522bec278c4530a3ff4.html"]; + } + dir_68267d1309a1af8e8297ef4c3efbcdba [shape=box label="src" URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"]; + dir_419b297866c2b522bec278c4530a3ff4->dir_68267d1309a1af8e8297ef4c3efbcdba [headlabel="1", labeldistance=1.5 headhref="dir_000001_000004.html"]; +} diff --git a/html/dir_419b297866c2b522bec278c4530a3ff4_dep.md5 b/html/dir_419b297866c2b522bec278c4530a3ff4_dep.md5 new file mode 100644 index 0000000..22ad553 --- /dev/null +++ b/html/dir_419b297866c2b522bec278c4530a3ff4_dep.md5 @@ -0,0 +1 @@ +7e14e21b6349941c1dd4c4905e221356 \ No newline at end of file diff --git a/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html new file mode 100644 index 0000000..c437973 --- /dev/null +++ b/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -0,0 +1,68 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): src Directory Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+
+
src Directory Reference
+
+
+ + + + + + + + +

+Files

file  ci2c.c
 arduino master i2c in plain c code
 
file  ci2c.h [code]
 arduino i2c in plain c declarations
 
+
+ + + + diff --git a/html/dir_d28a4824dc47e487b107a5db32ef43c4.html b/html/dir_d28a4824dc47e487b107a5db32ef43c4.html new file mode 100644 index 0000000..5ed6553 --- /dev/null +++ b/html/dir_d28a4824dc47e487b107a5db32ef43c4.html @@ -0,0 +1,74 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): examples Directory Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+
+
examples Directory Reference
+
+
+
+Directory dependency graph for examples:
+
+
examples
+ +
+ + + + + + + + +

+Directories

directory  ci2c_advanced
 
directory  ci2c_master_read
 
directory  ci2c_master_write
 
+
+ + + + diff --git a/html/dir_d28a4824dc47e487b107a5db32ef43c4_dep.dot b/html/dir_d28a4824dc47e487b107a5db32ef43c4_dep.dot new file mode 100644 index 0000000..c6ad9e6 --- /dev/null +++ b/html/dir_d28a4824dc47e487b107a5db32ef43c4_dep.dot @@ -0,0 +1,16 @@ +digraph "examples" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_d28a4824dc47e487b107a5db32ef43c4 { + graph [ bgcolor="#eeeeff", pencolor="black", label="" URL="dir_d28a4824dc47e487b107a5db32ef43c4.html"]; + dir_d28a4824dc47e487b107a5db32ef43c4 [shape=plaintext label="examples"]; + dir_419b297866c2b522bec278c4530a3ff4 [shape=box label="ci2c_advanced" color="black" fillcolor="white" style="filled" URL="dir_419b297866c2b522bec278c4530a3ff4.html"]; + dir_da41f142aa2492330ee0814d5b195d46 [shape=box label="ci2c_master_read" color="black" fillcolor="white" style="filled" URL="dir_da41f142aa2492330ee0814d5b195d46.html"]; + dir_21e6c782f8f210e0aa25fe7f50fbd34b [shape=box label="ci2c_master_write" color="black" fillcolor="white" style="filled" URL="dir_21e6c782f8f210e0aa25fe7f50fbd34b.html"]; + } + dir_68267d1309a1af8e8297ef4c3efbcdba [shape=box label="src" URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"]; + dir_da41f142aa2492330ee0814d5b195d46->dir_68267d1309a1af8e8297ef4c3efbcdba [headlabel="1", labeldistance=1.5 headhref="dir_000002_000004.html"]; + dir_21e6c782f8f210e0aa25fe7f50fbd34b->dir_68267d1309a1af8e8297ef4c3efbcdba [headlabel="1", labeldistance=1.5 headhref="dir_000003_000004.html"]; + dir_419b297866c2b522bec278c4530a3ff4->dir_68267d1309a1af8e8297ef4c3efbcdba [headlabel="1", labeldistance=1.5 headhref="dir_000001_000004.html"]; +} diff --git a/html/dir_d28a4824dc47e487b107a5db32ef43c4_dep.md5 b/html/dir_d28a4824dc47e487b107a5db32ef43c4_dep.md5 new file mode 100644 index 0000000..0dad199 --- /dev/null +++ b/html/dir_d28a4824dc47e487b107a5db32ef43c4_dep.md5 @@ -0,0 +1 @@ +62b18c2ce97e942bbd7ccfd57c70151a \ No newline at end of file diff --git a/html/dir_da41f142aa2492330ee0814d5b195d46.html b/html/dir_da41f142aa2492330ee0814d5b195d46.html new file mode 100644 index 0000000..b1229a0 --- /dev/null +++ b/html/dir_da41f142aa2492330ee0814d5b195d46.html @@ -0,0 +1,70 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): examples/ci2c_master_read Directory Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + + +
+
+
+
ci2c_master_read Directory Reference
+
+
+
+Directory dependency graph for ci2c_master_read:
+
+
examples/ci2c_master_read
+ +
+ + + + +

+Files

file  ci2c_master_read.ino
 
+
+ + + + diff --git a/html/dir_da41f142aa2492330ee0814d5b195d46_dep.dot b/html/dir_da41f142aa2492330ee0814d5b195d46_dep.dot new file mode 100644 index 0000000..028e20f --- /dev/null +++ b/html/dir_da41f142aa2492330ee0814d5b195d46_dep.dot @@ -0,0 +1,11 @@ +digraph "examples/ci2c_master_read" { + compound=true + node [ fontsize="10", fontname="Helvetica"]; + edge [ labelfontsize="10", labelfontname="Helvetica"]; + subgraph clusterdir_d28a4824dc47e487b107a5db32ef43c4 { + graph [ bgcolor="#ddddee", pencolor="black", label="examples" fontname="Helvetica", fontsize="10", URL="dir_d28a4824dc47e487b107a5db32ef43c4.html"] + dir_da41f142aa2492330ee0814d5b195d46 [shape=box, label="ci2c_master_read", style="filled", fillcolor="#eeeeff", pencolor="black", URL="dir_da41f142aa2492330ee0814d5b195d46.html"]; + } + dir_68267d1309a1af8e8297ef4c3efbcdba [shape=box label="src" URL="dir_68267d1309a1af8e8297ef4c3efbcdba.html"]; + dir_da41f142aa2492330ee0814d5b195d46->dir_68267d1309a1af8e8297ef4c3efbcdba [headlabel="1", labeldistance=1.5 headhref="dir_000002_000004.html"]; +} diff --git a/html/dir_da41f142aa2492330ee0814d5b195d46_dep.md5 b/html/dir_da41f142aa2492330ee0814d5b195d46_dep.md5 new file mode 100644 index 0000000..8b964dd --- /dev/null +++ b/html/dir_da41f142aa2492330ee0814d5b195d46_dep.md5 @@ -0,0 +1 @@ +776c15a1ea67f5028735d4d15e6a764e \ No newline at end of file diff --git a/html/doc.png b/html/doc.png deleted file mode 100644 index 17edabff95f7b8da13c9516a04efe05493c29501..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 746 zcmV7=@pnbNXRFEm&G8P!&WHG=d)>K?YZ1bzou)2{$)) zumDct!>4SyxL;zgaG>wy`^Hv*+}0kUfCrz~BCOViSb$_*&;{TGGn2^x9K*!Sf0=lV zpP=7O;GA0*Jm*tTYj$IoXvimpnV4S1Z5f$p*f$Db2iq2zrVGQUz~yq`ahn7ck(|CE z7Gz;%OP~J6)tEZWDzjhL9h2hdfoU2)Nd%T<5Kt;Y0XLt&<@6pQx!nw*5`@bq#?l*?3z{Hlzoc=Pr>oB5(9i6~_&-}A(4{Q$>c>%rV&E|a(r&;?i5cQB=} zYSDU5nXG)NS4HEs0it2AHe2>shCyr7`6@4*6{r@8fXRbTA?=IFVWAQJL&H5H{)DpM#{W(GL+Idzf^)uRV@oB8u$ z8v{MfJbTiiRg4bza<41NAzrl{=3fl_D+$t+^!xlQ8S}{UtY`e z;;&9UhyZqQRN%2pot{*Ei0*4~hSF_3AH2@fKU!$NSflS>{@tZpDT4`M2WRTTVH+D? z)GFlEGGHe?koB}i|1w45!BF}N_q&^HJ&-tyR{(afC6H7|aml|tBBbv}55C5DNP8p3 z)~jLEO4Z&2hZmP^i-e%(@d!(E|KRafiU8Q5u(wU((j8un3OR*Hvj+t diff --git a/html/folderclosed.png b/html/folderclosed.png deleted file mode 100644 index bb8ab35edce8e97554e360005ee9fc5bffb36e66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 616 zcmV-u0+;=XP)a9#ETzayK)T~Jw&MMH>OIr#&;dC}is*2Mqdf&akCc=O@`qC+4i z5Iu3w#1M@KqXCz8TIZd1wli&kkl2HVcAiZ8PUn5z_kG@-y;?yK06=cA0U%H0PH+kU zl6dp}OR(|r8-RG+YLu`zbI}5TlOU6ToR41{9=uz^?dGTNL;wIMf|V3`d1Wj3y!#6` zBLZ?xpKR~^2x}?~zA(_NUu3IaDB$tKma*XUdOZN~c=dLt_h_k!dbxm_*ibDM zlFX`g{k$X}yIe%$N)cn1LNu=q9_CS)*>A zsX_mM4L@`(cSNQKMFc$RtYbx{79#j-J7hk*>*+ZZhM4Hw?I?rsXCi#mRWJ=-0LGV5a-WR0Qgt<|Nqf)C-@80`5gIz45^_20000IqP)X=#(TiCT&PiIIVc55T}TU}EUh*{q$|`3@{d>{Tc9Bo>e= zfmF3!f>fbI9#GoEHh0f`i5)wkLpva0ztf%HpZneK?w-7AK@b4Itw{y|Zd3k!fH?q2 zlhckHd_V2M_X7+)U&_Xcfvtw60l;--DgZmLSw-Y?S>)zIqMyJ1#FwLU*%bl38ok+! zh78H87n`ZTS;uhzAR$M`zZ`bVhq=+%u9^$5jDplgxd44}9;IRqUH1YHH|@6oFe%z( zo4)_>E$F&^P-f(#)>(TrnbE>Pefs9~@iN=|)Rz|V`sGfHNrJ)0gJb8xx+SBmRf@1l zvuzt=vGfI)<-F9!o&3l?>9~0QbUDT(wFdnQPv%xdD)m*g%!20>Bc9iYmGAp<9YAa( z0QgYgTWqf1qN++Gqp z8@AYPTB3E|6s=WLG?xw0tm|U!o=&zd+H0oRYE;Dbx+Na9s^STqX|Gnq%H8s(nGDGJ j8vwW|`Ts`)fSK|Kx=IK@RG@g200000NkvXXu0mjfauFEA diff --git a/html/graph_legend.dot b/html/graph_legend.dot new file mode 100644 index 0000000..789df56 --- /dev/null +++ b/html/graph_legend.dot @@ -0,0 +1,22 @@ +digraph "Graph Legend" +{ + edge [fontname="Helvetica",fontsize="10",labelfontname="Helvetica",labelfontsize="10"]; + node [fontname="Helvetica",fontsize="10",shape=record]; + Node9 [shape="box",label="Inherited",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",fillcolor="grey75",style="filled" fontcolor="black"]; + Node10 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node10 [shape="box",label="PublicBase",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classPublicBase.html"]; + Node11 -> Node10 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node11 [shape="box",label="Truncated",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="red",URL="$classTruncated.html"]; + Node13 -> Node9 [dir="back",color="darkgreen",fontsize="10",style="solid",fontname="Helvetica"]; + Node13 [shape="box",label="ProtectedBase",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classProtectedBase.html"]; + Node14 -> Node9 [dir="back",color="firebrick4",fontsize="10",style="solid",fontname="Helvetica"]; + Node14 [shape="box",label="PrivateBase",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classPrivateBase.html"]; + Node15 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node15 [shape="box",label="Undocumented",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="grey75"]; + Node16 -> Node9 [dir="back",color="midnightblue",fontsize="10",style="solid",fontname="Helvetica"]; + Node16 [shape="box",label="Templ< int >",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classTempl.html"]; + Node17 -> Node16 [dir="back",color="orange",fontsize="10",style="dashed",label="< int >",fontname="Helvetica"]; + Node17 [shape="box",label="Templ< T >",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classTempl.html"]; + Node18 -> Node9 [dir="back",color="darkorchid3",fontsize="10",style="dashed",label="m_usedClass",fontname="Helvetica"]; + Node18 [shape="box",label="Used",fontsize="10",height=0.2,width=0.4,fontname="Helvetica",color="black",URL="$classUsed.html"]; +} diff --git a/html/graph_legend.html b/html/graph_legend.html new file mode 100644 index 0000000..ddca7c0 --- /dev/null +++ b/html/graph_legend.html @@ -0,0 +1,83 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): Graph Legend + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + +
+
+
+
Graph Legend
+
+
+

This page explains how to interpret the graphs that are generated by doxygen.

+

Consider the following example:

/*! Invisible class because of truncation */
class Invisible { };
/*! Truncated class, inheritance relation is hidden */
class Truncated : public Invisible { };
/* Class not documented with doxygen comments */
class Undocumented { };
/*! Class that is inherited using public inheritance */
class PublicBase : public Truncated { };
/*! A template class */
template<class T> class Templ { };
/*! Class that is inherited using protected inheritance */
class ProtectedBase { };
/*! Class that is inherited using private inheritance */
class PrivateBase { };
/*! Class that is used by the Inherited class */
class Used { };
/*! Super class that inherits a number of other classes */
class Inherited : public PublicBase,
protected ProtectedBase,
private PrivateBase,
public Undocumented,
public Templ<int>
{
private:
Used *m_usedClass;
};

This will result in the following graph:

+
+ +
+

The boxes in the above graph have the following meaning:

+
    +
  • +A filled gray box represents the struct or class for which the graph is generated.
  • +
  • +A box with a black border denotes a documented struct or class.
  • +
  • +A box with a gray border denotes an undocumented struct or class.
  • +
  • +A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • +
+

The arrows have the following meaning:

+
    +
  • +A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • +
  • +A dark green arrow is used for protected inheritance.
  • +
  • +A dark red arrow is used for private inheritance.
  • +
  • +A purple dashed arrow is used if a class is contained or used by another class. The arrow is labelled with the variable(s) through which the pointed class or struct is accessible.
  • +
  • +A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labelled with the template parameters of the instance.
  • +
+
+ + + + diff --git a/html/graph_legend.md5 b/html/graph_legend.md5 new file mode 100644 index 0000000..a06ed05 --- /dev/null +++ b/html/graph_legend.md5 @@ -0,0 +1 @@ +387ff8eb65306fa251338d3c9bd7bfff \ No newline at end of file diff --git a/html/index.hhc b/html/index.hhc new file mode 100644 index 0000000..e69de29 diff --git a/html/index.hhk b/html/index.hhk new file mode 100644 index 0000000..e69de29 diff --git a/html/index.html b/html/index.html index 8be9e47..df4284c 100644 --- a/html/index.html +++ b/html/index.html @@ -5,13 +5,10 @@ -cI2C=Arduino Hardware I2C for AVR (in plain c): Main Page +Arduino Hardware I2C for AVR MCUs (plain c): Main Page - - - @@ -21,8 +18,10 @@ -
cI2C=Arduino Hardware I2C for AVR (in plain c) +
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
@@ -30,36 +29,18 @@
- - -
-
- - -
- -
-
-
cI2C=Arduino Hardware I2C for AVR (in plain c) Documentation
+
Arduino Hardware I2C for AVR MCUs (plain c) Documentation
diff --git a/html/md__r_e_a_d_m_e.html b/html/md__r_e_a_d_m_e.html deleted file mode 100644 index 9e56ce7..0000000 --- a/html/md__r_e_a_d_m_e.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - -cI2C=Arduino Hardware I2C for AVR (in plain c): cI2C [![Build Status](https://travis-ci.org/SMFSW/cI2C.svg?branch=master)](https://travis-ci.org/SMFSW/cI2C) - - - - - - - - - -
-
- - - - - - -
-
cI2C=Arduino Hardware I2C for AVR (in plain c) -
-
-
- - - - - - - - -
-
- - -
- -
- -
- -
-

Arduino Hardware I2C for AVR (plain c)

-

Hardware I2C library for AVR MCUs (lib intended for I2C protocols development in c, for easier ports to other MCUs)

-

Library choice

-
    -
  • cI2C library implements I2C bus for AVR targets (Uno, Nano, Mega...)
      -
    • you may prefer this one when:
        -
      • working on AVR targets
      • -
      • interrupts are not needed
      • -
      -
    • -
    -
  • -
  • WireWrapper implements I2C bus for every platform that includes Wire library
      -
    • you would have to use this one when:
        -
      • working on non-AVR targets
      • -
      • portability is needed (using Wire library)
      • -
      -
    • -
    -
  • -
-

No refactoring is required when switching between cI2C & WireWrapper libs; Both libs share same Typedefs, Functions & Parameters.

-

Notes

-
    -
  • cI2C is written in plain c (intentionally)
  • -
  • cI2C does not use any interrupt (yet, but soon will have to)
  • -
  • cI2C is designed to act as bus Master (Slave mode will be considered in future releases)
  • -
  • cI2C is set to work on AVR targets only
      -
    • for other targets, you may use WireWrapper instead (will be using Wire)
    • -
    -
  • -
-

Usage

-

This library is intended to be able to work with multiple slaves connected on the same I2C bus. Thus, the I2C bus and Slaves are defined separately.

-
    -
  • On one hand, I2C bus has to be initialized with appropriate speed:
      -
    • use I2C_init(speed): speed can be chosen from I2C_SPEED enum for convenience, or passing an integer as parameter
    • -
    -
  • -
  • On the other hand, Slave(s) have to be defined and initialized too:
      -
    • use I2C_SLAVE typedef to declare slaves structs
    • -
    • use I2C_slave_init(pSlave, addr, regsize)
        -
      • pSlave: pointer to the slave struct to initialize
      • -
      • addr: slave I2C address (don't shift addr, lib takes care of that)
      • -
      • regsize: width of internal slave registers (to be chosen from I2C_INT_SIZE)
      • -
      -
    • -
    • in case you need to use custom R/W procedures for a particular slave:
        -
      • use I2C_slave_set_rw_func(pSlave, pFunc, rw)
          -
        • pSlave: pointer to the slave declaration to initialize
        • -
        • pFunc: pointer to the Read or Write bypass function
        • -
        • rw: can be chosen from I2C_RW enum (wr=0, rd=1)
        • -
        -
      • -
      -
    • -
    -
  • -
-

After all inits are done, the lib can basically be used this way:

    -
  • I2C_read(pSlave, regaddr, pData, bytes)
      -
    • pSlave: pointer to the slave struct to read from
    • -
    • regaddr: start address to read from
    • -
    • pData: pointer to the place where datas read will be stored
    • -
    • bytes: number of bytes to read from slave
    • -
    • returns true if read is ok, false otherwise
    • -
    -
  • -
  • I2C_write(pSlave, regaddr, pData, bytes)
      -
    • pSlave: pointer to the slave struct to write to
    • -
    • regaddr: start address to write to
    • -
    • pData: pointer to the block of datas to write to slave
    • -
    • bytes: number of bytes to write to slave
    • -
    • returns true if write is ok, false otherwise
    • -
    -
  • -
-

Examples included

-

following examples should work with any I2C EEPROM/FRAM with address 0x50 (yet function to get Chip ID are device dependent (and will probably only work on FUJITSU devices))

-

Documentation

-

Doxygen doc can be generated using "Doxyfile".

-

See generated documentation

-

Release Notes

-

See release notes

-

See also

-

cI2C

-

WireWrapper

-
- - - - diff --git a/html/md__release_notes.html b/html/md__release_notes.html deleted file mode 100644 index 782b94f..0000000 --- a/html/md__release_notes.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - -cI2C=Arduino Hardware I2C for AVR (in plain c): ReleaseNotes - - - - - - - - - -
-
- - - - - - -
-
cI2C=Arduino Hardware I2C for AVR (in plain c) -
-
-
- - - - - - - - -
-
- - -
- -
- -
-
-
-
ReleaseNotes
-
-
-

Arduino Hardware I2C for AVR (plain c) 2017-2018 SMFSW

-
    -
  • cI2C is set to work on AVR targets only -> for other targets, you may use WireWrapper instead (will be using Wire) -> cI2C & WireWrapper libs declare same structures & functions as seen from the outside (switch between libs without changing anyhting but the include)
  • -
-

Feel free to share your thoughts @ xgarm.nosp@m.anbo.nosp@m.ziax@.nosp@m.gmai.nosp@m.l.com about:

    -
  • issues encountered
  • -
  • optimisations
  • -
  • improvements & new functionalities
    -
  • -
-

** Actual: v1.3 3 May 2018:

    -
  • Adding support for unit tests and doxygen documentation generation with Travis CI
  • -
  • Updated README.md
  • -
-

v1.2 30 Nov 2017:

    -
  • No internal address transmission when reading/writing to next internal address (make sure not to r/w last 16 address right just after init, otherwise make a dummy of address 0 just before)
  • -
-

v1.1 29 Nov 2017:

    -
  • Frequency calculation fix (thanks to TonyWilk)
  • -
  • Set Frequency higher than Fast Mode (400KHz) will set bus to Fast Mode (frequency is up to 400KHz on AVR)
  • -
  • I2C_set_xxx now returns values applied, not bool
  • -
-

v1.0 21 Nov 2017:

    -
  • Added const qualifier for function parameters
  • -
  • Return from comm functions if bytes to R/W set to 0
  • -
-

v0.6 12 Jul 2017:

    -
  • compliance with Arduino v1.5+ IDE source located in src subfolder
  • -
-

v0.5 31 Jan 2017:

    -
  • refactored I2C_SPEED enum names for coherence with I2C specifications
  • -
  • High Speed mode added in I2C_SPEED enum
  • -
-

v0.4 23 Jan 2017:

    -
  • less inlines (less warnings)
  • -
  • inlines put into header (compatibility with WireWrapper)
  • -
  • other common code between cI2C and WireWrapper changes
  • -
  • README.md updated to tell about WireWrapper library
  • -
-

v0.3 22 Jan 2017:

    -
  • used function pointer in function parameters for convenience
  • -
  • fixed read bug for devices without register address
  • -
  • refactored rw booleans with enum instead (implied logic change)
  • -
  • I2C_sndAddr function parameters changed
  • -
  • added I2C_uninit function to release i2c bus
  • -
  • refactoring & optimisations
  • -
  • doxygen pass without warnings/errors now
  • -
  • examples updated to test more of the library
  • -
-

v0.2 16 Jan 2017:

    -
  • First release
  • -
-
- - - - diff --git a/html/menudata.js b/html/menudata.js index d0dc372..3fa7a11 100644 --- a/html/menudata.js +++ b/html/menudata.js @@ -1,3 +1,34 @@ var menudata={children:[ {text:"Main Page",url:"index.html"}, -{text:"Related Pages",url:"pages.html"}]} +{text:"Related Pages",url:"pages.html"}, +{text:"Data Structures",url:"annotated.html",children:[ +{text:"Data Structures",url:"annotated.html"}, +{text:"Data Structure Index",url:"classes.html"}, +{text:"Data Fields",url:"functions.html",children:[ +{text:"All",url:"functions.html"}, +{text:"Variables",url:"functions_vars.html"}]}]}, +{text:"Files",url:"files.html",children:[ +{text:"File List",url:"files.html"}, +{text:"Globals",url:"globals.html",children:[ +{text:"All",url:"globals.html",children:[ +{text:"_",url:"globals.html#index__"}, +{text:"b",url:"globals.html#index_b"}, +{text:"c",url:"globals.html#index_c"}, +{text:"d",url:"globals.html#index_d"}, +{text:"e",url:"globals.html#index_e"}, +{text:"f",url:"globals.html#index_f"}, +{text:"i",url:"globals.html#index_i"}, +{text:"l",url:"globals.html#index_l"}, +{text:"m",url:"globals.html#index_m"}, +{text:"r",url:"globals.html#index_r"}, +{text:"s",url:"globals.html#index_s"}, +{text:"t",url:"globals.html#index_t"}]}, +{text:"Functions",url:"globals_func.html",children:[ +{text:"i",url:"globals_func.html#index_i"}, +{text:"l",url:"globals_func.html#index_l"}, +{text:"s",url:"globals_func.html#index_s"}]}, +{text:"Variables",url:"globals_vars.html"}, +{text:"Typedefs",url:"globals_type.html"}, +{text:"Enumerations",url:"globals_enum.html"}, +{text:"Enumerator",url:"globals_eval.html"}, +{text:"Macros",url:"globals_defs.html"}]}]}]} diff --git a/html/pages.html b/html/pages.html index 86f4d1e..e69de29 100644 --- a/html/pages.html +++ b/html/pages.html @@ -1,79 +0,0 @@ - - - - - - - -cI2C=Arduino Hardware I2C for AVR (in plain c): Related Pages - - - - - - - - - -
-
- - - - - - -
-
cI2C=Arduino Hardware I2C for AVR (in plain c) -
-
-
- - - - - - - -
- -
-
- - -
- -
- -
-
-
Related Pages
-
- - - - - diff --git a/html/search/all_0.html b/html/search/all_0.html deleted file mode 100644 index f25360b..0000000 --- a/html/search/all_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/html/search/all_0.js b/html/search/all_0.js deleted file mode 100644 index 56074c9..0000000 --- a/html/search/all_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['ci2c_20_5b_21_5bbuild_20status_5d_28https_3a_2f_2ftravis_2dci_2eorg_2fsmfsw_2fci2c_2esvg_3fbranch_3dmaster_29_5d_28https_3a_2f_2ftravis_2dci_2eorg_2fsmfsw_2fci2c_29',['cI2C [![Build Status](https://travis-ci.org/SMFSW/cI2C.svg?branch=master)](https://travis-ci.org/SMFSW/cI2C)',['../md__r_e_a_d_m_e.html',1,'']]] -]; diff --git a/html/search/all_1.html b/html/search/all_1.html deleted file mode 100644 index b13f0f7..0000000 --- a/html/search/all_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/html/search/all_1.js b/html/search/all_1.js deleted file mode 100644 index 1d3f7d0..0000000 --- a/html/search/all_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['releasenotes',['ReleaseNotes',['../md__release_notes.html',1,'']]] -]; diff --git a/html/search/close.png b/html/search/close.png deleted file mode 100644 index 9342d3dfeea7b7c4ee610987e717804b5a42ceb9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 273 zcmV+s0q*{ZP)4(RlMby96)VwnbG{ zbe&}^BDn7x>$<{ck4zAK-=nT;=hHG)kmplIF${xqm8db3oX6wT3bvp`TE@m0cg;b) zBuSL}5?N7O(iZLdAlz@)b)Rd~DnSsSX&P5qC`XwuFwcAYLC+d2>+1(8on;wpt8QIC X2MT$R4iQDd00000NkvXXu0mjfia~GN diff --git a/html/search/mag_sel.png b/html/search/mag_sel.png deleted file mode 100644 index 81f6040a2092402b4d98f9ffa8855d12a0d4ca17..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 563 zcmV-30?hr1P)zxx&tqG15pu7)IiiXFflOc2k;dXd>%13GZAy? zRz!q0=|E6a6vV)&ZBS~G9oe0kbqyw1*gvY`{Pop2oKq#FlzgXt@Xh-7fxh>}`Fxg> z$%N%{$!4=5nM{(;=c!aG1Ofr^Do{u%Ih{^&Fc@H2)+a-?TBXrw5DW&z%Nb6mQ!L9O zl}b@6mB?f=tX3;#vl)}ggh(Vpyh(IK z(Mb0D{l{U$FsRjP;!{($+bsaaVi8T#1c0V#qEIOCYa9@UVLV`f__E81L;?WEaRA;Y zUH;rZ;vb;mk7JX|$=i3O~&If0O@oZfLg8gfIjW=dcBsz;gI=!{-r4# z4%6v$&~;q^j7Fo67yJ(NJWuX+I~I!tj^nW3?}^9bq|<3^+vapS5sgM^x7!cs(+mMT z&y%j};&~po+YO)3hoUH4E*E;e9>?R6SS&`X)p`njycAVcg{rEb41T{~Hk(bl-7eSb zmFxA2uIqo#@R?lKm50ND`~6Nfn|-b1|L6O98vt3Tx@gKz#isxO002ovPDHLkV1kyW B_l^Jn diff --git a/html/search/nomatches.html b/html/search/nomatches.html deleted file mode 100644 index b1ded27..0000000 --- a/html/search/nomatches.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - -
-
No Matches
-
- - diff --git a/html/search/pages_0.html b/html/search/pages_0.html deleted file mode 100644 index 4955b9e..0000000 --- a/html/search/pages_0.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/html/search/pages_0.js b/html/search/pages_0.js deleted file mode 100644 index 56074c9..0000000 --- a/html/search/pages_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['ci2c_20_5b_21_5bbuild_20status_5d_28https_3a_2f_2ftravis_2dci_2eorg_2fsmfsw_2fci2c_2esvg_3fbranch_3dmaster_29_5d_28https_3a_2f_2ftravis_2dci_2eorg_2fsmfsw_2fci2c_29',['cI2C [![Build Status](https://travis-ci.org/SMFSW/cI2C.svg?branch=master)](https://travis-ci.org/SMFSW/cI2C)',['../md__r_e_a_d_m_e.html',1,'']]] -]; diff --git a/html/search/pages_1.html b/html/search/pages_1.html deleted file mode 100644 index aedb14e..0000000 --- a/html/search/pages_1.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - -
-
Loading...
-
- -
Searching...
-
No Matches
- -
- - diff --git a/html/search/pages_1.js b/html/search/pages_1.js deleted file mode 100644 index 1d3f7d0..0000000 --- a/html/search/pages_1.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['releasenotes',['ReleaseNotes',['../md__release_notes.html',1,'']]] -]; diff --git a/html/search/search.css b/html/search/search.css deleted file mode 100644 index 3cf9df9..0000000 --- a/html/search/search.css +++ /dev/null @@ -1,271 +0,0 @@ -/*---------------- Search Box */ - -#FSearchBox { - float: left; -} - -#MSearchBox { - white-space : nowrap; - float: none; - margin-top: 8px; - right: 0px; - width: 170px; - height: 24px; - z-index: 102; -} - -#MSearchBox .left -{ - display:block; - position:absolute; - left:10px; - width:20px; - height:19px; - background:url('search_l.png') no-repeat; - background-position:right; -} - -#MSearchSelect { - display:block; - position:absolute; - width:20px; - height:19px; -} - -.left #MSearchSelect { - left:4px; -} - -.right #MSearchSelect { - right:5px; -} - -#MSearchField { - display:block; - position:absolute; - height:19px; - background:url('search_m.png') repeat-x; - border:none; - width:115px; - margin-left:20px; - padding-left:4px; - color: #909090; - outline: none; - font: 9pt Arial, Verdana, sans-serif; - -webkit-border-radius: 0px; -} - -#FSearchBox #MSearchField { - margin-left:15px; -} - -#MSearchBox .right { - display:block; - position:absolute; - right:10px; - top:8px; - width:20px; - height:19px; - background:url('search_r.png') no-repeat; - background-position:left; -} - -#MSearchClose { - display: none; - position: absolute; - top: 4px; - background : none; - border: none; - margin: 0px 4px 0px 0px; - padding: 0px 0px; - outline: none; -} - -.left #MSearchClose { - left: 6px; -} - -.right #MSearchClose { - right: 2px; -} - -.MSearchBoxActive #MSearchField { - color: #000000; -} - -/*---------------- Search filter selection */ - -#MSearchSelectWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; - z-index: 10001; - padding-top: 4px; - padding-bottom: 4px; - -moz-border-radius: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -} - -.SelectItem { - font: 8pt Arial, Verdana, sans-serif; - padding-left: 2px; - padding-right: 12px; - border: 0px; -} - -span.SelectionMark { - margin-right: 4px; - font-family: monospace; - outline-style: none; - text-decoration: none; -} - -a.SelectItem { - display: block; - outline-style: none; - color: #000000; - text-decoration: none; - padding-left: 6px; - padding-right: 12px; -} - -a.SelectItem:focus, -a.SelectItem:active { - color: #000000; - outline-style: none; - text-decoration: none; -} - -a.SelectItem:hover { - color: #FFFFFF; - background-color: #3D578C; - outline-style: none; - text-decoration: none; - cursor: pointer; - display: block; -} - -/*---------------- Search results window */ - -iframe#MSearchResults { - width: 60ex; - height: 15em; -} - -#MSearchResultsWindow { - display: none; - position: absolute; - left: 0; top: 0; - border: 1px solid #000; - background-color: #EEF1F7; - z-index:10000; -} - -/* ----------------------------------- */ - - -#SRIndex { - clear:both; - padding-bottom: 15px; -} - -.SREntry { - font-size: 10pt; - padding-left: 1ex; -} - -.SRPage .SREntry { - font-size: 8pt; - padding: 1px 5px; -} - -body.SRPage { - margin: 5px 2px; -} - -.SRChildren { - padding-left: 3ex; padding-bottom: .5em -} - -.SRPage .SRChildren { - display: none; -} - -.SRSymbol { - font-weight: bold; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRScope { - display: block; - color: #425E97; - font-family: Arial, Verdana, sans-serif; - text-decoration: none; - outline: none; -} - -a.SRSymbol:focus, a.SRSymbol:active, -a.SRScope:focus, a.SRScope:active { - text-decoration: underline; -} - -span.SRScope { - padding-left: 4px; -} - -.SRPage .SRStatus { - padding: 2px 5px; - font-size: 8pt; - font-style: italic; -} - -.SRResult { - display: none; -} - -DIV.searchresults { - margin-left: 10px; - margin-right: 10px; -} - -/*---------------- External search page results */ - -.searchresult { - background-color: #F0F3F8; -} - -.pages b { - color: white; - padding: 5px 5px 3px 5px; - background-image: url("../tab_a.png"); - background-repeat: repeat-x; - text-shadow: 0 1px 1px #000000; -} - -.pages { - line-height: 17px; - margin-left: 4px; - text-decoration: none; -} - -.hl { - font-weight: bold; -} - -#searchresults { - margin-bottom: 20px; -} - -.searchpages { - margin-top: 10px; -} - diff --git a/html/search/search.js b/html/search/search.js deleted file mode 100644 index dedce3b..0000000 --- a/html/search/search.js +++ /dev/null @@ -1,791 +0,0 @@ -function convertToId(search) -{ - var result = ''; - for (i=0;i do a search - { - this.Search(); - } - } - - this.OnSearchSelectKey = function(evt) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==40 && this.searchIndex0) // Up - { - this.searchIndex--; - this.OnSelectItem(this.searchIndex); - } - else if (e.keyCode==13 || e.keyCode==27) - { - this.OnSelectItem(this.searchIndex); - this.CloseSelectionWindow(); - this.DOMSearchField().focus(); - } - return false; - } - - // --------- Actions - - // Closes the results window. - this.CloseResultsWindow = function() - { - this.DOMPopupSearchResultsWindow().style.display = 'none'; - this.DOMSearchClose().style.display = 'none'; - this.Activate(false); - } - - this.CloseSelectionWindow = function() - { - this.DOMSearchSelectWindow().style.display = 'none'; - } - - // Performs a search. - this.Search = function() - { - this.keyTimeout = 0; - - // strip leading whitespace - var searchValue = this.DOMSearchField().value.replace(/^ +/, ""); - - var code = searchValue.toLowerCase().charCodeAt(0); - var idxChar = searchValue.substr(0, 1).toLowerCase(); - if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair - { - idxChar = searchValue.substr(0, 2); - } - - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; - - var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); - if (idx!=-1) - { - var hexCode=idx.toString(16); - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + '.html'; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches.html'; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; - } - - window.frames.MSearchResults.location = resultsPageWithSearch; - var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); - - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } - } - - this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; - } - - // -------- Activation Functions - - // Activates or deactivates the search panel, resetting things to - // their default values if necessary. - this.Activate = function(isActive) - { - if (isActive || // open it - this.DOMPopupSearchResultsWindow().style.display == 'block' - ) - { - this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } - } - else if (!isActive) // directly remove the panel - { - this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; - this.searchActive = false; - this.lastSearchValue = '' - this.lastResultsPage = ''; - } - } -} - -// ----------------------------------------------------------------------- - -// The class that handles everything on the search results page. -function SearchResults(name) -{ - // The number of matches from the last run of . - this.lastMatchCount = 0; - this.lastKey = 0; - this.repeatOn = false; - - // Toggles the visibility of the passed element ID. - this.FindChildElement = function(id) - { - var parentElement = document.getElementById(id); - var element = parentElement.firstChild; - - while (element && element!=parentElement) - { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') - { - return element; - } - - if (element.nodeName == 'DIV' && element.hasChildNodes()) - { - element = element.firstChild; - } - else if (element.nextSibling) - { - element = element.nextSibling; - } - else - { - do - { - element = element.parentNode; - } - while (element && element!=parentElement && !element.nextSibling); - - if (element && element!=parentElement) - { - element = element.nextSibling; - } - } - } - } - - this.Toggle = function(id) - { - var element = this.FindChildElement(id); - if (element) - { - if (element.style.display == 'block') - { - element.style.display = 'none'; - } - else - { - element.style.display = 'block'; - } - } - } - - // Searches for the passed string. If there is no parameter, - // it takes it from the URL query. - // - // Always returns true, since other documents may try to call it - // and that may or may not be possible. - this.Search = function(search) - { - if (!search) // get search word from URL - { - search = window.location.search; - search = search.substring(1); // Remove the leading '?' - search = unescape(search); - } - - search = search.replace(/^ +/, ""); // strip leading spaces - search = search.replace(/ +$/, ""); // strip trailing spaces - search = search.toLowerCase(); - search = convertToId(search); - - var resultRows = document.getElementsByTagName("div"); - var matches = 0; - - var i = 0; - while (i < resultRows.length) - { - var row = resultRows.item(i); - if (row.className == "SRResult") - { - var rowMatchName = row.id.toLowerCase(); - rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_' - - if (search.length<=rowMatchName.length && - rowMatchName.substr(0, search.length)==search) - { - row.style.display = 'block'; - matches++; - } - else - { - row.style.display = 'none'; - } - } - i++; - } - document.getElementById("Searching").style.display='none'; - if (matches == 0) // no results - { - document.getElementById("NoMatches").style.display='block'; - } - else // at least one result - { - document.getElementById("NoMatches").style.display='none'; - } - this.lastMatchCount = matches; - return true; - } - - // return the first item with index index or higher that is visible - this.NavNext = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index++; - } - return focusItem; - } - - this.NavPrev = function(index) - { - var focusItem; - while (1) - { - var focusName = 'Item'+index; - focusItem = document.getElementById(focusName); - if (focusItem && focusItem.parentNode.parentNode.style.display=='block') - { - break; - } - else if (!focusItem) // last element - { - break; - } - focusItem=null; - index--; - } - return focusItem; - } - - this.ProcessKeys = function(e) - { - if (e.type == "keydown") - { - this.repeatOn = false; - this.lastKey = e.keyCode; - } - else if (e.type == "keypress") - { - if (!this.repeatOn) - { - if (this.lastKey) this.repeatOn = true; - return false; // ignore first keypress after keydown - } - } - else if (e.type == "keyup") - { - this.lastKey = 0; - this.repeatOn = false; - } - return this.lastKey!=0; - } - - this.Nav = function(evt,itemIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - var newIndex = itemIndex-1; - var focusItem = this.NavPrev(newIndex); - if (focusItem) - { - var child = this.FindChildElement(focusItem.parentNode.parentNode.id); - if (child && child.style.display == 'block') // children visible - { - var n=0; - var tmpElem; - while (1) // search for last child - { - tmpElem = document.getElementById('Item'+newIndex+'_c'+n); - if (tmpElem) - { - focusItem = tmpElem; - } - else // found it! - { - break; - } - n++; - } - } - } - if (focusItem) - { - focusItem.focus(); - } - else // return focus to search field - { - parent.document.getElementById("MSearchField").focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = itemIndex+1; - var focusItem; - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem && elem.style.display == 'block') // children visible - { - focusItem = document.getElementById('Item'+itemIndex+'_c0'); - } - if (!focusItem) focusItem = this.NavNext(newIndex); - if (focusItem) focusItem.focus(); - } - else if (this.lastKey==39) // Right - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'block'; - } - else if (this.lastKey==37) // Left - { - var item = document.getElementById('Item'+itemIndex); - var elem = this.FindChildElement(item.parentNode.parentNode.id); - if (elem) elem.style.display = 'none'; - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } - - this.NavChild = function(evt,itemIndex,childIndex) - { - var e = (evt) ? evt : window.event; // for IE - if (e.keyCode==13) return true; - if (!this.ProcessKeys(e)) return false; - - if (this.lastKey==38) // Up - { - if (childIndex>0) - { - var newIndex = childIndex-1; - document.getElementById('Item'+itemIndex+'_c'+newIndex).focus(); - } - else // already at first child, jump to parent - { - document.getElementById('Item'+itemIndex).focus(); - } - } - else if (this.lastKey==40) // Down - { - var newIndex = childIndex+1; - var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex); - if (!elem) // last child, jump to parent next parent - { - elem = this.NavNext(itemIndex+1); - } - if (elem) - { - elem.focus(); - } - } - else if (this.lastKey==27) // Escape - { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); - } - else if (this.lastKey==13) // Enter - { - return true; - } - return false; - } -} - -function setKeyActions(elem,action) -{ - elem.setAttribute('onkeydown',action); - elem.setAttribute('onkeypress',action); - elem.setAttribute('onkeyup',action); -} - -function setClassAttr(elem,attr) -{ - elem.setAttribute('class',attr); - elem.setAttribute('className',attr); -} - -function createResults() -{ - var results = document.getElementById("SRResults"); - for (var e=0; ek7RCwB~R6VQOP#AvB$vH7i{6H{96zot$7cZT<7246EF5Np6N}+$IbiG6W zg#87A+NFaX+=_^xM1#gCtshC=E{%9^uQX_%?YwXvo{#q&MnpJ8uh(O?ZRc&~_1%^SsPxG@rfElJg-?U zm!Cz-IOn(qJP3kDp-^~qt+FGbl=5jNli^Wj_xIBG{Rc0en{!oFvyoNC7{V~T8}b>| z=jL2WIReZzX(YN(_9fV;BBD$VXQIxNasAL8ATvEu822WQ%mvv4FO#qs` BFGc_W diff --git a/html/search/search_r.png b/html/search/search_r.png deleted file mode 100644 index 97ee8b439687084201b79c6f776a41f495c6392a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 612 zcmV-q0-ODbP)PbXFRCwB?)W514K@j&X?z2*SxFI6-@HT2E2K=9X9%Pb zEK*!TBw&g(DMC;|A)uGlRkOS9vd-?zNs%bR4d$w+ox_iFnE8fvIvv7^5<(>Te12Li z7C)9srCzmK{ZcNM{YIl9j{DePFgOWiS%xG@5CnnnJa4nvY<^glbz7^|-ZY!dUkAwd z{gaTC@_>b5h~;ug#R0wRL0>o5!hxm*s0VW?8dr}O#zXTRTnrQm_Z7z1Mrnx>&p zD4qifUjzLvbVVWi?l?rUzwt^sdb~d!f_LEhsRVIXZtQ=qSxuxqm zEX#tf>$?M_Y1-LSDT)HqG?`%-%ZpY!#{N!rcNIiL;G7F0`l?)mNGTD9;f9F5Up3Kg zw}a<-JylhG&;=!>B+fZaCX+?C+kHYrP%c?X2!Zu_olK|GcS4A70HEy;vn)I0>0kLH z`jc(WIaaHc7!HS@f*^R^Znx8W=_jIl2oWJoQ*h1^$FX!>*PqR1J8k|fw}w_y}TpE>7m8DqDO<3z`OzXt$ccSejbEZCg@0000-{AmhX=Jf(#6djGiuzAr*{o?=JLmPLyc> z_*`QK&+BH@jWrYJ7>r6%keRM@)Qyv8R=enp0jiI>aWlGyB58O zFVR20d+y`K7vDw(hJF3;>dD*3-?v=<8M)@x|EEGLnJsniYK!2U1 Y!`|5biEc?d1`HDhPgg&ebxsLQ02F6;9RL6T diff --git a/html/struct_struct_i2_c_slave.html b/html/struct_struct_i2_c_slave.html new file mode 100644 index 0000000..b2b4c88 --- /dev/null +++ b/html/struct_struct_i2_c_slave.html @@ -0,0 +1,203 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): StructI2CSlave Struct Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + +
+
+ +
+
StructI2CSlave Struct Reference
+
+
+ +

ci2c slave config and control parameters + More...

+ +

#include <src/ci2c.h>

+ + + + + + + + + + + + + + + + + + + + + + + +

+Data Fields

struct {
   uint8_t   addr
 Slave address. More...
 
   I2C_INT_SIZE   reg_size
 Slave internal registers size. More...
 
   ci2c_fct_ptr   wr
 Slave write function pointer. More...
 
   ci2c_fct_ptr   rd
 Slave read function pointer. More...
 
cfg
 
uint16_t reg_addr
 Internal current register address. More...
 
I2C_STATUS status
 Status of the last communications. More...
 
+

Detailed Description

+

ci2c slave config and control parameters

+
GCC Attributes:
packed struct
+

Field Documentation

+ +

◆ addr

+ +
+
+ + + + +
uint8_t StructI2CSlave::addr
+
+ +

Slave address.

+ +
+
+ +

◆ cfg

+ +
+
+ + + + +
struct { ... } StructI2CSlave::cfg
+
+ +
+
+ +

◆ rd

+ +
+
+ + + + +
ci2c_fct_ptr StructI2CSlave::rd
+
+ +

Slave read function pointer.

+ +
+
+ +

◆ reg_addr

+ +
+
+ + + + +
uint16_t StructI2CSlave::reg_addr
+
+ +

Internal current register address.

+ +
+
+ +

◆ reg_size

+ +
+
+ + + + +
I2C_INT_SIZE StructI2CSlave::reg_size
+
+ +

Slave internal registers size.

+ +
+
+ +

◆ status

+ +
+
+ + + + +
I2C_STATUS StructI2CSlave::status
+
+ +

Status of the last communications.

+ +
+
+ +

◆ wr

+ +
+
+ + + + +
ci2c_fct_ptr StructI2CSlave::wr
+
+ +

Slave write function pointer.

+ +
+
+
The documentation for this struct was generated from the following file: +
+ + + + diff --git a/html/structcfg.html b/html/structcfg.html new file mode 100644 index 0000000..cf946dc --- /dev/null +++ b/html/structcfg.html @@ -0,0 +1,62 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): cfg Struct Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + +
+
+
+
cfg Struct Reference
+
+
+ +

ci2c bus parameters + More...

+

Detailed Description

+

ci2c bus parameters

+

The documentation for this struct was generated from the following file: +
+ + + + diff --git a/html/structi2c.html b/html/structi2c.html new file mode 100644 index 0000000..2527eef --- /dev/null +++ b/html/structi2c.html @@ -0,0 +1,62 @@ + + + + + + + +Arduino Hardware I2C for AVR MCUs (plain c): i2c Struct Reference + + + + + + +
+
+ + + + + + +
+
Arduino Hardware I2C for AVR MCUs (plain c) +  1.3 +
+
Arduino Hardware I2C for AVR MCUs (plain c) documentation
+
+
+ + + + + + +
+
+
+
i2c Struct Reference
+
+
+ +

static ci2c bus config and control parameters + More...

+

Detailed Description

+

static ci2c bus config and control parameters

+

The documentation for this struct was generated from the following file: +
+ + + +