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   * Copyright (c) 2017 STMicroelectronics.
10   * All rights reserved.
11   *
12   * This software is licensed under terms that can be found in the LICENSE file
13   * in the root directory of this software component.
14   * If no LICENSE file comes with this software, it is provided AS-IS.
15   *
16   ******************************************************************************
17   */
18 
19 /* Define to prevent recursive inclusion -------------------------------------*/
20 #ifndef STM32L4xx_HAL_LTDC_EX_H
21 #define STM32L4xx_HAL_LTDC_EX_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 /* Includes ------------------------------------------------------------------*/
28 #include "stm32l4xx_hal_def.h"
29 
30 #if defined (LTDC) && defined (DSI)
31 
32 #include "stm32l4xx_hal_dsi.h"
33 
34 /** @addtogroup STM32L4xx_HAL_Driver
35   * @{
36   */
37 
38 /** @addtogroup LTDCEx
39   * @{
40   */
41 
42 /* Exported types ------------------------------------------------------------*/
43 /* Exported constants --------------------------------------------------------*/
44 /* Exported macro ------------------------------------------------------------*/
45 /* Exported functions --------------------------------------------------------*/
46 /** @addtogroup LTDCEx_Exported_Functions
47   * @{
48   */
49 
50 /** @addtogroup LTDCEx_Exported_Functions_Group1
51   * @{
52   */
53 HAL_StatusTypeDef HAL_LTDCEx_StructInitFromVideoConfig(LTDC_HandleTypeDef *hltdc, DSI_VidCfgTypeDef *VidCfg);
54 HAL_StatusTypeDef HAL_LTDCEx_StructInitFromAdaptedCommandConfig(LTDC_HandleTypeDef *hltdc, DSI_CmdCfgTypeDef *CmdCfg);
55 /**
56   * @}
57   */
58 
59 /**
60   * @}
61   */
62 
63 /* Private types -------------------------------------------------------------*/
64 /* Private variables ---------------------------------------------------------*/
65 /* Private constants ---------------------------------------------------------*/
66 /* Private macros ------------------------------------------------------------*/
67 /* Private functions ---------------------------------------------------------*/
68 
69 /**
70   * @}
71   */
72 
73 /**
74   * @}
75   */
76 
77 #endif /* LTDC && DSI */
78 
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif /* STM32L4xx_HAL_LTDC_EX_H */
84