Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
PWMs Devicetree macro public API header file. More...
Go to the source code of this file.
Macros | |
#define | DT_PWMS_LABEL_BY_IDX(node_id, idx) |
Get a label property from a pwms property at an index. More... | |
#define | DT_PWMS_LABEL_BY_NAME(node_id, name) |
Get a label property from a pwms property by name. More... | |
#define | DT_PWMS_LABEL(node_id) __DEPRECATED_MACRO DT_PWMS_LABEL_BY_IDX(node_id, 0) |
Equivalent to DT_PWMS_LABEL_BY_IDX(node_id, 0) More... | |
#define | DT_PWMS_CTLR_BY_IDX(node_id, idx) DT_PHANDLE_BY_IDX(node_id, pwms, idx) |
Get the node identifier for the PWM controller from a pwms property at an index. More... | |
#define | DT_PWMS_CTLR_BY_NAME(node_id, name) DT_PHANDLE_BY_NAME(node_id, pwms, name) |
Get the node identifier for the PWM controller from a pwms property by name. More... | |
#define | DT_PWMS_CTLR(node_id) DT_PWMS_CTLR_BY_IDX(node_id, 0) |
Equivalent to DT_PWMS_CTLR_BY_IDX(node_id, 0) More... | |
#define | DT_PWMS_CELL_BY_IDX(node_id, idx, cell) DT_PHA_BY_IDX(node_id, pwms, idx, cell) |
Get PWM specifier's cell value at an index. More... | |
#define | DT_PWMS_CELL_BY_NAME(node_id, name, cell) DT_PHA_BY_NAME(node_id, pwms, name, cell) |
Get a PWM specifier's cell value by name. More... | |
#define | DT_PWMS_CELL(node_id, cell) DT_PWMS_CELL_BY_IDX(node_id, 0, cell) |
Equivalent to DT_PWMS_CELL_BY_IDX(node_id, 0, cell) More... | |
#define | DT_PWMS_CHANNEL_BY_IDX(node_id, idx) DT_PWMS_CELL_BY_IDX(node_id, idx, channel) |
Get a PWM specifier's channel cell value at an index. More... | |
#define | DT_PWMS_CHANNEL_BY_NAME(node_id, name) DT_PWMS_CELL_BY_NAME(node_id, name, channel) |
Get a PWM specifier's channel cell value by name. More... | |
#define | DT_PWMS_CHANNEL(node_id) DT_PWMS_CHANNEL_BY_IDX(node_id, 0) |
Equivalent to DT_PWMS_CHANNEL_BY_IDX(node_id, 0) More... | |
#define | DT_PWMS_PERIOD_BY_IDX(node_id, idx) DT_PWMS_CELL_BY_IDX(node_id, idx, period) |
Get PWM specifier's period cell value at an index. More... | |
#define | DT_PWMS_PERIOD_BY_NAME(node_id, name) DT_PWMS_CELL_BY_NAME(node_id, name, period) |
Get a PWM specifier's period cell value by name. More... | |
#define | DT_PWMS_PERIOD(node_id) DT_PWMS_PERIOD_BY_IDX(node_id, 0) |
Equivalent to DT_PWMS_PERIOD_BY_IDX(node_id, 0) More... | |
#define | DT_PWMS_FLAGS_BY_IDX(node_id, idx) DT_PHA_BY_IDX_OR(node_id, pwms, idx, flags, 0) |
Get a PWM specifier's flags cell value at an index. More... | |
#define | DT_PWMS_FLAGS_BY_NAME(node_id, name) DT_PHA_BY_NAME_OR(node_id, pwms, name, flags, 0) |
Get a PWM specifier's flags cell value by name. More... | |
#define | DT_PWMS_FLAGS(node_id) DT_PWMS_FLAGS_BY_IDX(node_id, 0) |
Equivalent to DT_PWMS_FLAGS_BY_IDX(node_id, 0) More... | |
#define | DT_INST_PWMS_LABEL_BY_IDX(inst, idx) |
Get a label property from a DT_DRV_COMPAT instance's pwms property by name. More... | |
#define | DT_INST_PWMS_LABEL_BY_NAME(inst, name) |
Get a label property from a DT_DRV_COMPAT instance's pwms property by name. More... | |
#define | DT_INST_PWMS_LABEL(inst) __DEPRECATED_MACRO DT_INST_PWMS_LABEL_BY_IDX(inst, 0) |
Equivalent to DT_INST_PWMS_LABEL_BY_IDX(inst, 0) More... | |
#define | DT_INST_PWMS_CTLR_BY_IDX(inst, idx) DT_PWMS_CTLR_BY_IDX(DT_DRV_INST(inst), idx) |
Get the node identifier for the PWM controller from a DT_DRV_COMPAT instance's pwms property at an index. More... | |
#define | DT_INST_PWMS_CTLR_BY_NAME(inst, name) DT_PWMS_CTLR_BY_NAME(DT_DRV_INST(inst), name) |
Get the node identifier for the PWM controller from a DT_DRV_COMPAT instance's pwms property by name. More... | |
#define | DT_INST_PWMS_CTLR(inst) DT_INST_PWMS_CTLR_BY_IDX(inst, 0) |
Equivalent to DT_INST_PWMS_CTLR_BY_IDX(inst, 0) More... | |
#define | DT_INST_PWMS_CELL_BY_IDX(inst, idx, cell) DT_PWMS_CELL_BY_IDX(DT_DRV_INST(inst), idx, cell) |
Get a DT_DRV_COMPAT instance's PWM specifier's cell value at an index. More... | |
#define | DT_INST_PWMS_CELL_BY_NAME(inst, name, cell) DT_PWMS_CELL_BY_NAME(DT_DRV_INST(inst), name, cell) |
Get a DT_DRV_COMPAT instance's PWM specifier's cell value by name. More... | |
#define | DT_INST_PWMS_CELL(inst, cell) DT_INST_PWMS_CELL_BY_IDX(inst, 0, cell) |
Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, 0, cell) More... | |
#define | DT_INST_PWMS_CHANNEL_BY_IDX(inst, idx) DT_INST_PWMS_CELL_BY_IDX(inst, idx, channel) |
Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, idx, channel) More... | |
#define | DT_INST_PWMS_CHANNEL_BY_NAME(inst, name) DT_INST_PWMS_CELL_BY_NAME(inst, name, channel) |
Equivalent to DT_INST_PWMS_CELL_BY_NAME(inst, name, channel) More... | |
#define | DT_INST_PWMS_CHANNEL(inst) DT_INST_PWMS_CHANNEL_BY_IDX(inst, 0) |
Equivalent to DT_INST_PWMS_CHANNEL_BY_IDX(inst, 0) More... | |
#define | DT_INST_PWMS_PERIOD_BY_IDX(inst, idx) DT_INST_PWMS_CELL_BY_IDX(inst, idx, period) |
Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, idx, period) More... | |
#define | DT_INST_PWMS_PERIOD_BY_NAME(inst, name) DT_INST_PWMS_CELL_BY_NAME(inst, name, period) |
Equivalent to DT_INST_PWMS_CELL_BY_NAME(inst, name, period) More... | |
#define | DT_INST_PWMS_PERIOD(inst) DT_INST_PWMS_PERIOD_BY_IDX(inst, 0) |
Equivalent to DT_INST_PWMS_PERIOD_BY_IDX(inst, 0) More... | |
#define | DT_INST_PWMS_FLAGS_BY_IDX(inst, idx) DT_INST_PWMS_CELL_BY_IDX(inst, idx, flags) |
Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, idx, flags) More... | |
#define | DT_INST_PWMS_FLAGS_BY_NAME(inst, name) DT_INST_PWMS_CELL_BY_NAME(inst, name, flags) |
Equivalent to DT_INST_PWMS_CELL_BY_NAME(inst, name, flags) More... | |
#define | DT_INST_PWMS_FLAGS(inst) DT_INST_PWMS_FLAGS_BY_IDX(inst, 0) |
Equivalent to DT_INST_PWMS_FLAGS_BY_IDX(inst, 0) More... | |
PWMs Devicetree macro public API header file.