|
Zephyr Project API 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) 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 hold 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) |
| Equivalent to DT_NVMEM_CELL_BY_IDX(node_id, 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) |
| Equivalent to DT_NVMEM_CELLS_HAS_IDX(DT_DRV_INST(inst), idx) | |
| #define | DT_INST_NVMEM_CELLS_HAS_NAME(inst, name) DT_NVMEM_CELLS_HAS_NAME(DT_DRV_INST(inst), name) |
| Equivalent to DT_NVMEM_CELLS_HAS_NAME(DT_DRV_INST(inst), name) | |
| #define | DT_INST_NUM_NVMEM_CELLS(inst) DT_NUM_NVMEM_CELLS(DT_DRV_INST(inst)) |
| Equivalent to DT_NUM_NVMEM_CELLS(DT_DRV_INST(inst)) | |
| #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) |
| Equivalent to DT_INST_NVMEM_CELL_BY_IDX(inst, 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. | |
NVMEM Devicetree public API header file.