|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
Interfaces for Multi-bit Serial Peripheral Interface (MSPI) controllers. More...
Topics | |
| MSPI Configure API | |
| MSPI Configure API. | |
| MSPI Devicetree related macros | |
| MSPI Devicetree related macros. | |
| MSPI Driver Backend API | |
| MSPI Emulation Interface | |
| MSPI Emulation Interface. | |
| MSPI Transfer API | |
| MSPI Transfer API. | |
| MSPI callback API | |
| MSPI callback API. | |
| Mspi_util | |
Files | |
| file | mspi.h |
| Main header file for MSPI (Multi-bit Serial Peripheral Interface) driver API. | |
Interfaces for Multi-bit Serial Peripheral Interface (MSPI) controllers.
| enum mspi_bus_event |
#include <zephyr/drivers/mspi.h>
MSPI bus event.
This is a preliminary list of events. I encourage the community to fill it up.
| Enumerator | |
|---|---|
| MSPI_BUS_RESET | |
| MSPI_BUS_ERROR | |
| MSPI_BUS_XFER_COMPLETE | |
| MSPI_BUS_TIMEOUT | When a request or xfer has timed out. |
| MSPI_BUS_EVENT_MAX | |
#include <zephyr/drivers/mspi.h>
MSPI bus event callback mask This is a preliminary list same as mspi_bus_event.
I encourage the community to fill it up.
| Enumerator | |
|---|---|
| MSPI_BUS_NO_CB | |
| MSPI_BUS_RESET_CB | |
| MSPI_BUS_ERROR_CB | |
| MSPI_BUS_XFER_COMPLETE_CB | |
| MSPI_BUS_TIMEOUT_CB | |
| enum mspi_ce_polarity |
#include <zephyr/drivers/mspi.h>
MSPI chip enable polarity.
| Enumerator | |
|---|---|
| MSPI_CE_ACTIVE_LOW | |
| MSPI_CE_ACTIVE_HIGH | |
| enum mspi_cpp_mode |
#include <zephyr/drivers/mspi.h>
MSPI Polarity & Phase Modes.
| Enumerator | |
|---|---|
| MSPI_CPP_MODE_0 | |
| MSPI_CPP_MODE_1 | |
| MSPI_CPP_MODE_2 | |
| MSPI_CPP_MODE_3 | |
| enum mspi_data_rate |
#include <zephyr/drivers/mspi.h>
MSPI data rate capabilities SINGLE stands for single data rate for all phases.
DUAL stands for dual data rate for all phases. S_S_D stands for single data rate for command and address phases but dual data rate for data phase. S_D_D stands for single data rate for command phase but dual data rate for address and data phases.
| Enumerator | |
|---|---|
| MSPI_DATA_RATE_SINGLE | |
| MSPI_DATA_RATE_S_S_D | |
| MSPI_DATA_RATE_S_D_D | |
| MSPI_DATA_RATE_DUAL | |
| MSPI_DATA_RATE_MAX | |
| enum mspi_dev_cfg_mask |
#include <zephyr/drivers/mspi.h>
MSPI controller device specific configuration mask.
| enum mspi_duplex |
| enum mspi_endian |
#include <zephyr/drivers/mspi.h>
MSPI Endian.
| Enumerator | |
|---|---|
| MSPI_XFER_LITTLE_ENDIAN | |
| MSPI_XFER_BIG_ENDIAN | |
| enum mspi_io_mode |
#include <zephyr/drivers/mspi.h>
MSPI I/O mode capabilities Postfix like 1_4_4 stands for the number of lines used for command, address and data phases.
Mode with no postfix has the same number of lines for all phases.
| enum mspi_memmap_permit |
#include <zephyr/drivers/mspi.h>
MSPI memory map access permissions.
| Enumerator | |
|---|---|
| MSPI_MEMMAP_READ_WRITE | Allow read/write access to the memory mapped region. |
| MSPI_MEMMAP_READ_ONLY | Allow read only access to the memory mapped region. |
| enum mspi_op_mode |
#include <zephyr/drivers/mspi.h>
MSPI operational mode.
| Enumerator | |
|---|---|
| MSPI_OP_MODE_CONTROLLER | |
| MSPI_OP_MODE_PERIPHERAL | |
| enum mspi_xfer_direction |
| enum mspi_xfer_mode |
#include <zephyr/drivers/mspi.h>
MSPI transfer modes.
| Enumerator | |
|---|---|
| MSPI_PIO | The controller moves the data with programmed IO. |
| MSPI_DMA | The controller moves the data with a DMA engine. |
| MSPI_MEMMAP | The controller services the packets through the memory mapped region set up with mspi_memmap_config(). Only valid for packets that access the memory array of the peripheral, and only once memory mapping has been enabled for that peripheral. Controllers that cannot service the packets this way return -ENOTSUP without touching the bus, so that the requester can fall back to MSPI_PIO or MSPI_DMA. |
| enum mspi_xfer_priority |
#include <zephyr/drivers/mspi.h>
MSPI transfer priority This is a preliminary list of priorities that are typically used with DMA.
| Enumerator | |
|---|---|
| MSPI_XFER_PRIORITY_LOW | |
| MSPI_XFER_PRIORITY_MEDIUM | |
| MSPI_XFER_PRIORITY_HIGH | |