27 #if defined(HAL_LTDC_MODULE_ENABLED) && defined(HAL_DSI_MODULE_ENABLED) 29 #if defined (LTDC) && defined (DSI) 79 hltdc->Init.DEPolarity = (VidCfg->
DEPolarity == DSI_DATA_ENABLE_ACTIVE_HIGH) ? LTDC_DEPOLARITY_AL : LTDC_DEPOLARITY_AH;
80 hltdc->Init.VSPolarity = (VidCfg->
VSPolarity == DSI_VSYNC_ACTIVE_HIGH) ? LTDC_VSPOLARITY_AH : LTDC_VSPOLARITY_AL;
81 hltdc->Init.HSPolarity = (VidCfg->
HSPolarity == DSI_HSYNC_ACTIVE_HIGH) ? LTDC_HSPOLARITY_AH : LTDC_HSPOLARITY_AL;
117 hltdc->Init.DEPolarity = (CmdCfg->
DEPolarity == DSI_DATA_ENABLE_ACTIVE_HIGH) ? LTDC_DEPOLARITY_AL : LTDC_DEPOLARITY_AH;
118 hltdc->Init.VSPolarity = (CmdCfg->
VSPolarity == DSI_VSYNC_ACTIVE_HIGH) ? LTDC_VSPOLARITY_AL : LTDC_VSPOLARITY_AH;
119 hltdc->Init.HSPolarity = (CmdCfg->
HSPolarity == DSI_HSYNC_ACTIVE_HIGH) ? LTDC_HSPOLARITY_AL : LTDC_HSPOLARITY_AH;
HAL_StatusTypeDef HAL_LTDCEx_StructInitFromAdaptedCommandConfig(LTDC_HandleTypeDef *hltdc, DSI_CmdCfgTypeDef *CmdCfg)
Retrieve common parameters from DSI Adapted command mode configuration structure. ...
uint32_t VerticalFrontPorch
DSI Adapted command mode configuration.
This file contains all the functions prototypes for the HAL module driver.
uint32_t VerticalSyncActive
DSI Video mode configuration.
struct __LTDC_HandleTypeDef else typedef struct endif LTDC_HandleTypeDef
LTDC handle Structure definition.
HAL_StatusTypeDef HAL_LTDCEx_StructInitFromVideoConfig(LTDC_HandleTypeDef *hltdc, DSI_VidCfgTypeDef *VidCfg)
Retrieve common parameters from DSI Video mode configuration structure.
uint32_t VerticalBackPorch