| aI2C_Write4 | Index |
Definition:
Parameters:
| addr | - | The address of the I2C device. |
| reg | - | The register where the write operation will begin. |
| a | - | The first data byte to be written. |
| b | - | The second data byte to be written. |
| c | - | The third data byte to be written. |
| d | - | The fourth data byte to be written. |
Return Value:
Description:
Example:
aI2C_Write4((unsigned char)0xC0, 5, 1, 2, 3, 4);
This would write the bytes 1, 2, 3, 4 starting at register 5 in an I2C device with an address of 0xC0 (192).
Related: