MT2523 API Reference  LinkIt SDK v4
hal_spi_master_send_and_receive_config_t Struct Reference

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

#include <hal_spi_master.h>

Data Fields

uint8_t * send_data
 Data buffer to send, this parameter cannot be NULL. More...
 
uint32_t send_length
 The number of bytes to send, no greater than 4. More...
 
uint8_t * receive_buffer
 Received data buffer, this parameter cannot be NULL. More...
 
uint32_t receive_length
 The valid number of bytes received with the number of bytes to send. More...
 

Detailed Description

SPI master send and receive configuration structure.

Field Documentation

uint8_t* receive_buffer

Received data buffer, this parameter cannot be NULL.

uint32_t receive_length

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

uint8_t* send_data

Data buffer to send, this parameter cannot be NULL.

uint32_t send_length

The number of bytes to send, no greater than 4.


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