Zephyr Project API 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
spi_driver_api Struct Reference

@driver_ops{SPI} More...

#include <spi.h>

Data Fields

spi_api_io transceive
 @driver_ops_mandatory Read/write the specified amount of data from the SPI driver.
spi_api_io_async transceive_async
 @driver_ops_optional Read/write the specified amount of data from the SPI driver asynchronously.
spi_api_iodev_submit iodev_submit
 @driver_ops_optional Submit a SPI device with a request.
spi_api_release release
 @driver_ops_mandatory Release the SPI device locked on and/or the CS by the current config.

Detailed Description

@driver_ops{SPI}

Field Documentation

◆ iodev_submit

spi_api_iodev_submit spi_driver_api::iodev_submit

@driver_ops_optional Submit a SPI device with a request.

Attention
Available only when the following Kconfig option is enabled:
CONFIG_SPI_RTIO 
.

◆ release

spi_api_release spi_driver_api::release

@driver_ops_mandatory Release the SPI device locked on and/or the CS by the current config.

◆ transceive

spi_api_io spi_driver_api::transceive

@driver_ops_mandatory Read/write the specified amount of data from the SPI driver.

◆ transceive_async

spi_api_io_async spi_driver_api::transceive_async

@driver_ops_optional Read/write the specified amount of data from the SPI driver asynchronously.

Attention
Available only when the following Kconfig option is enabled:
CONFIG_SPI_ASYNC 
.

The documentation for this struct was generated from the following file:
  • include/zephyr/drivers/spi.h