|
Tizen RT Public API
v1.0 D5
|
Iotbus APIs for I2C. More...
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
| typedef struct _iotbus_i2c_s * | iotbus_i2c_context_h |
| Pointer definition to the internal struct _iotbus_i2c_s. More... | |
Enumerations |
Functions | |
| iotbus_i2c_context_h | iotbus_i2c_init (int bus) |
| initializes i2c_context. More... | |
| int | iotbus_i2c_stop (iotbus_i2c_context_h hnd) |
| closes i2c_context. More... | |
| int | iotbus_i2c_set_frequency (iotbus_i2c_context_h hnd, iotbus_i2c_mode_e mode) |
| sets the i2c frequency. More... | |
| int | iotbus_i2c_set_address (iotbus_i2c_context_h hnd, uint8_t address) |
| sets the i2c slave address. More... | |
| int | iotbus_i2c_read (iotbus_i2c_context_h hnd, uint8_t *data, int length) |
| reads from i2c device. More... | |
| int | iotbus_i2c_write (iotbus_i2c_context_h hnd, const uint8_t *data, int length) |
| writes to i2c device. More... | |
Iotbus APIs for I2C.
Definition in file iotbus_i2c.h.