Zephyr API Documentation 4.2.0-rc3
A Scalable Open Source RTOS
|
|
4.2.0-rc3 |
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:
Example 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.