Zephyr Project API
4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
display.h
Go to the documentation of this file.
1
6
/*
7
* Copyright (c) 2025 Abderrahmane JARMOUNI
8
*
9
* SPDX-License-Identifier: Apache-2.0
10
*/
11
12
#ifndef ZEPHYR_INCLUDE_DEVICETREE_DISPLAY_H_
13
#define ZEPHYR_INCLUDE_DEVICETREE_DISPLAY_H_
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
59
#define DT_ZEPHYR_DISPLAY(idx) \
60
DT_PHANDLE_BY_IDX(DT_COMPAT_GET_ANY_STATUS_OKAY(zephyr_displays), displays, idx)
61
68
#define DT_ZEPHYR_DISPLAYS_COUNT \
69
COND_CODE_1(DT_HAS_COMPAT_STATUS_OKAY(zephyr_displays), \
70
(DT_PROP_LEN(DT_COMPAT_GET_ANY_STATUS_OKAY(zephyr_displays), displays)), \
71
(DT_HAS_CHOSEN(zephyr_display)))
76
#ifdef __cplusplus
77
}
78
#endif
79
80
#endif
/* ZEPHYR_INCLUDE_DEVICETREE_DMAS_H_ */
include
zephyr
devicetree
display.h
Generated on Fri Jun 6 2025 09:22:10 for Zephyr Project API by
1.9.8