Zephyr API 3.6.99
Loading...
Searching...
No Matches
pwms.h File Reference

PWMs Devicetree macro public API header file. More...

Go to the source code of this file.

Macros

#define DT_PWMS_CTLR_BY_IDX(node_id, idx)
 Get the node identifier for the PWM controller from a pwms property at an index.
 
#define DT_PWMS_CTLR_BY_NAME(node_id, name)
 Get the node identifier for the PWM controller from a pwms property by name.
 
#define DT_PWMS_CTLR(node_id)
 Equivalent to DT_PWMS_CTLR_BY_IDX(node_id, 0)
 
#define DT_PWMS_CELL_BY_IDX(node_id, idx, cell)
 Get PWM specifier's cell value at an index.
 
#define DT_PWMS_CELL_BY_NAME(node_id, name, cell)
 Get a PWM specifier's cell value by name.
 
#define DT_PWMS_CELL(node_id, cell)
 Equivalent to DT_PWMS_CELL_BY_IDX(node_id, 0, cell)
 
#define DT_PWMS_CHANNEL_BY_IDX(node_id, idx)
 Get a PWM specifier's channel cell value at an index.
 
#define DT_PWMS_CHANNEL_BY_NAME(node_id, name)
 Get a PWM specifier's channel cell value by name.
 
#define DT_PWMS_CHANNEL(node_id)
 Equivalent to DT_PWMS_CHANNEL_BY_IDX(node_id, 0)
 
#define DT_PWMS_PERIOD_BY_IDX(node_id, idx)
 Get PWM specifier's period cell value at an index.
 
#define DT_PWMS_PERIOD_BY_NAME(node_id, name)
 Get a PWM specifier's period cell value by name.
 
#define DT_PWMS_PERIOD(node_id)
 Equivalent to DT_PWMS_PERIOD_BY_IDX(node_id, 0)
 
#define DT_PWMS_FLAGS_BY_IDX(node_id, idx)
 Get a PWM specifier's flags cell value at an index.
 
#define DT_PWMS_FLAGS_BY_NAME(node_id, name)
 Get a PWM specifier's flags cell value by name.
 
#define DT_PWMS_FLAGS(node_id)
 Equivalent to DT_PWMS_FLAGS_BY_IDX(node_id, 0)
 
#define DT_INST_PWMS_CTLR_BY_IDX(inst, idx)
 Get the node identifier for the PWM controller from a DT_DRV_COMPAT instance's pwms property at an index.
 
#define DT_INST_PWMS_CTLR_BY_NAME(inst, name)
 Get the node identifier for the PWM controller from a DT_DRV_COMPAT instance's pwms property by name.
 
#define DT_INST_PWMS_CTLR(inst)
 Equivalent to DT_INST_PWMS_CTLR_BY_IDX(inst, 0)
 
#define DT_INST_PWMS_CELL_BY_IDX(inst, idx, cell)
 Get a DT_DRV_COMPAT instance's PWM specifier's cell value at an index.
 
#define DT_INST_PWMS_CELL_BY_NAME(inst, name, cell)
 Get a DT_DRV_COMPAT instance's PWM specifier's cell value by name.
 
#define DT_INST_PWMS_CELL(inst, cell)
 Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, 0, cell)
 
#define DT_INST_PWMS_CHANNEL_BY_IDX(inst, idx)
 Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, idx, channel)
 
#define DT_INST_PWMS_CHANNEL_BY_NAME(inst, name)
 Equivalent to DT_INST_PWMS_CELL_BY_NAME(inst, name, channel)
 
#define DT_INST_PWMS_CHANNEL(inst)
 Equivalent to DT_INST_PWMS_CHANNEL_BY_IDX(inst, 0)
 
#define DT_INST_PWMS_PERIOD_BY_IDX(inst, idx)
 Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, idx, period)
 
#define DT_INST_PWMS_PERIOD_BY_NAME(inst, name)
 Equivalent to DT_INST_PWMS_CELL_BY_NAME(inst, name, period)
 
#define DT_INST_PWMS_PERIOD(inst)
 Equivalent to DT_INST_PWMS_PERIOD_BY_IDX(inst, 0)
 
#define DT_INST_PWMS_FLAGS_BY_IDX(inst, idx)
 Equivalent to DT_INST_PWMS_CELL_BY_IDX(inst, idx, flags)
 
#define DT_INST_PWMS_FLAGS_BY_NAME(inst, name)
 Equivalent to DT_INST_PWMS_CELL_BY_NAME(inst, name, flags)
 
#define DT_INST_PWMS_FLAGS(inst)
 Equivalent to DT_INST_PWMS_FLAGS_BY_IDX(inst, 0)
 

Detailed Description

PWMs Devicetree macro public API header file.