HAL
HAL_LTDC_SetPixelFormat() is only used within HAL.
 
Symbols
loading...
Files
loading...

HAL_LTDC_SetPixelFormat() function

Reconfigure the pixel format.

Syntax

HAL_StatusTypeDef HAL_LTDC_SetPixelFormat(LTDC_HandleTypeDef *hltdc,     uint32_t Pixelformat,     uint32_t LayerIdx);
Implemented in stm32f4xx_hal_ltdc.c:1273

Arguments

hltdc

pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC.

Pixelformat

new pixel format value.

LayerIdx

LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1).

Return value

HAL status

References

LocationText
stm32f4xx_hal_ltdc.c:1273
HAL_StatusTypeDef HAL_LTDC_SetPixelFormat(LTDC_HandleTypeDef *hltdc, uint32_t Pixelformat, uint32_t LayerIdx)
stm32f4xx_hal_ltdc.h:590
HAL_StatusTypeDef HAL_LTDC_SetPixelFormat(LTDC_HandleTypeDef *hltdc, uint32_t Pixelformat, uint32_t LayerIdx);

Call Tree

Functions called by HAL_LTDC_SetPixelFormat()
HAL_LTDC_SetPixelFormat()
assert_failed()
all items filtered out
Type of HAL_LTDC_SetPixelFormat()
HAL_LTDC_SetPixelFormat()