TT Zephyr Platforms 19.5.0-rc1
Tenstorrent Firmware
Loading...
Searching...
No Matches
i2c_message_rqst Struct Reference

Host request for I2C message transaction. More...

#include <msgqueue.h>

Data Fields

uint8_t command_code
 The command code corresponding to TT_SMC_MSG_I2C_MESSAGE.
uint8_t i2c_mst_id
 I2C master ID.
uint8_t i2c_slave_address
 I2C slave address (7-bit)
uint8_t num_write_bytes
 Number of bytes to write.
uint8_t num_read_bytes
 Number of bytes to read.
uint8_t pad [3]
 Three bytes of padding.
uint8_t write_data [24]
 Write data buffer (up to 24 bytes)

Detailed Description

Host request for I2C message transaction.

Messages of this type are processed by i2c_message_handler

Field Documentation

◆ command_code

uint8_t i2c_message_rqst::command_code

The command code corresponding to TT_SMC_MSG_I2C_MESSAGE.

◆ i2c_mst_id

uint8_t i2c_message_rqst::i2c_mst_id

I2C master ID.

◆ i2c_slave_address

uint8_t i2c_message_rqst::i2c_slave_address

I2C slave address (7-bit)

◆ num_read_bytes

uint8_t i2c_message_rqst::num_read_bytes

Number of bytes to read.

◆ num_write_bytes

uint8_t i2c_message_rqst::num_write_bytes

Number of bytes to write.

◆ pad

uint8_t i2c_message_rqst::pad[3]

Three bytes of padding.

◆ write_data

uint8_t i2c_message_rqst::write_data[24]

Write data buffer (up to 24 bytes)


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