Zephyr API Documentation  3.7.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
spi_buf Struct Reference

SPI buffer structure. More...

#include <spi.h>

Data Fields

void * buf
 Valid pointer to a data buffer, or NULL otherwise.
 
size_t len
 Length of the buffer buf.
 

Detailed Description

SPI buffer structure.

Field Documentation

◆ buf

void* spi_buf::buf

Valid pointer to a data buffer, or NULL otherwise.

◆ len

size_t spi_buf::len

Length of the buffer buf.

If buf is NULL, length which as to be sent as dummy bytes (as TX buffer) or the length of bytes that should be skipped (as RX buffer).


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