MT7697 API Reference  LinkIt SDK v4
hal_i2c_send_to_receive_config_t Struct Reference

This structure defines the configuration settings for send_to_receive transaction format. More...

#include <hal_i2c_master.h>

Data Fields

uint8_t slave_address
 The slave device address. More...
 
const uint8_t * send_data
 The send data buffer. More...
 
uint32_t send_length
 The length of data to send. More...
 
uint8_t * receive_buffer
 The receive data buffer. More...
 
uint32_t receive_length
 The length of data to receive. More...
 

Detailed Description

This structure defines the configuration settings for send_to_receive transaction format.

For details about send_to_receive format, see Transaction Length And transaction packet of APIs chapter

Field Documentation

uint8_t* receive_buffer

The receive data buffer.

uint32_t receive_length

The length of data to receive.

The unit is in bytes.

const uint8_t* send_data

The send data buffer.

uint32_t send_length

The length of data to send.

The unit is in bytes.

uint8_t slave_address

The slave device address.


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