<divclass="ttc"id="ci2c_8h_html_a72ff1cee208396b40ebb555f1ed83743aeceba296bdda2b90e8835c431fe7a72a"><divclass="ttname"><ahref="ci2c_8h.html#a72ff1cee208396b40ebb555f1ed83743aeceba296bdda2b90e8835c431fe7a72a">I2C_OK</a></div><divclass="ttdoc">I2C OK. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:62</div></div>
<divclass="ttc"id="ci2c_8h_html_af93c2e35e06edcea492607b628d5ae1f"><divclass="ttname"><ahref="ci2c_8h.html#af93c2e35e06edcea492607b628d5ae1f">I2C_slave_init</a></div><divclass="ttdeci">void I2C_slave_init(I2C_SLAVE *slave, const uint8_t sl_addr, const I2C_INT_SIZE reg_sz)</div><divclass="ttdoc">Init an I2C slave structure for cMI2C communication. </div><divclass="ttdef"><b>Definition:</b> ci2c.c:61</div></div>
<divclass="ttc"id="ci2c_8h_html_a41be982659cb049fcdf88a18e3e4c4e0"><divclass="ttname"><ahref="ci2c_8h.html#a41be982659cb049fcdf88a18e3e4c4e0">I2C_slave_get_reg_addr</a></div><divclass="ttdeci">uint16_t I2C_slave_get_reg_addr(const I2C_SLAVE *slave)</div><divclass="ttdoc">Get I2C current register address (addr may passed this way in procedures if contigous accesses) ...</div><divclass="ttdef"><b>Definition:</b> ci2c.h:155</div></div>
<divclass="ttc"id="ci2c_8h_html_a72ff1cee208396b40ebb555f1ed83743a49e65f3960437d80b8328e7898cc90de"><divclass="ttname"><ahref="ci2c_8h.html#a72ff1cee208396b40ebb555f1ed83743a49e65f3960437d80b8328e7898cc90de">I2C_BUSY</a></div><divclass="ttdoc">I2C Bus busy. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:63</div></div>
<divclass="ttc"id="ci2c_8h_html_a938af1642c47503bcefa8c8de11d7173adbf6337ed546b3c21fd08c397a346bb2"><divclass="ttname"><ahref="ci2c_8h.html#a938af1642c47503bcefa8c8de11d7173adbf6337ed546b3c21fd08c397a346bb2">I2C_WRITE</a></div><divclass="ttdoc">I2C rw bit (write) </div><divclass="ttdef"><b>Definition:</b> ci2c.h:40</div></div>
<divclass="ttc"id="struct_struct_i2_c_slave_html_a0cf6f22dd2f68f43d63c377065f75237"><divclass="ttname"><ahref="struct_struct_i2_c_slave.html#a0cf6f22dd2f68f43d63c377065f75237">StructI2CSlave::reg_addr</a></div><divclass="ttdeci">uint16_t reg_addr</div><divclass="ttdoc">Internal current register address. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:95</div></div>
<divclass="ttc"id="struct_struct_i2_c_slave_html_a105b8255b0afd005126ef5ce8ee79eee"><divclass="ttname"><ahref="struct_struct_i2_c_slave.html#a105b8255b0afd005126ef5ce8ee79eee">StructI2CSlave::rd</a></div><divclass="ttdeci">ci2c_fct_ptr rd</div><divclass="ttdoc">Slave read function pointer. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:93</div></div>
<divclass="ttc"id="ci2c_8h_html_a6572c289eb10e3543e42d34e710f5b67acf556067cbb57aaf5f6c71e64fa46cb6"><divclass="ttname"><ahref="ci2c_8h.html#a6572c289eb10e3543e42d34e710f5b67acf556067cbb57aaf5f6c71e64fa46cb6">I2C_STD</a></div><divclass="ttdoc">I2C Standard (100KHz) </div><divclass="ttdef"><b>Definition:</b> ci2c.h:50</div></div>
<divclass="ttc"id="ci2c_8h_html_a98a8ae8df4864bb7d9a8b4509d863513a61e2f99ae5ece961b270ed978f43ffca"><divclass="ttname"><ahref="ci2c_8h.html#a98a8ae8df4864bb7d9a8b4509d863513a61e2f99ae5ece961b270ed978f43ffca">I2C_8B_REG</a></div><divclass="ttdoc">Slave internal address registers space is 8bits wide. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:73</div></div>
<divclass="ttc"id="ci2c_8h_html_a938af1642c47503bcefa8c8de11d7173a30040082a257338fe25e5bd5136bc9a8"><divclass="ttname"><ahref="ci2c_8h.html#a938af1642c47503bcefa8c8de11d7173a30040082a257338fe25e5bd5136bc9a8">I2C_READ</a></div><divclass="ttdoc">I2C rw bit (read) </div><divclass="ttdef"><b>Definition:</b> ci2c.h:41</div></div>
<divclass="ttc"id="ci2c_8h_html_ad5e4a006f6cea5844a810fab30b40f87"><divclass="ttname"><ahref="ci2c_8h.html#ad5e4a006f6cea5844a810fab30b40f87">I2C_read</a></div><divclass="ttdeci">I2C_STATUS I2C_read(I2C_SLAVE *slave, const uint16_t reg_addr, uint8_t *data, const uint16_t bytes)</div><divclass="ttdoc">This function reads data from the address specified and stores this data in the area provided by the ...</div><divclass="ttdef"><b>Definition:</b> ci2c.c:262</div></div>
<divclass="ttc"id="ci2c_8h_html_a6572c289eb10e3543e42d34e710f5b67"><divclass="ttname"><ahref="ci2c_8h.html#a6572c289eb10e3543e42d34e710f5b67">enI2C_SPEED</a></div><divclass="ttdeci">enI2C_SPEED</div><divclass="ttdoc">I2C bus speed. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:49</div></div>
<divclass="ttc"id="ci2c_8h_html_ad74e31ebd08a9ddef57f571783f37cc7"><divclass="ttname"><ahref="ci2c_8h.html#ad74e31ebd08a9ddef57f571783f37cc7">I2C_set_retries</a></div><divclass="ttdeci">uint8_t I2C_set_retries(const uint8_t retries)</div><divclass="ttdoc">Change I2C message retries (in case of failure) </div><divclass="ttdef"><b>Definition:</b> ci2c.c:199</div></div>
<divclass="ttc"id="ci2c_8h_html_a98a8ae8df4864bb7d9a8b4509d863513a32d90f6214c5b494454666979a87b595"><divclass="ttname"><ahref="ci2c_8h.html#a98a8ae8df4864bb7d9a8b4509d863513a32d90f6214c5b494454666979a87b595">I2C_NO_REG</a></div><divclass="ttdoc">Internal address registers not applicable for slave. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:72</div></div>
<divclass="ttc"id="ci2c_8h_html_a99283d800332d700deed19f5a37e61d8"><divclass="ttname"><ahref="ci2c_8h.html#a99283d800332d700deed19f5a37e61d8">I2C_init</a></div><divclass="ttdeci">void I2C_init(const uint16_t speed)</div><divclass="ttdoc">Enable I2c module on arduino board (including pull-ups, enabling of ACK, and setting clock frequency)...</div><divclass="ttdef"><b>Definition:</b> ci2c.c:122</div></div>
<divclass="ttc"id="ci2c_8h_html_afc15fc625892e1e50e831d7934073299"><divclass="ttname"><ahref="ci2c_8h.html#afc15fc625892e1e50e831d7934073299">I2C_read_next</a></div><divclass="ttdeci">I2C_STATUS I2C_read_next(I2C_SLAVE *slave, uint8_t *data, const uint16_t bytes)</div><divclass="ttdoc">This inline is a wrapper to I2C_read in case of contigous operations. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:234</div></div>
<divclass="ttc"id="ci2c_8h_html_add4eec772922da692bdbb84c354a3fa0"><divclass="ttname"><ahref="ci2c_8h.html#add4eec772922da692bdbb84c354a3fa0">I2C_write_next</a></div><divclass="ttdeci">I2C_STATUS I2C_write_next(I2C_SLAVE *slave, uint8_t *data, const uint16_t bytes)</div><divclass="ttdoc">This inline is a wrapper to I2C_write in case of contigous operations. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:214</div></div>
<divclass="ttc"id="ci2c_8h_html_a74e1381b536811b202d087471723fb9e"><divclass="ttname"><ahref="ci2c_8h.html#a74e1381b536811b202d087471723fb9e">I2C_uninit</a></div><divclass="ttdeci">void I2C_uninit()</div><divclass="ttdoc">Disable I2c module on arduino board (releasing pull-ups, and TWI control) </div><divclass="ttdef"><b>Definition:</b> ci2c.c:139</div></div>
<divclass="ttc"id="ci2c_8h_html_a72ff1cee208396b40ebb555f1ed83743ae869b289c6b9b73b95dd1b40cbc9d651"><divclass="ttname"><ahref="ci2c_8h.html#a72ff1cee208396b40ebb555f1ed83743ae869b289c6b9b73b95dd1b40cbc9d651">I2C_NACK</a></div><divclass="ttdoc">I2C Not Acknowledge. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:64</div></div>
<divclass="ttc"id="struct_struct_i2_c_slave_html"><divclass="ttname"><ahref="struct_struct_i2_c_slave.html">StructI2CSlave</a></div><divclass="ttdoc">ci2c slave config and control parameters </div><divclass="ttdef"><b>Definition:</b> ci2c.h:85</div></div>
<divclass="ttc"id="struct_struct_i2_c_slave_html_a5535a5ae60da0c21c6a739f4280c63a6"><divclass="ttname"><ahref="struct_struct_i2_c_slave.html#a5535a5ae60da0c21c6a739f4280c63a6">StructI2CSlave::status</a></div><divclass="ttdeci">I2C_STATUS status</div><divclass="ttdoc">Status of the last communications. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:96</div></div>
<divclass="ttc"id="ci2c_8h_html_a6572c289eb10e3543e42d34e710f5b67a6595b5891728545ae73b56eecaedeae6"><divclass="ttname"><ahref="ci2c_8h.html#a6572c289eb10e3543e42d34e710f5b67a6595b5891728545ae73b56eecaedeae6">I2C_HS</a></div><divclass="ttdoc">I2C High Speed (3.4MHz): will set speed to Fast Mode (up to 400KHz on avr) </div><divclass="ttdef"><b>Definition:</b> ci2c.h:53</div></div>
<divclass="ttc"id="ci2c_8h_html_a2c25bc5fdf909b7d45d722970eb04d82"><divclass="ttname"><ahref="ci2c_8h.html#a2c25bc5fdf909b7d45d722970eb04d82">I2C_reset</a></div><divclass="ttdeci">void I2C_reset(void)</div><divclass="ttdoc">I2C bus reset (Release SCL and SDA lines and re-enable module) </div><divclass="ttdef"><b>Definition:</b> ci2c.c:157</div></div>
<divclass="ttc"id="ci2c_8h_html_a6572c289eb10e3543e42d34e710f5b67acab280b484ea06a499900154515f3005"><divclass="ttname"><ahref="ci2c_8h.html#a6572c289eb10e3543e42d34e710f5b67acab280b484ea06a499900154515f3005">I2C_FMP</a></div><divclass="ttdoc">I2C Fast mode + (1MHz): will set speed to Fast Mode (up to 400KHz on avr) </div><divclass="ttdef"><b>Definition:</b> ci2c.h:52</div></div>
<divclass="ttc"id="ci2c_8h_html_a6572c289eb10e3543e42d34e710f5b67ad87a75087baf689cf3a240a769d2b558"><divclass="ttname"><ahref="ci2c_8h.html#a6572c289eb10e3543e42d34e710f5b67ad87a75087baf689cf3a240a769d2b558">I2C_FM</a></div><divclass="ttdoc">I2C Fast Mode (400KHz) </div><divclass="ttdef"><b>Definition:</b> ci2c.h:51</div></div>
<divclass="ttc"id="ci2c_8c_html_a182293bc8273b099986183c0959e77da"><divclass="ttname"><ahref="ci2c_8c.html#a182293bc8273b099986183c0959e77da">speed</a></div><divclass="ttdeci">I2C_SPEED speed</div><divclass="ttdoc">i2c bus speed </div><divclass="ttdef"><b>Definition:</b> ci2c.c:41</div></div>
<divclass="ttc"id="ci2c_8h_html_ab20db75dfa22dc47df506cab3bd11c60"><divclass="ttname"><ahref="ci2c_8h.html#ab20db75dfa22dc47df506cab3bd11c60">I2C_wr8</a></div><divclass="ttdeci">bool I2C_wr8(const uint8_t dat)</div><divclass="ttdoc">Send byte on bus. </div><divclass="ttdef"><b>Definition:</b> ci2c.c:317</div></div>
<divclass="ttc"id="ci2c_8h_html_a98a8ae8df4864bb7d9a8b4509d863513af7da1353d311749981b6ad185fa4d2d9"><divclass="ttname"><ahref="ci2c_8h.html#a98a8ae8df4864bb7d9a8b4509d863513af7da1353d311749981b6ad185fa4d2d9">I2C_16B_REG</a></div><divclass="ttdoc">Slave internal address registers space is 16bits wide. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:74</div></div>
<divclass="ttc"id="ci2c_8h_html_a938af1642c47503bcefa8c8de11d7173"><divclass="ttname"><ahref="ci2c_8h.html#a938af1642c47503bcefa8c8de11d7173">enI2C_RW</a></div><divclass="ttdeci">enI2C_RW</div><divclass="ttdoc">I2C RW bit enumeration. </div><divclass="ttdef"><b>Definition:</b> ci2c.h:39</div></div>
<divclass="ttc"id="ci2c_8h_html_a83adef951ffd9fb5105216f6ee464bb9"><divclass="ttname"><ahref="ci2c_8h.html#a83adef951ffd9fb5105216f6ee464bb9">I2C_write</a></div><divclass="ttdeci">I2C_STATUS I2C_write(I2C_SLAVE *slave, const uint16_t reg_addr, uint8_t *data, const uint16_t bytes)</div><divclass="ttdoc">This function writes the provided data to the address specified. </div><divclass="ttdef"><b>Definition:</b> ci2c.c:251</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hrclass="footer"/><addressclass="footer"><small>
Generated by  <ahref="http://www.doxygen.org/index.html">