Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Macros | |
#define | DT_CHOSEN(prop) DT_CAT(DT_CHOSEN_, prop) |
Get a node identifier for a /chosen node property. More... | |
#define | DT_HAS_CHOSEN(prop) IS_ENABLED(DT_CHOSEN_##prop##_EXISTS) |
Test if the devicetree has a /chosen node. More... | |
#define DT_CHOSEN | ( | prop | ) | DT_CAT(DT_CHOSEN_, prop) |
#include <include/devicetree.h>
Get a node identifier for a /chosen node property.
This is only valid to call if DT_HAS_CHOSEN(prop) is 1.
prop | lowercase-and-underscores property name for the /chosen node |
#define DT_HAS_CHOSEN | ( | prop | ) | IS_ENABLED(DT_CHOSEN_##prop##_EXISTS) |
#include <include/devicetree.h>
Test if the devicetree has a /chosen node.
prop | lowercase-and-underscores devicetree property |