STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Initialization and Configuration functions. More...
Functions | |
HAL_StatusTypeDef | HAL_LTDC_Init (LTDC_HandleTypeDef *hltdc) |
Initialize the LTDC according to the specified parameters in the LTDC_InitTypeDef. | |
HAL_StatusTypeDef | HAL_LTDC_DeInit (LTDC_HandleTypeDef *hltdc) |
De-initialize the LTDC peripheral. | |
void | HAL_LTDC_MspInit (LTDC_HandleTypeDef *hltdc) |
Initialize the LTDC MSP. | |
void | HAL_LTDC_MspDeInit (LTDC_HandleTypeDef *hltdc) |
De-initialize the LTDC MSP. | |
void | HAL_LTDC_ErrorCallback (LTDC_HandleTypeDef *hltdc) |
Error LTDC callback. | |
void | HAL_LTDC_LineEventCallback (LTDC_HandleTypeDef *hltdc) |
Line Event callback. | |
void | HAL_LTDC_ReloadEventCallback (LTDC_HandleTypeDef *hltdc) |
Reload Event callback. | |
Initialization and Configuration functions.
=============================================================================== ##### Initialization and Configuration functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Initialize and configure the LTDC (+) De-initialize the LTDC
HAL_StatusTypeDef HAL_LTDC_Init | ( | LTDC_HandleTypeDef * | hltdc | ) |
#include <stm32f4xx_hal_ltdc.h>
Initialize the LTDC according to the specified parameters in the LTDC_InitTypeDef.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
HAL | status |
Definition at line 219 of file stm32f4xx_hal_ltdc.c.
References __HAL_LTDC_ENABLE, __HAL_LTDC_ENABLE_IT, LTDC_InitTypeDef::AccumulatedActiveH, LTDC_InitTypeDef::AccumulatedActiveW, LTDC_InitTypeDef::AccumulatedHBP, LTDC_InitTypeDef::AccumulatedVBP, assert_param, LTDC_InitTypeDef::Backcolor, LTDC_ColorTypeDef::Blue, LTDC_InitTypeDef::DEPolarity, LTDC_HandleTypeDef::ErrorCode, LTDC_ColorTypeDef::Green, HAL_ERROR, HAL_LTDC_ERROR_NONE, HAL_LTDC_ErrorCallback(), HAL_LTDC_LineEventCallback(), HAL_LTDC_MspInit(), HAL_LTDC_ReloadEventCallback(), HAL_LTDC_STATE_BUSY, HAL_LTDC_STATE_READY, HAL_LTDC_STATE_RESET, HAL_OK, HAL_UNLOCKED, LTDC_InitTypeDef::HorizontalSync, LTDC_InitTypeDef::HSPolarity, LTDC_HandleTypeDef::Init, LTDC_HandleTypeDef::Instance, IS_LTDC_AAH, IS_LTDC_AAW, IS_LTDC_AHBP, IS_LTDC_AVBP, IS_LTDC_DEPOL, IS_LTDC_HSPOL, IS_LTDC_HSYNC, IS_LTDC_PCPOL, IS_LTDC_TOTALH, IS_LTDC_TOTALW, IS_LTDC_VSPOL, IS_LTDC_VSYNC, LTDC_HandleTypeDef::Lock, LTDC_IT_FU, LTDC_IT_TE, LTDC_InitTypeDef::PCPolarity, LTDC_ColorTypeDef::Red, LTDC_HandleTypeDef::State, LTDC_InitTypeDef::TotalHeigh, LTDC_InitTypeDef::TotalWidth, LTDC_InitTypeDef::VerticalSync, and LTDC_InitTypeDef::VSPolarity.
HAL_StatusTypeDef HAL_LTDC_DeInit | ( | LTDC_HandleTypeDef * | hltdc | ) |
#include <stm32f4xx_hal_ltdc.h>
De-initialize the LTDC peripheral.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
None |
Definition at line 329 of file stm32f4xx_hal_ltdc.c.
References __HAL_LTDC_DISABLE, __HAL_LTDC_LAYER_DISABLE, __HAL_LTDC_VERTICAL_BLANKING_RELOAD_CONFIG, __HAL_UNLOCK, assert_param, LTDC_HandleTypeDef::ErrorCode, HAL_ERROR, HAL_GetTick(), HAL_LTDC_ERROR_NONE, HAL_LTDC_MspDeInit(), HAL_LTDC_STATE_RESET, HAL_OK, LTDC_HandleTypeDef::Instance, LTDC_LAYER_1, LTDC_LAYER_2, LTDC_TIMEOUT_VALUE, and LTDC_HandleTypeDef::State.
__weak void HAL_LTDC_MspInit | ( | LTDC_HandleTypeDef * | hltdc | ) |
#include <stm32f4xx_hal_ltdc.h>
Initialize the LTDC MSP.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
None |
Definition at line 399 of file stm32f4xx_hal_ltdc.c.
References UNUSED.
Referenced by HAL_LTDC_Init().
__weak void HAL_LTDC_MspDeInit | ( | LTDC_HandleTypeDef * | hltdc | ) |
#include <stm32f4xx_hal_ltdc.h>
De-initialize the LTDC MSP.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
None |
Definition at line 415 of file stm32f4xx_hal_ltdc.c.
References UNUSED.
Referenced by HAL_LTDC_DeInit().
void HAL_LTDC_ErrorCallback | ( | LTDC_HandleTypeDef * | hltdc | ) |
#include <stm32f4xx_hal_ltdc.h>
Error LTDC callback.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
None |
Definition at line 749 of file stm32f4xx_hal_ltdc.c.
References UNUSED.
Referenced by HAL_LTDC_Init(), and HAL_LTDC_IRQHandler().
void HAL_LTDC_LineEventCallback | ( | LTDC_HandleTypeDef * | hltdc | ) |
#include <stm32f4xx_hal_ltdc.h>
Line Event callback.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
None |
Definition at line 765 of file stm32f4xx_hal_ltdc.c.
References UNUSED.
Referenced by HAL_LTDC_Init(), and HAL_LTDC_IRQHandler().
void HAL_LTDC_ReloadEventCallback | ( | LTDC_HandleTypeDef * | hltdc | ) |
#include <stm32f4xx_hal_ltdc.h>
Reload Event callback.
hltdc | pointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC. |
None |
Definition at line 781 of file stm32f4xx_hal_ltdc.c.
References UNUSED.
Referenced by HAL_LTDC_Init(), and HAL_LTDC_IRQHandler().