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

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

Go to the source code of this file.

Macros

#define DT_COUNTER_ALARMS_CTLR_BY_IDX(node_id, counter_alarm_pha, idx)
 Get the node identifier for the counter controller from a counter-alarms property at an index.
#define DT_COUNTER_ALARMS_CTLR_BY_NAME(node_id, counter_alarm_pha, name)
 Get the node identifier for the counter controller from a counter-alarms property by name.
#define DT_COUNTER_ALARMS_CTLR(node_id, counter_alarm_pha)
 Equivalent to DT_COUNTER_ALARMS_CTLR_BY_IDX(node_id, counter_alarm_pha, 0).
#define DT_COUNTER_ALARMS_CELL_BY_IDX(node_id, counter_alarm_pha, idx, cell)
 Get counter alarm specifier's cell value at an index.
#define DT_COUNTER_ALARMS_CELL_BY_NAME(node_id, counter_alarm_pha, name, cell)
 Get a counter alarm specifier's cell value by name.
#define DT_COUNTER_ALARMS_CELL(node_id, counter_alarm_pha, cell)
 Equivalent to DT_COUNTER_ALARMS_CELL_BY_IDX(node_id, counter_alarm_pha, 0, cell).
#define DT_COUNTER_ALARMS_CHANNEL_BY_IDX(node_id, counter_alarm_pha, idx)
 Get a counter alarm specifier's channel cell value at an index.
#define DT_COUNTER_ALARMS_CHANNEL_BY_NAME(node_id, counter_alarm_pha, name)
 Get a counter alarm specifier's channel cell value by name.
#define DT_COUNTER_ALARMS_CHANNEL(node_id, counter_alarm_pha)
 Equivalent to DT_COUNTER_ALARMS_CHANNEL_BY_IDX(node_id, counter_alarm_pha, 0).
#define DT_INST_COUNTER_ALARMS_CTLR_BY_IDX(inst, counter_alarm_pha, idx)
 Get the node identifier for the counter controller from a DT_DRV_COMPAT instance's counter-alarms property at an index.
#define DT_INST_COUNTER_ALARMS_CTLR_BY_NAME(inst, counter_alarm_pha, name)
 Get the node identifier for the counter controller from a DT_DRV_COMPAT instance's counter-alarms property by name.
#define DT_INST_COUNTER_ALARMS_CTLR(inst, counter_alarm_pha)
 Equivalent to DT_INST_COUNTER_ALARMS_CTLR_BY_IDX(inst, counter_alarm_pha, 0).
#define DT_INST_COUNTER_ALARMS_CELL_BY_IDX(inst, counter_alarm_pha, idx, cell)
 Get a DT_DRV_COMPAT instance's counter alarm specifier's cell value at an index.
#define DT_INST_COUNTER_ALARMS_CELL_BY_NAME(inst, counter_alarm_pha, name, cell)
 Get a DT_DRV_COMPAT instance's counter alarm specifier's cell value by name.
#define DT_INST_COUNTER_ALARMS_CELL(inst, counter_alarm_pha, cell)
 Equivalent to DT_INST_COUNTER_ALARMS_CELL_BY_IDX(inst, counter_alarm_pha, 0, cell).
#define DT_INST_COUNTER_ALARMS_CHANNEL_BY_IDX(inst, counter_alarm_pha, idx)
 Equivalent to DT_INST_COUNTER_ALARMS_CELL_BY_IDX(inst, counter_alarm_pha, idx, channel).
#define DT_INST_COUNTER_ALARMS_CHANNEL_BY_NAME(inst, counter_alarm_pha, name)
 Equivalent to DT_INST_COUNTER_ALARMS_CELL_BY_NAME(inst, counter_alarm_pha, name, channel).
#define DT_INST_COUNTER_ALARMS_CHANNEL(inst, counter_alarm_pha)
 Equivalent to DT_INST_COUNTER_ALARMS_CHANNEL_BY_IDX(inst, counter_alarm_pha, 0).

Detailed Description

Counter alarm Devicetree macro public API header file.