diff --git a/html/FreeSans.ttf b/html/FreeSans.ttf new file mode 100644 index 0000000..b550b90 Binary files /dev/null and b/html/FreeSans.ttf differ 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
+
+
+ + + + + + + +
+
+
+Macros | +Functions
+
+
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
+
+
+ + + + + + + +
+
+
+Data Structures | +Macros | +Typedefs | +Enumerations | +Functions
+
+
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
+
+
+ + + + + + + +
+
+
+Functions | +Variables
+
+
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
+
+
+ + + + + + + +
+
+
+Functions | +Variables
+
+
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
+
+
+ + + + + + + +
+
+
+Functions | +Variables
+
+
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 17edabf..0000000 Binary files a/html/doc.png and /dev/null differ diff --git a/html/folderclosed.png b/html/folderclosed.png deleted file mode 100644 index bb8ab35..0000000 Binary files a/html/folderclosed.png and /dev/null differ diff --git a/html/folderopen.png b/html/folderopen.png deleted file mode 100644 index d6c7f67..0000000 Binary files a/html/folderopen.png and /dev/null differ 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:

+ +

The arrows have the following meaning:

+ +
+ + + + 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

- -

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

-

Notes

- -

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.

- -

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

-

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

- -

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

-

** Actual: v1.3 3 May 2018:

-

v1.2 30 Nov 2017:

-

v1.1 29 Nov 2017:

-

v1.0 21 Nov 2017:

-

v0.6 12 Jul 2017:

-

v0.5 31 Jan 2017:

-

v0.4 23 Jan 2017:

-

v0.3 22 Jan 2017:

-

v0.2 16 Jan 2017:

-
- - - - 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
-
-
-
Here is a list of all related documentation pages:
- - - -
 cI2C [![Build Status](https://travis-ci.org/SMFSW/cI2C.svg?branch=master)](https://travis-ci.org/SMFSW/cI2C)
 ReleaseNotes
-
-
- - - - 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 9342d3d..0000000 Binary files a/html/search/close.png and /dev/null differ diff --git a/html/search/mag_sel.png b/html/search/mag_sel.png deleted file mode 100644 index 81f6040..0000000 Binary files a/html/search/mag_sel.png and /dev/null differ 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; e + + + + + + +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: +
+ + + +