Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
|
4.1.99 |
Macros | |
#define | DT_ZEPHYR_DISPLAY(idx) |
Get display node identifier by logical index from "displays" property of node with compatible "zephyr,displays". | |
#define | DT_ZEPHYR_DISPLAYS_COUNT |
Get number of zephyr displays. | |
#define DT_ZEPHYR_DISPLAY | ( | idx | ) |
#include <zephyr/devicetree/display.h>
Get display node identifier by logical index from "displays" property of node with compatible "zephyr,displays".
Example devicetree fragment:
Above, displays property has two elements:
&n2
, which is node-2
's phandle&n3
, which is node-3
's phandleExample usage:
idx | logical index of display node's phandle in "displays" property |
#define DT_ZEPHYR_DISPLAYS_COUNT |
#include <zephyr/devicetree/display.h>
Get number of zephyr displays.