IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


I2C Message structure. More...

Detailed Description

This data structure defines a message which is contained in the I2cData data structure.

typedef struct tag_i2cMsg
{
uint16 addr; // Slave address
uint16 flags; // Flags of this message (see below)
uint16 len; // Length of the message buffer
uint8 *buf; // Pointer to the message buffer

Flags:

I2C_MSG_TEN - Conversing with a 10-bit address.

I2C_MSG_RD - Message is a "read" message.

I2C_MSG_RECV_LEN - First received byte is the length of the response.

Since
V1.02





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Feb 9 2018 17:44:50 by Doxygen 1.8.13