Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
counter-capture.h File Reference

Counter capture Devicetree macro public API header file. More...

Go to the source code of this file.

Macros

#define DT_COUNTER_CAPTURES_CTLR_BY_IDX(node_id, counter_capture_pha, idx)
 Get the node identifier for the counter controller from a counter-captures property at an index.
#define DT_COUNTER_CAPTURES_CTLR_BY_NAME(node_id, counter_capture_pha, name)
 Get the node identifier for the counter controller from a counter-captures property by name.
#define DT_COUNTER_CAPTURES_CTLR(node_id, counter_capture_pha)
 Equivalent to DT_COUNTER_CAPTURES_CTLR_BY_IDX(node_id, counter_capture_pha, 0).
#define DT_COUNTER_CAPTURES_CELL_BY_IDX(node_id, counter_capture_pha, idx, cell)
 Get counter capture specifier's cell value at an index.
#define DT_COUNTER_CAPTURES_CELL_BY_NAME(node_id, counter_capture_pha, name, cell)
 Get a counter capture specifier's cell value by name.
#define DT_COUNTER_CAPTURES_CELL(node_id, counter_capture_pha, cell)
 Equivalent to DT_COUNTER_CAPTURES_CELL_BY_IDX(node_id, counter_capture_pha, 0, cell).
#define DT_COUNTER_CAPTURES_CHANNEL_BY_IDX(node_id, counter_capture_pha, idx)
 Get a counter capture specifier's channel cell value at an index.
#define DT_COUNTER_CAPTURES_CHANNEL_BY_NAME(node_id, counter_capture_pha, name)
 Get a counter capture specifier's channel cell value by name.
#define DT_COUNTER_CAPTURES_CHANNEL(node_id, counter_capture_pha)
 Equivalent to DT_COUNTER_CAPTURES_CHANNEL_BY_IDX(node_id, counter_capture_pha, 0).
#define DT_COUNTER_CAPTURES_FLAGS_BY_IDX(node_id, counter_capture_pha, idx)
 Get a counter capture specifier's flags cell value at an index.
#define DT_COUNTER_CAPTURES_FLAGS_BY_NAME(node_id, counter_capture_pha, name)
 Get a counter capture specifier's flags cell value by name.
#define DT_COUNTER_CAPTURES_FLAGS(node_id, counter_capture_pha)
 Equivalent to DT_COUNTER_CAPTURES_FLAGS_BY_IDX(node_id, counter_capture_pha, 0).
#define DT_INST_COUNTER_CAPTURES_CTLR_BY_IDX(inst, counter_capture_pha, idx)
 Get the node identifier for the counter controller from a DT_DRV_COMPAT instance's counter-captures property at an index.
#define DT_INST_COUNTER_CAPTURES_CTLR_BY_NAME(inst, counter_capture_pha, name)
 Get the node identifier for the counter controller from a DT_DRV_COMPAT instance's counter-captures property by name.
#define DT_INST_COUNTER_CAPTURES_CTLR(inst, counter_capture_pha)
 Equivalent to DT_INST_COUNTER_CAPTURES_CTLR_BY_IDX(inst, counter_capture_pha, 0).
#define DT_INST_COUNTER_CAPTURES_CELL_BY_IDX(inst, counter_capture_pha, idx, cell)
 Get a DT_DRV_COMPAT instance's counter capture specifier's cell value at an index.
#define DT_INST_COUNTER_CAPTURES_CELL_BY_NAME(inst, counter_capture_pha, name, cell)
 Get a DT_DRV_COMPAT instance's counter capture specifier's cell value by name.
#define DT_INST_COUNTER_CAPTURES_CELL(inst, counter_capture_pha, cell)
 Equivalent to DT_INST_COUNTER_CAPTURES_CELL_BY_IDX(inst, counter_capture_pha, 0, cell).
#define DT_INST_COUNTER_CAPTURES_CHANNEL_BY_IDX(inst, counter_capture_pha, idx)
 Equivalent to DT_INST_COUNTER_CAPTURES_CELL_BY_IDX(inst, counter_capture_pha, idx, channel).
#define DT_INST_COUNTER_CAPTURES_CHANNEL_BY_NAME(inst, counter_capture_pha, name)
 Equivalent to DT_INST_COUNTER_CAPTURES_CELL_BY_NAME(inst, counter_capture_pha, name, channel).
#define DT_INST_COUNTER_CAPTURES_CHANNEL(inst, counter_capture_pha)
 Equivalent to DT_INST_COUNTER_CAPTURES_CHANNEL_BY_IDX(inst, counter_capture_pha, 0).
#define DT_INST_COUNTER_CAPTURES_FLAGS_BY_IDX(inst, counter_capture_pha, idx)
 Equivalent to DT_INST_COUNTER_CAPTURES_CELL_BY_IDX(inst, counter_capture_pha, idx, flags).
#define DT_INST_COUNTER_CAPTURES_FLAGS_BY_NAME(inst, counter_capture_pha, name)
 Equivalent to DT_INST_COUNTER_CAPTURES_CELL_BY_NAME(inst, counter_capture_pha, name, flags).
#define DT_INST_COUNTER_CAPTURES_FLAGS(inst, counter_capture_pha)
 Equivalent to DT_INST_COUNTER_CAPTURES_FLAGS_BY_IDX(inst, counter_capture_pha, 0).

Detailed Description

Counter capture Devicetree macro public API header file.