|
TT Zephyr Platforms 19.5.0-rc1
Tenstorrent Firmware
|
Macros | |
| #define | DATA_TOO_LARGE 0x01 |
| #define | BYTE_GET(v, b) |
Functions | |
| static uint8_t | i2c_message_handler (const union request *request, struct response *response) |
| Handler for TT_SMC_MSG_I2C_MESSAGE messages. | |
| REGISTER_MESSAGE (TT_SMC_MSG_I2C_MESSAGE, i2c_message_handler) | |
| #define BYTE_GET | ( | v, | |
| b ) |
| #define DATA_TOO_LARGE 0x01 |
Handler for TT_SMC_MSG_I2C_MESSAGE messages.
Performs I2C read/write transactions. The message can contain both write and read operations in a single transaction.
| request | Pointer to the host request message, use request->i2c_message for structured access |
| response | Pointer to the response message to be sent back to host, will contain:
|
| REGISTER_MESSAGE | ( | TT_SMC_MSG_I2C_MESSAGE | , |
| i2c_message_handler | ) |