STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Peripheral Control functions. More...
Functions | |
HAL_StatusTypeDef | HAL_LTDC_ConfigLayer (LTDC_HandleTypeDef *hltdc, LTDC_LayerCfgTypeDef *pLayerCfg, uint32_t LayerIdx) |
Configure the LTDC Layer according to the specified parameters in the LTDC_InitTypeDef and create the associated handle. | |
HAL_StatusTypeDef | HAL_LTDC_SetWindowSize (LTDC_HandleTypeDef *hltdc, uint32_t XSize, uint32_t YSize, uint32_t LayerIdx) |
Set the LTDC window size. | |
HAL_StatusTypeDef | HAL_LTDC_SetWindowPosition (LTDC_HandleTypeDef *hltdc, uint32_t X0, uint32_t Y0, uint32_t LayerIdx) |
Set the LTDC window position. | |
HAL_StatusTypeDef | HAL_LTDC_SetPixelFormat (LTDC_HandleTypeDef *hltdc, uint32_t Pixelformat, uint32_t LayerIdx) |
Reconfigure the pixel format. | |
HAL_StatusTypeDef | HAL_LTDC_SetAlpha (LTDC_HandleTypeDef *hltdc, uint32_t Alpha, uint32_t LayerIdx) |
Reconfigure the layer alpha value. | |
HAL_StatusTypeDef | HAL_LTDC_SetAddress (LTDC_HandleTypeDef *hltdc, uint32_t Address, uint32_t LayerIdx) |
Reconfigure the frame buffer Address. | |
HAL_StatusTypeDef | HAL_LTDC_SetPitch (LTDC_HandleTypeDef *hltdc, uint32_t LinePitchInPixels, uint32_t LayerIdx) |
Function used to reconfigure the pitch for specific cases where the attached LayerIdx buffer have a width that is larger than the one intended to be displayed on screen. Example of a buffer 800x480 attached to layer for which we want to read and display on screen only a portion 320x240 taken in the center of the buffer. The pitch in pixels will be in that case 800 pixels and not 320 pixels as initially configured by previous call to HAL_LTDC_ConfigLayer(). | |
HAL_StatusTypeDef | HAL_LTDC_ConfigColorKeying (LTDC_HandleTypeDef *hltdc, uint32_t RGBValue, uint32_t LayerIdx) |
Configure the color keying. | |
HAL_StatusTypeDef | HAL_LTDC_ConfigCLUT (LTDC_HandleTypeDef *hltdc, uint32_t *pCLUT, uint32_t CLUTSize, uint32_t LayerIdx) |
Load the color lookup table. | |
HAL_StatusTypeDef | HAL_LTDC_EnableColorKeying (LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx) |
Enable the color keying. | |
HAL_StatusTypeDef | HAL_LTDC_DisableColorKeying (LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx) |
Disable the color keying. | |
HAL_StatusTypeDef | HAL_LTDC_EnableCLUT (LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx) |
Enable the color lookup table. | |
HAL_StatusTypeDef | HAL_LTDC_DisableCLUT (LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx) |
Disable the color lookup table. | |
HAL_StatusTypeDef | HAL_LTDC_ProgramLineEvent (LTDC_HandleTypeDef *hltdc, uint32_t Line) |
Define the position of the line interrupt. | |
HAL_StatusTypeDef | HAL_LTDC_EnableDither (LTDC_HandleTypeDef *hltdc) |
Enable Dither. | |
HAL_StatusTypeDef | HAL_LTDC_DisableDither (LTDC_HandleTypeDef *hltdc) |
Disable Dither. | |
HAL_StatusTypeDef | HAL_LTDC_Reload (LTDC_HandleTypeDef *hltdc, uint32_t ReloadType) |
Reload LTDC Layers configuration. | |
HAL_StatusTypeDef | HAL_LTDC_ConfigLayer_NoReload (LTDC_HandleTypeDef *hltdc, LTDC_LayerCfgTypeDef *pLayerCfg, uint32_t LayerIdx) |
Configure the LTDC Layer according to the specified without reloading parameters in the LTDC_InitTypeDef and create the associated handle. Variant of the function HAL_LTDC_ConfigLayer without immediate reload. | |
HAL_StatusTypeDef | HAL_LTDC_SetWindowSize_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t XSize, uint32_t YSize, uint32_t LayerIdx) |
Set the LTDC window size without reloading. Variant of the function HAL_LTDC_SetWindowSize without immediate reload. | |
HAL_StatusTypeDef | HAL_LTDC_SetWindowPosition_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t X0, uint32_t Y0, uint32_t LayerIdx) |
Set the LTDC window position without reloading. Variant of the function HAL_LTDC_SetWindowPosition without immediate reload. | |
HAL_StatusTypeDef | HAL_LTDC_SetPixelFormat_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t Pixelformat, uint32_t LayerIdx) |
Reconfigure the pixel format without reloading. Variant of the function HAL_LTDC_SetPixelFormat without immediate reload. | |
HAL_StatusTypeDef | HAL_LTDC_SetAlpha_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t Alpha, uint32_t LayerIdx) |
Reconfigure the layer alpha value without reloading. Variant of the function HAL_LTDC_SetAlpha without immediate reload. | |
HAL_StatusTypeDef | HAL_LTDC_SetAddress_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t Address, uint32_t LayerIdx) |
Reconfigure the frame buffer Address without reloading. Variant of the function HAL_LTDC_SetAddress without immediate reload. | |
HAL_StatusTypeDef | HAL_LTDC_SetPitch_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t LinePitchInPixels, uint32_t LayerIdx) |
Function used to reconfigure the pitch for specific cases where the attached LayerIdx buffer have a width that is larger than the one intended to be displayed on screen. Example of a buffer 800x480 attached to layer for which we want to read and display on screen only a portion 320x240 taken in the center of the buffer. The pitch in pixels will be in that case 800 pixels and not 320 pixels as initially configured by previous call to HAL_LTDC_ConfigLayer(). | |
HAL_StatusTypeDef | HAL_LTDC_ConfigColorKeying_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t RGBValue, uint32_t LayerIdx) |
Configure the color keying without reloading. Variant of the function HAL_LTDC_ConfigColorKeying without immediate reload. | |
HAL_StatusTypeDef | HAL_LTDC_EnableColorKeying_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx) |
Enable the color keying without reloading. Variant of the function HAL_LTDC_EnableColorKeying without immediate reload. | |
HAL_StatusTypeDef | HAL_LTDC_DisableColorKeying_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx) |
Disable the color keying without reloading. Variant of the function HAL_LTDC_DisableColorKeying without immediate reload. | |
HAL_StatusTypeDef | HAL_LTDC_EnableCLUT_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx) |
Enable the color lookup table without reloading. Variant of the function HAL_LTDC_EnableCLUT without immediate reload. | |
HAL_StatusTypeDef | HAL_LTDC_DisableCLUT_NoReload (LTDC_HandleTypeDef *hltdc, uint32_t LayerIdx) |
Disable the color lookup table without reloading. Variant of the function HAL_LTDC_DisableCLUT without immediate reload. | |
Peripheral Control functions.
=============================================================================== ##### Peripheral Control functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Configure the LTDC foreground or/and background parameters. (+) Set the active layer. (+) Configure the color keying. (+) Configure the C-LUT. (+) Enable / Disable the color keying. (+) Enable / Disable the C-LUT. (+) Update the layer position. (+) Update the layer size. (+) Update pixel format on the fly. (+) Update transparency on the fly. (+) Update address on the fly.
HAL_StatusTypeDef HAL_LTDC_ConfigLayer | ( | LTDC_HandleTypeDef * | hltdc, |
LTDC_LayerCfgTypeDef * | pLayerCfg, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Configure the LTDC Layer according to the specified parameters in the LTDC_InitTypeDef and create the associated handle.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
pLayerCfg | pointer to a LTDC_LayerCfgTypeDef structure that contains the configuration information for the Layer. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 831 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, LTDC_LayerCfgTypeDef::Alpha, LTDC_LayerCfgTypeDef::Alpha0, assert_param, LTDC_LayerCfgTypeDef::BlendingFactor1, LTDC_LayerCfgTypeDef::BlendingFactor2, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_LayerCfgTypeDef::ImageHeight, LTDC_LayerCfgTypeDef::ImageWidth, LTDC_HandleTypeDef::Instance, IS_LTDC_ALPHA, IS_LTDC_BLENDING_FACTOR1, IS_LTDC_BLENDING_FACTOR2, IS_LTDC_CFBLL, IS_LTDC_CFBLNBR, IS_LTDC_HCONFIGSP, IS_LTDC_HCONFIGST, IS_LTDC_LAYER, IS_LTDC_PIXEL_FORMAT, IS_LTDC_VCONFIGSP, IS_LTDC_VCONFIGST, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), LTDC_LayerCfgTypeDef::PixelFormat, LTDC_HandleTypeDef::State, LTDC_LayerCfgTypeDef::WindowX0, LTDC_LayerCfgTypeDef::WindowX1, LTDC_LayerCfgTypeDef::WindowY0, and LTDC_LayerCfgTypeDef::WindowY1.
HAL_StatusTypeDef HAL_LTDC_SetWindowSize | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | XSize, | ||
uint32_t | YSize, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Set the LTDC window size.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
XSize | LTDC Pixel per line |
YSize | LTDC Line number |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1166 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_LayerCfgTypeDef::ImageHeight, LTDC_LayerCfgTypeDef::ImageWidth, LTDC_HandleTypeDef::Instance, IS_LTDC_CFBLL, IS_LTDC_CFBLNBR, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), LTDC_HandleTypeDef::State, LTDC_LayerCfgTypeDef::WindowX0, LTDC_LayerCfgTypeDef::WindowX1, LTDC_LayerCfgTypeDef::WindowY0, and LTDC_LayerCfgTypeDef::WindowY1.
HAL_StatusTypeDef HAL_LTDC_SetWindowPosition | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | X0, | ||
uint32_t | Y0, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Set the LTDC window position.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
X0 | LTDC window X offset |
Y0 | LTDC window Y offset |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1222 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_LayerCfgTypeDef::ImageHeight, LTDC_LayerCfgTypeDef::ImageWidth, LTDC_HandleTypeDef::Instance, IS_LTDC_CFBLL, IS_LTDC_CFBLNBR, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), LTDC_HandleTypeDef::State, LTDC_LayerCfgTypeDef::WindowX0, LTDC_LayerCfgTypeDef::WindowX1, LTDC_LayerCfgTypeDef::WindowY0, and LTDC_LayerCfgTypeDef::WindowY1.
HAL_StatusTypeDef HAL_LTDC_SetPixelFormat | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | Pixelformat, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Reconfigure the pixel format.
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). |
HAL | status |
Definition at line 1273 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_HandleTypeDef::Instance, IS_LTDC_LAYER, IS_LTDC_PIXEL_FORMAT, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), LTDC_LayerCfgTypeDef::PixelFormat, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_SetAlpha | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | Alpha, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Reconfigure the layer alpha value.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
Alpha | new alpha value. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1318 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, LTDC_LayerCfgTypeDef::Alpha, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_HandleTypeDef::Instance, IS_LTDC_ALPHA, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_SetAddress | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | Address, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Reconfigure the frame buffer Address.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
Address | new address value. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1). |
HAL | status |
Definition at line 1362 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, LTDC_LayerCfgTypeDef::FBStartAdress, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_HandleTypeDef::Instance, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_SetPitch | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | LinePitchInPixels, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Function used to reconfigure the pitch for specific cases where the attached LayerIdx buffer have a width that is larger than the one intended to be displayed on screen. Example of a buffer 800x480 attached to layer for which we want to read and display on screen only a portion 320x240 taken in the center of the buffer. The pitch in pixels will be in that case 800 pixels and not 320 pixels as initially configured by previous call to HAL_LTDC_ConfigLayer().
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
LinePitchInPixels | New line pitch in pixels to configure for LTDC layer 'LayerIdx'. |
LayerIdx | LTDC layer index concerned by the modification of line pitch. |
HAL | status |
Definition at line 1411 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_LAYER, LTDC_PIXEL_FORMAT_AL88, LTDC_PIXEL_FORMAT_ARGB1555, LTDC_PIXEL_FORMAT_ARGB4444, LTDC_PIXEL_FORMAT_ARGB8888, LTDC_PIXEL_FORMAT_RGB565, LTDC_PIXEL_FORMAT_RGB888, LTDC_LayerCfgTypeDef::PixelFormat, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_ConfigColorKeying | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | RGBValue, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Configure the color keying.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
RGBValue | the color key value |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 881 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_HandleTypeDef::Instance, IS_LTDC_LAYER, LTDC_LAYER, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_ConfigCLUT | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t * | pCLUT, | ||
uint32_t | CLUTSize, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Load the color lookup table.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
pCLUT | pointer to the color lookup table address. |
CLUTSize | the color lookup table size. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 919 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_LAYER, LTDC_PIXEL_FORMAT_AL44, LTDC_LayerCfgTypeDef::PixelFormat, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_EnableColorKeying | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Enable the color keying.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 970 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_HandleTypeDef::Instance, IS_LTDC_LAYER, LTDC_LAYER, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_DisableColorKeying | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Disable the color keying.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1005 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_HandleTypeDef::Instance, IS_LTDC_LAYER, LTDC_LAYER, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_EnableCLUT | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Enable the color lookup table.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1040 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_HandleTypeDef::Instance, IS_LTDC_LAYER, LTDC_LAYER, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_DisableCLUT | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Disable the color lookup table.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1075 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_HandleTypeDef::Instance, IS_LTDC_LAYER, LTDC_LAYER, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_ProgramLineEvent | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | Line ) |
#include <stm32f4xx_hal_ltdc.h>
Define the position of the line interrupt.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
Line | Line Interrupt Position. |
HAL | status |
Definition at line 1480 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_LTDC_DISABLE_IT, __HAL_LTDC_ENABLE_IT, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LIPOS, LTDC_IT_LI, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_EnableDither | ( | LTDC_HandleTypeDef * | hltdc | ) |
#include <stm32f4xx_hal_ltdc.h>
Enable Dither.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
HAL | status |
Definition at line 1108 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_DisableDither | ( | LTDC_HandleTypeDef * | hltdc | ) |
#include <stm32f4xx_hal_ltdc.h>
Disable Dither.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
HAL | status |
Definition at line 1135 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_Reload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | ReloadType ) |
#include <stm32f4xx_hal_ltdc.h>
Reload LTDC Layers configuration.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
ReloadType | This parameter can be one of the following values : LTDC_RELOAD_IMMEDIATE : Immediate Reload LTDC_RELOAD_VERTICAL_BLANKING : Reload in the next Vertical Blanking |
HAL | status |
Definition at line 1519 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_LTDC_ENABLE_IT, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_HandleTypeDef::Instance, IS_LTDC_RELOAD, LTDC_IT_RR, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_ConfigLayer_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
LTDC_LayerCfgTypeDef * | pLayerCfg, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Configure the LTDC Layer according to the specified without reloading parameters in the LTDC_InitTypeDef and create the associated handle. Variant of the function HAL_LTDC_ConfigLayer without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
pLayerCfg | pointer to a LTDC_LayerCfgTypeDef structure that contains the configuration information for the Layer. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1558 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, LTDC_LayerCfgTypeDef::Alpha, LTDC_LayerCfgTypeDef::Alpha0, assert_param, LTDC_LayerCfgTypeDef::BlendingFactor1, LTDC_LayerCfgTypeDef::BlendingFactor2, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_LayerCfgTypeDef::ImageHeight, LTDC_LayerCfgTypeDef::ImageWidth, IS_LTDC_ALPHA, IS_LTDC_BLENDING_FACTOR1, IS_LTDC_BLENDING_FACTOR2, IS_LTDC_CFBLL, IS_LTDC_CFBLNBR, IS_LTDC_HCONFIGSP, IS_LTDC_HCONFIGST, IS_LTDC_LAYER, IS_LTDC_PIXEL_FORMAT, IS_LTDC_VCONFIGSP, IS_LTDC_VCONFIGST, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), LTDC_LayerCfgTypeDef::PixelFormat, LTDC_HandleTypeDef::State, LTDC_LayerCfgTypeDef::WindowX0, LTDC_LayerCfgTypeDef::WindowX1, LTDC_LayerCfgTypeDef::WindowY0, and LTDC_LayerCfgTypeDef::WindowY1.
HAL_StatusTypeDef HAL_LTDC_SetWindowSize_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | XSize, | ||
uint32_t | YSize, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Set the LTDC window size without reloading. Variant of the function HAL_LTDC_SetWindowSize without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
XSize | LTDC Pixel per line |
YSize | LTDC Line number |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1608 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_LayerCfgTypeDef::ImageHeight, LTDC_LayerCfgTypeDef::ImageWidth, IS_LTDC_CFBLL, IS_LTDC_CFBLNBR, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), LTDC_HandleTypeDef::State, LTDC_LayerCfgTypeDef::WindowX0, LTDC_LayerCfgTypeDef::WindowX1, LTDC_LayerCfgTypeDef::WindowY0, and LTDC_LayerCfgTypeDef::WindowY1.
HAL_StatusTypeDef HAL_LTDC_SetWindowPosition_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | X0, | ||
uint32_t | Y0, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Set the LTDC window position without reloading. Variant of the function HAL_LTDC_SetWindowPosition without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
X0 | LTDC window X offset |
Y0 | LTDC window Y offset |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1663 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, LTDC_LayerCfgTypeDef::ImageHeight, LTDC_LayerCfgTypeDef::ImageWidth, IS_LTDC_CFBLL, IS_LTDC_CFBLNBR, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), LTDC_HandleTypeDef::State, LTDC_LayerCfgTypeDef::WindowX0, LTDC_LayerCfgTypeDef::WindowX1, LTDC_LayerCfgTypeDef::WindowY0, and LTDC_LayerCfgTypeDef::WindowY1.
HAL_StatusTypeDef HAL_LTDC_SetPixelFormat_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | Pixelformat, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Reconfigure the pixel format without reloading. Variant of the function HAL_LTDC_SetPixelFormat without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDfef 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). |
HAL | status |
Definition at line 1713 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LAYER, IS_LTDC_PIXEL_FORMAT, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), LTDC_LayerCfgTypeDef::PixelFormat, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_SetAlpha_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | Alpha, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Reconfigure the layer alpha value without reloading. Variant of the function HAL_LTDC_SetAlpha without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
Alpha | new alpha value. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1756 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, LTDC_LayerCfgTypeDef::Alpha, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_ALPHA, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_SetAddress_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | Address, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Reconfigure the frame buffer Address without reloading. Variant of the function HAL_LTDC_SetAddress without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
Address | new address value. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1). |
HAL | status |
Definition at line 1799 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, LTDC_LayerCfgTypeDef::FBStartAdress, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_SetConfig(), and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_SetPitch_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | LinePitchInPixels, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Function used to reconfigure the pitch for specific cases where the attached LayerIdx buffer have a width that is larger than the one intended to be displayed on screen. Example of a buffer 800x480 attached to layer for which we want to read and display on screen only a portion 320x240 taken in the center of the buffer. The pitch in pixels will be in that case 800 pixels and not 320 pixels as initially configured by previous call to HAL_LTDC_ConfigLayer().
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
LinePitchInPixels | New line pitch in pixels to configure for LTDC layer 'LayerIdx'. |
LayerIdx | LTDC layer index concerned by the modification of line pitch. |
HAL | status |
Definition at line 1846 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LAYER, LTDC_HandleTypeDef::LayerCfg, LTDC_LAYER, LTDC_PIXEL_FORMAT_AL88, LTDC_PIXEL_FORMAT_ARGB1555, LTDC_PIXEL_FORMAT_ARGB4444, LTDC_PIXEL_FORMAT_ARGB8888, LTDC_PIXEL_FORMAT_RGB565, LTDC_PIXEL_FORMAT_RGB888, LTDC_LayerCfgTypeDef::PixelFormat, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_ConfigColorKeying_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | RGBValue, | ||
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Configure the color keying without reloading. Variant of the function HAL_LTDC_ConfigColorKeying without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
RGBValue | the color key value |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1913 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LAYER, LTDC_LAYER, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_EnableColorKeying_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Enable the color keying without reloading. Variant of the function HAL_LTDC_EnableColorKeying without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1947 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LAYER, LTDC_LAYER, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_DisableColorKeying_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Disable the color keying without reloading. Variant of the function HAL_LTDC_DisableColorKeying without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 1980 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LAYER, LTDC_LAYER, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_EnableCLUT_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Enable the color lookup table without reloading. Variant of the function HAL_LTDC_EnableCLUT without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 2013 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LAYER, LTDC_LAYER, and LTDC_HandleTypeDef::State.
HAL_StatusTypeDef HAL_LTDC_DisableCLUT_NoReload | ( | LTDC_HandleTypeDef * | hltdc, |
uint32_t | LayerIdx ) |
#include <stm32f4xx_hal_ltdc.h>
Disable the color lookup table without reloading. Variant of the function HAL_LTDC_DisableCLUT without immediate reload.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
LayerIdx | LTDC Layer index. This parameter can be one of the following values: LTDC_LAYER_1 (0) or LTDC_LAYER_2 (1) |
HAL | status |
Definition at line 2046 of file stm32f4xx_hal_ltdc.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_OK, IS_LTDC_LAYER, LTDC_LAYER, and LTDC_HandleTypeDef::State.