Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
sol_i2c_op Struct Reference

Structure to describe an operation that should be executed by the I2C Dispatcher. More...

#include <sol-i2c.h>

Data Fields

uint8_t reg
 I2C register in the slave device. More...
 
enum sol_i2c_op_type type
 I2C Operation type. More...
 
uint8_t value
 Operation data. More...
 

Detailed Description

Structure to describe an operation that should be executed by the I2C Dispatcher.

Each operation is intended to read/write a single byte on the slave device.

Field Documentation

uint8_t sol_i2c_op::reg

I2C register in the slave device.

enum sol_i2c_op_type sol_i2c_op::type

I2C Operation type.

uint8_t sol_i2c_op::value

Operation data.


The documentation for this struct was generated from the following file: