|
Zephyr API Documentation 4.4.0
A Scalable Open Source RTOS
|
Public NVMEM devicetree header file. More...
Go to the source code of this file.
Macros | |
| #define | DT_NVMEM_CELLS_HAS_IDX(node_id, idx) DT_PROP_HAS_IDX(node_id, nvmem_cells, 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) DT_PROP_HAS_NAME(node_id, nvmem_cells, name) |
| Test if a node has an nvmem-cell-names array property holds a given name. | |
| #define | DT_NUM_NVMEM_CELLS(node_id) DT_PROP_LEN(node_id, nvmem_cells) |
| Get the number of elements in an nvmem-cells property. | |
| #define | DT_NVMEM_CELL_BY_IDX(node_id, idx) DT_PHANDLE_BY_IDX(node_id, nvmem_cells, idx) |
| Get the node identifier for the NVMEM cell from the nvmem-cells property by index. | |
| #define | DT_NVMEM_CELL(node_id) DT_NVMEM_CELL_BY_IDX(node_id, 0) |
| Get the node identifier for the NVMEM cell at index 0. | |
| #define | DT_NVMEM_CELL_BY_NAME(node_id, name) DT_PHANDLE_BY_NAME(node_id, nvmem_cells, 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) DT_NVMEM_CELLS_HAS_IDX(DT_DRV_INST(inst), idx) |
| Test if a DT_DRV_COMPAT instance has an nvmem-cells property at a given index. | |
| #define | DT_INST_NVMEM_CELLS_HAS_NAME(inst, name) DT_NVMEM_CELLS_HAS_NAME(DT_DRV_INST(inst), name) |
| Test if a DT_DRV_COMPAT instance has an nvmem-cell-names property with a given name. | |
| #define | DT_INST_NUM_NVMEM_CELLS(inst) DT_NUM_NVMEM_CELLS(DT_DRV_INST(inst)) |
| Get the number of elements in a DT_DRV_COMPAT instance's nvmem-cells property. | |
| #define | DT_INST_NVMEM_CELL_BY_IDX(inst, idx) DT_NVMEM_CELL_BY_IDX(DT_DRV_INST(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) DT_INST_NVMEM_CELL_BY_IDX(inst, 0) |
| Get the node identifier for a DT_DRV_COMPAT instance's NVMEM cell at index 0. | |
| #define | DT_INST_NVMEM_CELL_BY_NAME(inst, name) DT_NVMEM_CELL_BY_NAME(DT_DRV_INST(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) DT_GPARENT(node_id) |
| Get the node identifier of the memory controller for an nvmem cell. | |
Public NVMEM devicetree header file.