|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
12#ifndef ZEPHYR_INCLUDE_DEVICETREE_IO_CHANNELS_H_
13#define ZEPHYR_INCLUDE_DEVICETREE_IO_CHANNELS_H_
50#define DT_IO_CHANNELS_CTLR_BY_IDX(node_id, idx) \
51 DT_PHANDLE_BY_IDX(node_id, io_channels, idx)
79#define DT_IO_CHANNELS_CTLR_BY_NAME(node_id, name) \
80 DT_PHANDLE_BY_NAME(node_id, io_channels, name)
89#define DT_IO_CHANNELS_CTLR(node_id) DT_IO_CHANNELS_CTLR_BY_IDX(node_id, 0)
100#define DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, idx) \
101 DT_IO_CHANNELS_CTLR_BY_IDX(DT_DRV_INST(inst), idx)
112#define DT_INST_IO_CHANNELS_CTLR_BY_NAME(inst, name) \
113 DT_IO_CHANNELS_CTLR_BY_NAME(DT_DRV_INST(inst), name)
122#define DT_INST_IO_CHANNELS_CTLR(inst) DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, 0)
161#define DT_IO_CHANNELS_INPUT_BY_IDX(node_id, idx) \
162 DT_PHA_BY_IDX(node_id, io_channels, idx, input)
203#define DT_IO_CHANNELS_INPUT_BY_NAME(node_id, name) \
204 DT_PHA_BY_NAME(node_id, io_channels, name, input)
211#define DT_IO_CHANNELS_INPUT(node_id) DT_IO_CHANNELS_INPUT_BY_IDX(node_id, 0)
221#define DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, idx) \
222 DT_IO_CHANNELS_INPUT_BY_IDX(DT_DRV_INST(inst), idx)
233#define DT_INST_IO_CHANNELS_INPUT_BY_NAME(inst, name) \
234 DT_IO_CHANNELS_INPUT_BY_NAME(DT_DRV_INST(inst), name)
241#define DT_INST_IO_CHANNELS_INPUT(inst) DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, 0)