no-OS
|
#include <spi.h>
Public Attributes | |
uint8_t * | tx_buff |
uint8_t * | rx_buff |
uint32_t | bytes_number |
uint8_t | cs_change |
uint32_t spi_msg::bytes_number |
Length of buffers. Must have equal size.
uint8_t spi_msg::cs_change |
If set, CS will be deasserted after the transfer
uint8_t* spi_msg::rx_buff |
Buffer where to store data. If NULL, incoming data won't be saved
uint8_t* spi_msg::tx_buff |
Buffer with data to send. If NULL, 0x00 will be sent