Zephyr API Documentation  3.5.0
A Scalable Open Source RTOS
3.5.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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.
 

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.

◆ 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: