Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
NVMEM Devicetree public API header file. More...
Go to the source code of this file.
Macros | |
#define | DT_NVMEM_CELLS_HAS_IDX(node_id, idx) |
Test if a node has an nvmem-cells phandle-array property at a given index. | |
#define | DT_NVMEM_CELLS_HAS_NAME(node_id, name) |
Test if a node has an nvmem-cell-names array property hold a given name. | |
#define | DT_NUM_NVMEM_CELLS(node_id) |
Get the number of elements in an nvmem-cells property. | |
#define | DT_NVMEM_CELL_BY_IDX(node_id, idx) |
Get the node identifier for the NVMEM cell from the nvmem-cells property by index. | |
#define | DT_NVMEM_CELL(node_id) |
Equivalent to DT_NVMEM_CELL_BY_IDX(node_id, 0) | |
#define | DT_NVMEM_CELL_BY_NAME(node_id, name) |
Get the node identifier for the NVMEM cell from the nvmem-cells property by name. | |
#define | DT_INST_NVMEM_CELLS_HAS_IDX(inst, idx) |
Equivalent to DT_NVMEM_CELLS_HAS_IDX(DT_DRV_INST(inst), idx) | |
#define | DT_INST_NVMEM_CELLS_HAS_NAME(inst, name) |
Equivalent to DT_NVMEM_CELLS_HAS_NAME(DT_DRV_INST(inst), name) | |
#define | DT_INST_NUM_NVMEM_CELLS(inst) |
Equivalent to DT_NUM_NVMEM_CELLS(DT_DRV_INST(inst)) | |
#define | DT_INST_NVMEM_CELL_BY_IDX(inst, idx) |
Get the node identifier for the controller phandle from an nvmem-cells phandle-array property at an index. | |
#define | DT_INST_NVMEM_CELL(inst) |
Equivalent to DT_INST_NVMEM_CELL_BY_IDX(inst, 0) | |
#define | DT_INST_NVMEM_CELL_BY_NAME(inst, name) |
Get the node identifier for the controller phandle from an nvmem-cells phandle-array property by name. | |
#define | DT_MTD_FROM_NVMEM_CELL(node_id) |
Get the node identifier of the memory controller for an nvmem cell. |
NVMEM Devicetree public API header file.