Zephyr API 3.6.99
|
Macros | |
#define | DT_CHOSEN(prop) |
Get a node identifier for a /chosen node property. | |
#define | DT_HAS_CHOSEN(prop) |
Test if the devicetree has a /chosen node. | |
#define DT_CHOSEN | ( | prop | ) |
#include <zephyr/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 | ) |
#include <zephyr/devicetree.h>
Test if the devicetree has a /chosen
node.
prop | lowercase-and-underscores devicetree property |