Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
i3c_ccc_target_payload Struct Reference

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_tdata
 
size_t data_len
 Length in bytes for data.
 
size_t num_xfer
 Total number of bytes transferred.
 

Detailed Description

Payload structure for Direct CCC to one target.

Field Documentation

◆ addr

uint8_t i3c_ccc_target_payload::addr

Target address.

◆ data

uint8_t* i3c_ccc_target_payload::data
  • For Write CCC, pointer to the byte array of data to be sent, which may contain the Sub-Command Byte and additional data.
  • For Read CCC, pointer to the byte buffer for data to be read into.

◆ data_len

size_t i3c_ccc_target_payload::data_len

Length in bytes for data.

◆ num_xfer

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.

◆ rnw

uint8_t i3c_ccc_target_payload::rnw

0 for Write, 1 for Read


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