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

Devicetree node dependency ordinals. More...

Go to the source code of this file.

Macros

#define DT_DEP_ORD(node_id)   DT_CAT(node_id, _ORD)
 Get a node's dependency ordinal. More...
 
#define DT_REQUIRES_DEP_ORDS(node_id)   DT_CAT(node_id, _REQUIRES_ORDS)
 Get a list of dependency ordinals of a node's direct dependencies. More...
 
#define DT_SUPPORTS_DEP_ORDS(node_id)   DT_CAT(node_id, _SUPPORTS_ORDS)
 Get a list of dependency ordinals of what depends directly on a node. More...
 
#define DT_INST_DEP_ORD(inst)   DT_DEP_ORD(DT_DRV_INST(inst))
 Get a DT_DRV_COMPAT instance's dependency ordinal. More...
 
#define DT_INST_REQUIRES_DEP_ORDS(inst)   DT_REQUIRES_DEP_ORDS(DT_DRV_INST(inst))
 Get a list of dependency ordinals of a DT_DRV_COMPAT instance's direct dependencies. More...
 
#define DT_INST_SUPPORTS_DEP_ORDS(inst)   DT_SUPPORTS_DEP_ORDS(DT_DRV_INST(inst))
 Get a list of dependency ordinals of what depends directly on a DT_DRV_COMPAT instance. More...
 

Detailed Description

Devicetree node dependency ordinals.