gos_spi_message_t Struct Reference

SPI data message used by gos_spi_master_transfer() More...

Data Fields

const void * tx_buffer
Buffer to hold transmit data (leave NULL to transmit all Fs)
void * rx_buffer
Buffer to hold received data (leave NULL if not receiving anything)
uint32_t length
Length of transmit and/or receive buffer.

Detailed Description

SPI data message used by gos_spi_master_transfer()

Examples:
test/spi_loop_back/main.c .