![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Perform an I2C master-write transaction
#include <gf/gf.h>
int gf_i2c_write ( gf_dev_t gdev,
int busno,
int slaveaddr,
uint8_t * odata,
int obytes );
gf
This function performs an I2C master-write transaction.
![]() |
Threads should not call this function between calls to gf_draw_begin() and gf_draw_end(), or a deadlock will occur. |
QNX Graphics Framework
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
gf_i2c_read(), gf_i2c_writeread()
![]() |
![]() |
![]() |
![]() |