Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
|
One I3C Message. More...
#include <i3c.h>
Data Fields | |
uint8_t * | buf |
Data buffer in bytes. | |
uint32_t | len |
Length of buffer in bytes. | |
uint32_t | num_xfer |
Total number of bytes transferred. | |
uint8_t | flags |
Flags for this message. | |
uint8_t | hdr_mode |
HDR mode (I3C_MSG_HDR_MODE* ) for transfer if any I3C_MSG_HDR_* is set in flags. | |
uint8_t | hdr_cmd_code |
HDR command code field (7-bit) for HDR-DDR, HDR-TSP and HDR-TSL. | |
One I3C Message.
This defines one I3C message to transact on the I3C bus.
uint8_t* i3c_msg::buf |
Data buffer in bytes.
uint8_t i3c_msg::flags |
Flags for this message.
uint8_t i3c_msg::hdr_cmd_code |
HDR command code field (7-bit) for HDR-DDR, HDR-TSP and HDR-TSL.
uint8_t i3c_msg::hdr_mode |
HDR mode (I3C_MSG_HDR_MODE*
) for transfer if any I3C_MSG_HDR_*
is set in flags.
Use SDR mode if none is set.
uint32_t i3c_msg::len |
Length of buffer in bytes.
uint32_t i3c_msg::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.