# I2cMsg ## **Overview** **Related Modules:** [I2C](I2C.md) **Description:** Defines the I2C transfer message used during custom transfers. **Since:** 1.0 ## **Summary** ## Data Fields

Variable Name

Description

addr

uint16_t 

buf

uint8_t * 

len

uint16_t 

flags

uint16_t 

## **Details** ## **Field Documentation** ## addr ``` uint16_t I2cMsg::addr ``` **Description:** Address of the I2C device ## buf ``` uint8_t* I2cMsg::buf ``` **Description:** Address of the buffer for storing transferred data ## flags ``` uint16_t I2cMsg::flags ``` ## len ``` uint16_t I2cMsg::len ``` **Description:** Length of the transferred data