7#ifndef DRIVERS_MSPI_HPF_MSPI_H
8#define DRIVERS_MSPI_HPF_MSPI_H
10#include <zephyr/drivers/pinctrl.h>
11#include <zephyr/drivers/mspi.h>
12#include <hal/nrf_timer.h>
18#if !defined(FLPR_VIO_PIN_INDICES) || !defined(FLPR_VIO_PIN_OFFSET) || !defined(FLPR_VIO_PORT)
19#error "Unsupported SoC"
22#define HPF_MSPI_PIN_COUNT NUM_VA_ARGS_LESS_1(FLPR_VIO_PIN_INDICES)
42 enum mspi_cpp_mode
cpp;
84#if (defined(CONFIG_MSPI_HPF_IPC_NO_COPY) || defined(CONFIG_HPF_MSPI_IPC_NO_COPY))
#define HPF_MSPI_PIN_COUNT
Definition hpf_mspi.h:22
hpf_mspi_opcode_t
eMSPI opcodes.
Definition hpf_mspi.h:25
@ HPF_MSPI_TXRX
Definition hpf_mspi.h:32
@ HPF_MSPI_TX
Definition hpf_mspi.h:31
@ HPF_MSPI_CONFIG_PINS
Definition hpf_mspi.h:28
@ HPF_MSPI_HPF_APP_HARD_FAULT
Definition hpf_mspi.h:33
@ HPF_MSPI_EP_BOUNDED
Definition hpf_mspi.h:26
@ HPF_MSPI_OPCODES_MAX
Definition hpf_mspi.h:37
@ HPF_MSPI_CONFIG_DEV
Definition hpf_mspi.h:29
@ HPF_MSPI_WRONG_OPCODE
Definition hpf_mspi.h:34
@ HPF_MSPI_CONFIG_TIMER_PTR
Definition hpf_mspi.h:27
@ HPF_MSPI_CONFIG_XFER
Definition hpf_mspi.h:30
@ HPF_MSPI_OPCODES_COUNT
Definition hpf_mspi.h:35
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:69
hpf_mspi_dev_config_t dev_config
Definition hpf_mspi.h:71
uint8_t device_index
Definition hpf_mspi.h:70
enum mspi_cpp_mode cpp
Definition hpf_mspi.h:42
enum mspi_io_mode io_mode
Definition hpf_mspi.h:41
uint8_t ce_index
Definition hpf_mspi.h:43
uint16_t cnt0_value
Definition hpf_mspi.h:45
enum mspi_ce_polarity ce_polarity
Definition hpf_mspi.h:44
uint8_t data
Definition hpf_mspi.h:93
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:92
NRF_TIMER_Type * timer_ptr
Definition hpf_mspi.h:59
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:58
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:63
uint8_t pins_count
Definition hpf_mspi.h:64
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:75
hpf_mspi_xfer_config_t xfer_config
Definition hpf_mspi.h:76
uint16_t tx_dummy
Definition hpf_mspi.h:53
bool hold_ce
Definition hpf_mspi.h:52
uint8_t command_length
Definition hpf_mspi.h:50
uint8_t address_length
Definition hpf_mspi.h:51
uint8_t device_index
Definition hpf_mspi.h:49
uint16_t rx_dummy
Definition hpf_mspi.h:54
uint32_t num_bytes
Definition hpf_mspi.h:83
hpf_mspi_opcode_t opcode
Definition hpf_mspi.h:80
uint32_t address
Definition hpf_mspi.h:82
uint32_t command
Definition hpf_mspi.h:81