STM32L4xx_HAL_Driver  1.14.0
Peripheral State and Errors functions

Peripheral State and Errors functions. More...

Functions

HAL_LTDC_StateTypeDef HAL_LTDC_GetState (LTDC_HandleTypeDef *hltdc)
 Return the LTDC handle state. More...
 
uint32_t HAL_LTDC_GetError (LTDC_HandleTypeDef *hltdc)
 Return the LTDC handle error code. More...
 

Detailed Description

Peripheral State and Errors functions.

 ===============================================================================
                  ##### Peripheral State and Errors functions #####
 ===============================================================================
    [..]
    This subsection provides functions allowing to
      (+) Check the LTDC handle state.
      (+) Get the LTDC handle error code.

Function Documentation

◆ HAL_LTDC_GetError()

uint32_t HAL_LTDC_GetError ( LTDC_HandleTypeDef hltdc)

Return the LTDC handle error code.

Parameters
hltdcpointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC.
Return values
LTDCError Code

Definition at line 2050 of file stm32l4xx_hal_ltdc.c.

2051 {
2052  return hltdc->ErrorCode;
2053 }

◆ HAL_LTDC_GetState()

HAL_LTDC_StateTypeDef HAL_LTDC_GetState ( LTDC_HandleTypeDef hltdc)

Return the LTDC handle state.

Parameters
hltdcpointer to a LTDC_HandleTypeDef structure that contains the configuration information for the LTDC.
Return values
HALstate

Definition at line 2039 of file stm32l4xx_hal_ltdc.c.

2040 {
2041  return hltdc->State;
2042 }