STM32F479xx HAL User Manual
Functions
Initialization and Configuration functions
LTDC Extended Exported Functions

Initialization and Configuration functions. More...

Functions

HAL_StatusTypeDef HAL_LTDCEx_StructInitFromVideoConfig (LTDC_HandleTypeDef *hltdc, DSI_VidCfgTypeDef *VidCfg)
 Retrieve common parameters from DSI Video mode configuration structure.
HAL_StatusTypeDef HAL_LTDCEx_StructInitFromAdaptedCommandConfig (LTDC_HandleTypeDef *hltdc, DSI_CmdCfgTypeDef *CmdCfg)
 Retrieve common parameters from DSI Adapted command mode configuration structure.

Detailed Description

Initialization and Configuration functions.

 ===============================================================================
                ##### Initialization and Configuration functions #####
 ===============================================================================
    [..]  This section provides functions allowing to:
      (+) Initialize and configure the LTDC


Function Documentation

Retrieve common parameters from DSI Adapted command mode configuration structure.

Parameters:
hltdcpointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC.
CmdCfgpointer to a DSI_CmdCfgTypeDef structure that contains the DSI command mode configuration parameters
Note:
The implementation of this function is taking into account the LTDC polarities inversion as described in the current LTDC specification
Return values:
HALstatus

Definition at line 107 of file stm32f4xx_hal_ltdc_ex.c.

References LTDC_InitTypeDef::DEPolarity, DSI_CmdCfgTypeDef::DEPolarity, DSI_DATA_ENABLE_ACTIVE_HIGH, DSI_HSYNC_ACTIVE_HIGH, DSI_VSYNC_ACTIVE_HIGH, LTDC_InitTypeDef::HSPolarity, DSI_CmdCfgTypeDef::HSPolarity, __LTDC_HandleTypeDef::Init, LTDC_DEPOLARITY_AH, LTDC_DEPOLARITY_AL, LTDC_HSPOLARITY_AH, LTDC_HSPOLARITY_AL, LTDC_VSPOLARITY_AH, LTDC_VSPOLARITY_AL, LTDC_InitTypeDef::VSPolarity, and DSI_CmdCfgTypeDef::VSPolarity.

HAL_StatusTypeDef HAL_LTDCEx_StructInitFromVideoConfig ( LTDC_HandleTypeDef hltdc,
DSI_VidCfgTypeDef VidCfg 
)

Retrieve common parameters from DSI Video mode configuration structure.

Parameters:
hltdcpointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC.
VidCfgpointer to a DSI_VidCfgTypeDef structure that contains the DSI video mode configuration parameters
Note:
The implementation of this function is taking into account the LTDC polarities inversion as described in the current LTDC specification
Return values:
HALstatus

Definition at line 71 of file stm32f4xx_hal_ltdc_ex.c.

References LTDC_InitTypeDef::AccumulatedActiveH, LTDC_InitTypeDef::AccumulatedVBP, LTDC_InitTypeDef::DEPolarity, DSI_VidCfgTypeDef::DEPolarity, DSI_DATA_ENABLE_ACTIVE_HIGH, DSI_HSYNC_ACTIVE_HIGH, DSI_VSYNC_ACTIVE_HIGH, LTDC_InitTypeDef::HSPolarity, DSI_VidCfgTypeDef::HSPolarity, __LTDC_HandleTypeDef::Init, LTDC_DEPOLARITY_AH, LTDC_DEPOLARITY_AL, LTDC_HSPOLARITY_AH, LTDC_HSPOLARITY_AL, LTDC_VSPOLARITY_AH, LTDC_VSPOLARITY_AL, LTDC_InitTypeDef::TotalHeigh, DSI_VidCfgTypeDef::VerticalActive, DSI_VidCfgTypeDef::VerticalBackPorch, DSI_VidCfgTypeDef::VerticalFrontPorch, LTDC_InitTypeDef::VerticalSync, DSI_VidCfgTypeDef::VerticalSyncActive, LTDC_InitTypeDef::VSPolarity, and DSI_VidCfgTypeDef::VSPolarity.