Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
Structure describing a I2C device on I3C bus. More...
#include <i3c.h>
Data Fields | |
sys_snode_t | node |
const struct device * | bus |
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) | |
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.
const uint16_t i3c_i2c_device_desc::addr |
Static address for this I2C device.
const struct device* i3c_i2c_device_desc::bus |
I3C bus to which this I2C device is attached.
sys_snode_t i3c_i2c_device_desc::node |