Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
i3c_target_config Struct Reference

Structure describing a device that supports the I3C target API. More...

#include <target_device.h>

Data Fields

sys_snode_t node
 
uint8_t flags
 Flags for the target device defined by I3C_TARGET_FLAGS_* constants.
 
uint8_t address
 Address for this target device.
 
const struct i3c_target_callbackscallbacks
 Callback functions.
 

Detailed Description

Structure describing a device that supports the I3C target API.

Instances of this are passed to the i3c_target_register() and i3c_target_unregister() functions to indicate addition and removal of a target device, respective.

Fields other than node must be initialized by the module that implements the device behavior prior to passing the object reference to i3c_target_register().

Field Documentation

◆ address

uint8_t i3c_target_config::address

Address for this target device.

◆ callbacks

const struct i3c_target_callbacks* i3c_target_config::callbacks

Callback functions.

◆ flags

uint8_t i3c_target_config::flags

Flags for the target device defined by I3C_TARGET_FLAGS_* constants.

◆ node

sys_snode_t i3c_target_config::node

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