xref: /btstack/port/stm32-l451-miromico-sx1280/Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_ltdc_ex.h (revision 2fd737d36a1de5d778cacc671d4b4d8c4f3fed82)
1 /**
2   ******************************************************************************
3   * @file    stm32l4xx_hal_ltdc_ex.h
4   * @author  MCD Application Team
5   * @brief   Header file of LTDC HAL Extension module.
6   ******************************************************************************
7   * @attention
8   *
9   * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
10   * All rights reserved.</center></h2>
11   *
12   * This software component is licensed by ST under BSD 3-Clause license,
13   * the "License"; You may not use this file except in compliance with the
14   * License. You may obtain a copy of the License at:
15   *                        opensource.org/licenses/BSD-3-Clause
16   *
17   ******************************************************************************
18   */
19 
20 /* Define to prevent recursive inclusion -------------------------------------*/
21 #ifndef STM32L4xx_HAL_LTDC_EX_H
22 #define STM32L4xx_HAL_LTDC_EX_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 /* Includes ------------------------------------------------------------------*/
29 #include "stm32l4xx_hal_def.h"
30 
31 #if defined (LTDC) && defined (DSI)
32 
33 #include "stm32l4xx_hal_dsi.h"
34 
35 /** @addtogroup STM32L4xx_HAL_Driver
36   * @{
37   */
38 
39 /** @addtogroup LTDCEx
40   * @{
41   */
42 
43 /* Exported types ------------------------------------------------------------*/
44 /* Exported constants --------------------------------------------------------*/
45 /* Exported macro ------------------------------------------------------------*/
46 /* Exported functions --------------------------------------------------------*/
47 /** @addtogroup LTDCEx_Exported_Functions
48   * @{
49   */
50 
51 /** @addtogroup LTDCEx_Exported_Functions_Group1
52   * @{
53   */
54 HAL_StatusTypeDef HAL_LTDCEx_StructInitFromVideoConfig(LTDC_HandleTypeDef *hltdc, DSI_VidCfgTypeDef *VidCfg);
55 HAL_StatusTypeDef HAL_LTDCEx_StructInitFromAdaptedCommandConfig(LTDC_HandleTypeDef *hltdc, DSI_CmdCfgTypeDef *CmdCfg);
56 /**
57   * @}
58   */
59 
60 /**
61   * @}
62   */
63 
64 /* Private types -------------------------------------------------------------*/
65 /* Private variables ---------------------------------------------------------*/
66 /* Private constants ---------------------------------------------------------*/
67 /* Private macros ------------------------------------------------------------*/
68 /* Private functions ---------------------------------------------------------*/
69 
70 /**
71   * @}
72   */
73 
74 /**
75   * @}
76   */
77 
78 #endif /* LTDC && DSI */
79 
80 #ifdef __cplusplus
81 }
82 #endif
83 
84 #endif /* STM32L4xx_HAL_LTDC_EX_H */
85 
86 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
87