|
Zephyr API Documentation 4.3.0-rc2
A Scalable Open Source RTOS
|
Payload structure for one CCC transaction. More...
#include <zephyr/drivers/i3c/ccc.h>
Data Fields | |
| struct { | |
| uint8_t id | |
The CCC ID (I3C_CCC_*). More... | |
| uint8_t * data | |
| Pointer to byte array of data for this CCC. More... | |
| size_t data_len | |
| Length in bytes for optional data array. More... | |
| size_t num_xfer | |
| Total number of bytes transferred. More... | |
| enum i3c_sdr_controller_error_types err | |
| SDR Error Type. More... | |
| } | ccc |
| struct { | |
| struct i3c_ccc_target_payload * payloads | |
| Array of struct i3c_ccc_target_payload. More... | |
| size_t num_targets | |
| Number of targets. More... | |
| } | targets |
Payload structure for one CCC transaction.
| struct { ... } i3c_ccc_payload::ccc |
| uint8_t* i3c_ccc_payload::data |
Pointer to byte array of data for this CCC.
This is the bytes following the CCC command in CCC frame. Set to NULL if no associated data.
| size_t i3c_ccc_payload::data_len |
Length in bytes for optional data array.
| enum i3c_sdr_controller_error_types i3c_ccc_payload::err |
SDR Error Type.
Error from I3C Specification v1.1.1 section 5.1.10.2. It is expected for the driver to write to this.
| uint8_t i3c_ccc_payload::id |
The CCC ID (I3C_CCC_*).
| size_t i3c_ccc_payload::num_targets |
Number of targets.
| size_t i3c_ccc_payload::num_xfer |
Total number of bytes transferred.
A Controller can abort a transfer before the length of the buffer. It is expected for the driver to write to this after the transfer.
| struct i3c_ccc_target_payload* i3c_ccc_payload::payloads |
Array of struct i3c_ccc_target_payload.
Each element describes the target and associated payloads for this CCC.
Use with Direct CCC.
| struct { ... } i3c_ccc_payload::targets |