Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
i3c_i2c_device_desc Struct Reference

Structure describing a I2C device on I3C bus. More...

#include <i3c.h>

Data Fields

sys_snode_t node
 
const struct devicebus
 I3C bus to which this I2C device is attached.
 
const uint16_t addr
 Static address for this I2C device.
 
const uint8_t lvr
 Legacy Virtual Register (LVR)
 

Detailed Description

Structure describing a I2C device on I3C bus.

Instances of this are passed to the I3C controller device APIs, for example: () i3c_i2c_device_register() to tell the controller of an I2C device. () i3c_i2c_transfers() to initiate data transfers between controller and I2C device.

Fields other than node must be initialized by the module that implements the device behavior prior to passing the object reference to I3C controller device APIs.

Field Documentation

◆ addr

const uint16_t i3c_i2c_device_desc::addr

Static address for this I2C device.

◆ bus

const struct device* i3c_i2c_device_desc::bus

I3C bus to which this I2C device is attached.

◆ lvr

const uint8_t i3c_i2c_device_desc::lvr

Legacy Virtual Register (LVR)

See also
I3C_LVR

◆ node

sys_snode_t i3c_i2c_device_desc::node

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