Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages

Macros

#define MSPI_XIP_CFG_STRUCT_DECLARE(_name)
 Declare the optional XIP config in peripheral driver.
 
#define MSPI_XIP_BASE_ADDR_DECLARE(_name)
 Declare the optional XIP base address in peripheral driver.
 
#define MSPI_SCRAMBLE_CFG_STRUCT_DECLARE(_name)
 Declare the optional scramble config in peripheral driver.
 
#define MSPI_TIMING_CFG_STRUCT_DECLARE(_name)
 Declare the optional timing config in peripheral driver.
 
#define MSPI_TIMING_PARAM_DECLARE(_name)
 Declare the optional timing parameter in peripheral driver.
 
#define MSPI_OPTIONAL_CFG_STRUCT_INIT(code, _name, _object)
 Initialize the optional config structure in peripheral driver.
 
#define MSPI_XIP_BASE_ADDR_INIT(_name, _bus)
 Initialize the optional XIP base address in peripheral driver.
 

Detailed Description

Macro Definition Documentation

◆ MSPI_OPTIONAL_CFG_STRUCT_INIT

#define MSPI_OPTIONAL_CFG_STRUCT_INIT ( code,
_name,
_object )

#include <zephyr/drivers/mspi.h>

Value:
IF_ENABLED(code, (._name = _object,))
#define IF_ENABLED(_flag, _code)
Insert code if _flag is defined and equals 1.
Definition util_macro.h:247

Initialize the optional config structure in peripheral driver.

◆ MSPI_SCRAMBLE_CFG_STRUCT_DECLARE

#define MSPI_SCRAMBLE_CFG_STRUCT_DECLARE ( _name)

#include <zephyr/drivers/mspi.h>

Value:
IF_ENABLED(CONFIG_MSPI_SCRAMBLE, (struct mspi_scramble_cfg _name;))
MSPI controller scramble configuration.
Definition mspi.h:332

Declare the optional scramble config in peripheral driver.

◆ MSPI_TIMING_CFG_STRUCT_DECLARE

#define MSPI_TIMING_CFG_STRUCT_DECLARE ( _name)

#include <zephyr/drivers/mspi.h>

Value:
IF_ENABLED(CONFIG_MSPI_TIMING, (mspi_timing_cfg _name;))
Stub for struct timing_cfg.
Definition mspi.h:216

Declare the optional timing config in peripheral driver.

◆ MSPI_TIMING_PARAM_DECLARE

#define MSPI_TIMING_PARAM_DECLARE ( _name)

#include <zephyr/drivers/mspi.h>

Value:
IF_ENABLED(CONFIG_MSPI_TIMING, (mspi_timing_param _name;))
mspi_timing_param
Stub for timing parameter.
Definition mspi.h:209

Declare the optional timing parameter in peripheral driver.

◆ MSPI_XIP_BASE_ADDR_DECLARE

#define MSPI_XIP_BASE_ADDR_DECLARE ( _name)

#include <zephyr/drivers/mspi.h>

Value:
IF_ENABLED(CONFIG_MSPI_XIP, (uint32_t _name;))
__UINT32_TYPE__ uint32_t
Definition stdint.h:90

Declare the optional XIP base address in peripheral driver.

◆ MSPI_XIP_BASE_ADDR_INIT

#define MSPI_XIP_BASE_ADDR_INIT ( _name,
_bus )

#include <zephyr/drivers/mspi.h>

Value:
IF_ENABLED(CONFIG_MSPI_XIP, (._name = DT_REG_ADDR_BY_IDX(_bus, 1),))
#define DT_REG_ADDR_BY_IDX(node_id, idx)
Get the base address of the register block at index idx.
Definition devicetree.h:2437

Initialize the optional XIP base address in peripheral driver.

◆ MSPI_XIP_CFG_STRUCT_DECLARE

#define MSPI_XIP_CFG_STRUCT_DECLARE ( _name)

#include <zephyr/drivers/mspi.h>

Value:
IF_ENABLED(CONFIG_MSPI_XIP, (struct mspi_xip_cfg _name;))
MSPI controller XIP configuration.
Definition mspi.h:316

Declare the optional XIP config in peripheral driver.