Struct SYN_I2C_Transaction¶
ClassList > SYN_I2C_Transaction
I2C Transaction Descriptor.
#include <syn_i2c_queue.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint16_t | addr |
| uint8_t | bus |
| SYN_I2C_Queue_Callback | callback |
| uint32_t | clock_speed_hz |
| uint8_t * | rx_data |
| size_t | rx_len |
| const uint8_t * | tx_data |
| size_t | tx_len |
| void * | user_data |
Public Attributes Documentation¶
variable addr¶
7-bit target slave address
variable bus¶
I2C bus index
variable callback¶
Completion callback
variable clock_speed_hz¶
Target clock frequency in Hz (0 = default 100 kHz)
variable rx_data¶
RX buffer (NULL if write-only)
variable rx_len¶
RX byte count
variable tx_data¶
TX buffer (NULL if read-only)
variable tx_len¶
TX byte count
variable user_data¶
User context pointer
The documentation for this class was generated from the following file src/syntropic/drivers/syn_i2c_queue.h