Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Payload structure for Direct CCC to one target. More...
#include <ccc.h>
Data Fields | |
uint8_t | addr |
Target address. | |
uint8_t | rnw:1 |
0 for Write, 1 for Read | |
uint8_t * | data |
size_t | data_len |
Length in bytes for data . | |
size_t | num_xfer |
Total number of bytes transferred. | |
Payload structure for Direct CCC to one target.
uint8_t i3c_ccc_target_payload::addr |
Target address.
uint8_t* i3c_ccc_target_payload::data |
size_t i3c_ccc_target_payload::data_len |
Length in bytes for data
.
size_t i3c_ccc_target_payload::num_xfer |
Total number of bytes transferred.
A Target can issue an EoD or the Controller can abort a transfer before the length of the buffer. It is expected for the driver to write to this after the transfer.
uint8_t i3c_ccc_target_payload::rnw |
0
for Write, 1
for Read