MT7687 API Reference  LinkIt SDK v4
hal_spi_master_send_and_receive_config_t Struct Reference

SPI master send and receive configure structure. More...

#include <hal_spi_master.h>

Data Fields

uint8_t * send_data
 Buffer of data to be sent, this parameter cannot be NULL. More...
 
uint32_t send_length
 The number of bytes to send, this shouldn't larger than 4. More...
 
uint8_t * receive_buffer
 Buffer where received data are stored, this parameter cannot be NULL. More...
 
uint32_t receive_length
 The valid number of bytes received plus the number of bytes to send. More...
 

Detailed Description

SPI master send and receive configure structure.

Field Documentation

uint8_t* receive_buffer

Buffer where received data are stored, this parameter cannot be NULL.

uint32_t receive_length

The valid number of bytes received plus the number of bytes to send.

uint8_t* send_data

Buffer of data to be sent, this parameter cannot be NULL.

uint32_t send_length

The number of bytes to send, this shouldn't larger than 4.


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