Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
MSPI Transfer API . More...
Data Structures | |
struct | mspi_ce_control |
MSPI Chip Select control structure. More... | |
struct | mspi_xfer_packet |
MSPI peripheral xfer packet format. More... | |
struct | mspi_xfer |
MSPI peripheral xfer format This includes transfer related settings that may require configuring the hardware. More... | |
Functions | |
int | mspi_transceive (const struct device *controller, const struct mspi_dev_id *dev_id, const struct mspi_xfer *req) |
Transfer request over MSPI. | |
MSPI Transfer API .
int mspi_transceive | ( | const struct device * | controller, |
const struct mspi_dev_id * | dev_id, | ||
const struct mspi_xfer * | req ) |
#include <zephyr/drivers/mspi.h>
Transfer request over MSPI.
This routines provides a generic interface to transfer a request synchronously/asynchronously.
The
controller | Pointer to the device structure for the driver instance. |
dev_id | Pointer to the device ID structure from a device. |
req | Content of the request and request specific settings. |
0 | If successful. |
-ENOTSUP | |
-EIO | General input / output error, failed to send over the bus. |