Zephyr Project API 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Macros

#define MSPI_XIP_CFG_STRUCT_DECLARE(_name)    IF_ENABLED(CONFIG_MSPI_XIP, (struct mspi_xip_cfg _name;))
 Declare the optional XIP config in peripheral driver.
 
#define MSPI_XIP_BASE_ADDR_DECLARE(_name)    IF_ENABLED(CONFIG_MSPI_XIP, (uint32_t _name;))
 Declare the optional XIP base address in peripheral driver.
 
#define MSPI_SCRAMBLE_CFG_STRUCT_DECLARE(_name)    IF_ENABLED(CONFIG_MSPI_SCRAMBLE, (struct mspi_scramble_cfg _name;))
 Declare the optional scramble config in peripheral driver.
 
#define MSPI_TIMING_CFG_STRUCT_DECLARE(_name)    IF_ENABLED(CONFIG_MSPI_TIMING, (mspi_timing_cfg _name;))
 Declare the optional timing config in peripheral driver.
 
#define MSPI_TIMING_PARAM_DECLARE(_name)    IF_ENABLED(CONFIG_MSPI_TIMING, (mspi_timing_param _name;))
 Declare the optional timing parameter in peripheral driver.
 
#define MSPI_OPTIONAL_CFG_STRUCT_INIT(code, _name, _object)    IF_ENABLED(code, (._name = _object,))
 Initialize the optional config structure in peripheral driver.
 
#define MSPI_XIP_BASE_ADDR_INIT(_name, _bus)    IF_ENABLED(CONFIG_MSPI_XIP, (._name = DT_REG_ADDR_BY_IDX(_bus, 1),))
 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 
)     IF_ENABLED(code, (._name = _object,))

#include <include/zephyr/drivers/mspi.h>

Initialize the optional config structure in peripheral driver.

◆ MSPI_SCRAMBLE_CFG_STRUCT_DECLARE

#define MSPI_SCRAMBLE_CFG_STRUCT_DECLARE (   _name)     IF_ENABLED(CONFIG_MSPI_SCRAMBLE, (struct mspi_scramble_cfg _name;))

#include <include/zephyr/drivers/mspi.h>

Declare the optional scramble config in peripheral driver.

◆ MSPI_TIMING_CFG_STRUCT_DECLARE

#define MSPI_TIMING_CFG_STRUCT_DECLARE (   _name)     IF_ENABLED(CONFIG_MSPI_TIMING, (mspi_timing_cfg _name;))

#include <include/zephyr/drivers/mspi.h>

Declare the optional timing config in peripheral driver.

◆ MSPI_TIMING_PARAM_DECLARE

#define MSPI_TIMING_PARAM_DECLARE (   _name)     IF_ENABLED(CONFIG_MSPI_TIMING, (mspi_timing_param _name;))

#include <include/zephyr/drivers/mspi.h>

Declare the optional timing parameter in peripheral driver.

◆ MSPI_XIP_BASE_ADDR_DECLARE

#define MSPI_XIP_BASE_ADDR_DECLARE (   _name)     IF_ENABLED(CONFIG_MSPI_XIP, (uint32_t _name;))

#include <include/zephyr/drivers/mspi.h>

Declare the optional XIP base address in peripheral driver.

◆ MSPI_XIP_BASE_ADDR_INIT

#define MSPI_XIP_BASE_ADDR_INIT (   _name,
  _bus 
)     IF_ENABLED(CONFIG_MSPI_XIP, (._name = DT_REG_ADDR_BY_IDX(_bus, 1),))

#include <include/zephyr/drivers/mspi.h>

Initialize the optional XIP base address in peripheral driver.

◆ MSPI_XIP_CFG_STRUCT_DECLARE

#define MSPI_XIP_CFG_STRUCT_DECLARE (   _name)     IF_ENABLED(CONFIG_MSPI_XIP, (struct mspi_xip_cfg _name;))

#include <include/zephyr/drivers/mspi.h>

Declare the optional XIP config in peripheral driver.