File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
include/dt-bindings/display Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2022 Byte-Lab d.o.o. <[email protected] > 3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+ #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_DISPLAY_STM32_LTDC_H_
7+ #define ZEPHYR_INCLUDE_DT_BINDINGS_DISPLAY_STM32_LTDC_H_
8+
9+ /* Horizontal synchronization pulse polarity */
10+ #define STM32_LTDC_HSPOL_ACTIVE_LOW 0x00000000
11+ #define STM32_LTDC_HSPOL_ACTIVE_HIGH 0x80000000
12+
13+ /* Vertical synchronization pulse polarity */
14+ #define STM32_LTDC_VSPOL_ACTIVE_LOW 0x00000000
15+ #define STM32_LTDC_VSPOL_ACTIVE_HIGH 0x40000000
16+
17+ /* Data enable pulse polarity */
18+ #define STM32_LTDC_DEPOL_ACTIVE_LOW 0x00000000
19+ #define STM32_LTDC_DEPOL_ACTIVE_HIGH 0x20000000
20+
21+ /* Pixel clock polarity */
22+ #define STM32_LTDC_PCPOL_ACTIVE_LOW 0x00000000
23+ #define STM32_LTDC_PCPOL_ACTIVE_HIGH 0x10000000
24+
25+ #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_DISPLAY_STM32_LTDC_H_ */
You can’t perform that action at this time.
0 commit comments