STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Initialization and Configuration functions

Initialization and Configuration functions. More...

Collaboration diagram for Initialization and Configuration functions:

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

◆ HAL_LTDCEx_StructInitFromVideoConfig()

HAL_StatusTypeDef HAL_LTDCEx_StructInitFromVideoConfig ( LTDC_HandleTypeDef * hltdc,
DSI_VidCfgTypeDef * VidCfg )

#include <stm32f4xx_hal_ltdc_ex.h>

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 70 of file stm32f4xx_hal_ltdc_ex.c.

References LTDC_InitTypeDef::AccumulatedActiveH, LTDC_InitTypeDef::AccumulatedVBP, DSI_VidCfgTypeDef::DEPolarity, LTDC_InitTypeDef::DEPolarity, DSI_DATA_ENABLE_ACTIVE_HIGH, DSI_HSYNC_ACTIVE_HIGH, DSI_VSYNC_ACTIVE_HIGH, HAL_OK, DSI_VidCfgTypeDef::HSPolarity, LTDC_InitTypeDef::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, DSI_VidCfgTypeDef::VSPolarity, and LTDC_InitTypeDef::VSPolarity.

◆ HAL_LTDCEx_StructInitFromAdaptedCommandConfig()

HAL_StatusTypeDef HAL_LTDCEx_StructInitFromAdaptedCommandConfig ( LTDC_HandleTypeDef * hltdc,
DSI_CmdCfgTypeDef * CmdCfg )

#include <stm32f4xx_hal_ltdc_ex.h>

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 111 of file stm32f4xx_hal_ltdc_ex.c.

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