Zephyr Project API
3.3.0
A Scalable Open Source RTOS
stm32_ltdc.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com>
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_ */
include
zephyr
dt-bindings
display
stm32_ltdc.h
Generated on Fri Jun 9 2023 14:55:11 for Zephyr Project API by
1.9.2