|
TT Zephyr Platforms 19.5.0-rc1
Tenstorrent Firmware
|
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) | |
Host request for I2C message transaction.
Messages of this type are processed by i2c_message_handler
| uint8_t i2c_message_rqst::command_code |
The command code corresponding to TT_SMC_MSG_I2C_MESSAGE.
| uint8_t i2c_message_rqst::i2c_mst_id |
I2C master ID.
| uint8_t i2c_message_rqst::i2c_slave_address |
I2C slave address (7-bit)
| uint8_t i2c_message_rqst::num_read_bytes |
Number of bytes to read.
| uint8_t i2c_message_rqst::num_write_bytes |
Number of bytes to write.
| uint8_t i2c_message_rqst::pad[3] |
Three bytes of padding.
| uint8_t i2c_message_rqst::write_data[24] |
Write data buffer (up to 24 bytes)