Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
io-channels.h File Reference

IO channels devicetree macro public API header file. More...

Go to the source code of this file.

Macros

#define DT_IO_CHANNELS_LABEL_BY_IDX(node_id, idx)
 Get a label property from the node referenced by an io-channels property at an index. More...
 
#define DT_IO_CHANNELS_LABEL_BY_NAME(node_id, name)
 Get a label property from an io-channels property by name. More...
 
#define DT_IO_CHANNELS_LABEL(node_id)    __DEPRECATED_MACRO DT_IO_CHANNELS_LABEL_BY_IDX(node_id, 0)
 Equivalent to DT_IO_CHANNELS_LABEL_BY_IDX(node_id, 0) More...
 
#define DT_IO_CHANNELS_CTLR_BY_IDX(node_id, idx)    DT_PHANDLE_BY_IDX(node_id, io_channels, idx)
 Get the node identifier for the node referenced by an io-channels property at an index. More...
 
#define DT_IO_CHANNELS_CTLR_BY_NAME(node_id, name)    DT_PHANDLE_BY_NAME(node_id, io_channels, name)
 Get the node identifier for the node referenced by an io-channels property by name. More...
 
#define DT_IO_CHANNELS_CTLR(node_id)   DT_IO_CHANNELS_CTLR_BY_IDX(node_id, 0)
 Equivalent to DT_IO_CHANNELS_CTLR_BY_IDX(node_id, 0) More...
 
#define DT_INST_IO_CHANNELS_LABEL_BY_IDX(inst, idx)
 Get a label property from a DT_DRV_COMPAT instance's io-channels property at an index. More...
 
#define DT_INST_IO_CHANNELS_LABEL_BY_NAME(inst, name)
 Get a label property from a DT_DRV_COMPAT instance's io-channels property by name. More...
 
#define DT_INST_IO_CHANNELS_LABEL(inst)    __DEPRECATED_MACRO DT_INST_IO_CHANNELS_LABEL_BY_IDX(inst, 0)
 Equivalent to DT_INST_IO_CHANNELS_LABEL_BY_IDX(inst, 0) More...
 
#define DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, idx)    DT_IO_CHANNELS_CTLR_BY_IDX(DT_DRV_INST(inst), idx)
 Get the node identifier from a DT_DRV_COMPAT instance's io-channels property at an index. More...
 
#define DT_INST_IO_CHANNELS_CTLR_BY_NAME(inst, name)    DT_IO_CHANNELS_CTLR_BY_NAME(DT_DRV_INST(inst), name)
 Get the node identifier from a DT_DRV_COMPAT instance's io-channels property by name. More...
 
#define DT_INST_IO_CHANNELS_CTLR(inst)   DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, 0)
 Equivalent to DT_INST_IO_CHANNELS_CTLR_BY_IDX(inst, 0) More...
 
#define DT_IO_CHANNELS_INPUT_BY_IDX(node_id, idx)    DT_PHA_BY_IDX(node_id, io_channels, idx, input)
 Get an io-channels specifier input cell at an index. More...
 
#define DT_IO_CHANNELS_INPUT_BY_NAME(node_id, name)    DT_PHA_BY_NAME(node_id, io_channels, name, input)
 Get an io-channels specifier input cell by name. More...
 
#define DT_IO_CHANNELS_INPUT(node_id)   DT_IO_CHANNELS_INPUT_BY_IDX(node_id, 0)
 Equivalent to DT_IO_CHANNELS_INPUT_BY_IDX(node_id, 0) More...
 
#define DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, idx)    DT_IO_CHANNELS_INPUT_BY_IDX(DT_DRV_INST(inst), idx)
 Get an input cell from the "DT_DRV_INST(inst)" io-channels property at an index. More...
 
#define DT_INST_IO_CHANNELS_INPUT_BY_NAME(inst, name)    DT_IO_CHANNELS_INPUT_BY_NAME(DT_DRV_INST(inst), name)
 Get an input cell from the "DT_DRV_INST(inst)" io-channels property by name. More...
 
#define DT_INST_IO_CHANNELS_INPUT(inst)   DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, 0)
 Equivalent to DT_INST_IO_CHANNELS_INPUT_BY_IDX(inst, 0) More...
 

Detailed Description

IO channels devicetree macro public API header file.