Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
devicetree.h File Reference

Go to the source code of this file.

Macros

#define MSPI_DEVICE_CONFIG_DT(mspi_dev)
 Structure initializer for struct mspi_dev_cfg from devicetree.
 
#define MSPI_DEVICE_CONFIG_DT_INST(inst)   MSPI_DEVICE_CONFIG_DT(DT_DRV_INST(inst))
 Structure initializer for struct mspi_dev_cfg from devicetree instance.
 
#define MSPI_XIP_CONFIG_DT_NO_CHECK(mspi_dev)
 Structure initializer for struct mspi_xip_cfg from devicetree.
 
#define MSPI_XIP_CONFIG_DT(mspi_dev)
 Structure initializer for struct mspi_xip_cfg from devicetree.
 
#define MSPI_XIP_CONFIG_DT_INST(inst)   MSPI_XIP_CONFIG_DT(DT_DRV_INST(inst))
 Structure initializer for struct mspi_xip_cfg from devicetree instance.
 
#define MSPI_SCRAMBLE_CONFIG_DT_NO_CHECK(mspi_dev)
 Structure initializer for struct mspi_scramble_cfg from devicetree.
 
#define MSPI_SCRAMBLE_CONFIG_DT(mspi_dev)
 Structure initializer for struct mspi_scramble_cfg from devicetree.
 
#define MSPI_SCRAMBLE_CONFIG_DT_INST(inst)   MSPI_SCRAMBLE_CONFIG_DT(DT_DRV_INST(inst))
 Structure initializer for struct mspi_scramble_cfg from devicetree instance.
 
#define MSPI_DEVICE_ID_DT(mspi_dev)
 Structure initializer for struct mspi_dev_id from devicetree.
 
#define MSPI_DEVICE_ID_DT_INST(inst)   MSPI_DEVICE_ID_DT(DT_DRV_INST(inst))
 Structure initializer for struct mspi_dev_id from devicetree instance.
 
#define MSPI_DEV_CE_GPIOS_DT_SPEC_GET(mspi_dev)    GPIO_DT_SPEC_GET_BY_IDX_OR(DT_BUS(mspi_dev), ce_gpios, DT_REG_ADDR(mspi_dev), {})
 Get a struct gpio_dt_spec for a MSPI device's chip enable pin.
 
#define MSPI_DEV_CE_GPIOS_DT_SPEC_INST_GET(inst)    MSPI_DEV_CE_GPIOS_DT_SPEC_GET(DT_DRV_INST(inst))
 Get a struct gpio_dt_spec for a MSPI device's chip enable pin.
 
#define MSPI_CE_GPIOS_DT_SPEC_GET(node_id)
 Get an array of struct gpio_dt_spec from devicetree for a MSPI controller.
 
#define MSPI_CE_GPIOS_DT_SPEC_INST_GET(inst)    MSPI_CE_GPIOS_DT_SPEC_GET(DT_DRV_INST(inst))
 Get an array of struct gpio_dt_spec for a MSPI controller.
 
#define MSPI_CE_CONTROL_INIT(node_id, delay_)
 Initialize and get a pointer to a mspi_ce_control from a devicetree node identifier.
 
#define MSPI_CE_CONTROL_INIT_INST(inst, delay_)   MSPI_CE_CONTROL_INIT(DT_DRV_INST(inst), delay_)
 Get a pointer to a mspi_ce_control from a devicetree node.