Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
|
4.1.99 |
SPI buffer structure. More...
#include <spi.h>
Data Fields | |
void * | buf |
Valid pointer to a data buffer, or NULL for NOP indication. | |
size_t | len |
Length of the buffer buf in bytes, or length of NOP. | |
SPI buffer structure.
A SPI buffer describes either a real data buffer or an indication of NOP For a NOP indicator: If buffer is used for TX, only 0's will be sent for the length on the bus If buffer is used for RX, that length of data received by bus will be ignored/skipped
void* spi_buf::buf |
Valid pointer to a data buffer, or NULL for NOP indication.
size_t spi_buf::len |
Length of the buffer buf in bytes, or length of NOP.