Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
spi_buf Struct Reference

SPI buffer structure. More...

#include <spi.h>

Data Fields

voidbuf
 
size_t len
 

Detailed Description

SPI buffer structure.

Parameters
bufis a valid pointer on a data buffer, or NULL otherwise.
lenis the length of the buffer or, if buf is NULL, will be the length which as to be sent as dummy bytes (as TX buffer) or the length of bytes that should be skipped (as RX buffer).

Field Documentation

◆ buf

void* spi_buf::buf

◆ len

size_t spi_buf::len

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