Zephyr Project API
3.2.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 |
const uint16_t | addr |
const uint8_t | lvr |
void * | controller_priv |
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
void* i3c_i2c_device_desc::controller_priv |
Private data by the controller to aid in transactions. Do not modify.
const uint8_t i3c_i2c_device_desc::lvr |
Legacy Virtual Register (LVR)
sys_snode_t i3c_i2c_device_desc::node |
Private, do not modify